#include <GAFDelegates.h>
You can get notification when particular frame of any GAFAnimatedObject is played. To do this you have to inherit GAFFramePlayedDelegate and call setFramePlayedDelegate method of your GAFAnimatedObject
virtual void GAFFramePlayedDelegate::onFramePlayed |
( |
GAFAnimatedObject * |
object, |
|
|
int |
frame |
|
) |
| |
|
pure virtual |
Callback function, called by GAF.
- Parameters
-
object | - selected animated object |
frame | - frame number that is just played |
The documentation for this class was generated from the following file: