GAF Library
Generic Animation Format
 All Classes Functions Pages
Public Member Functions | List of all members
GAFFramePlayedDelegate Class Referenceabstract

#include <GAFDelegates.h>

Public Member Functions

virtual void onFramePlayed (GAFAnimatedObject *object, int frame)=0

Detailed Description

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

Member Function Documentation

virtual void GAFFramePlayedDelegate::onFramePlayed ( GAFAnimatedObject object,
int  frame 
pure virtual

Callback function, called by GAF.

object- selected animated object
frame- frame number that is just played

The documentation for this class was generated from the following file: