#include <nnsys/g2d/g2d_Animation.h>
void NNS_G2dSetAnimCtrlCallBackFunctorAtAnimFrame(
NNSG2dAnimController* pAnimCtrl,
u32 param,
NNSG2dAnmCallBackPtr pFunc
u16 frameIdx );
pAnimCtrl |
[OUT] NNSG2dAnimController entity |
param |
[IN] u32 data used as a callback function argument |
pFunc |
[IN] Pointer to callback function |
frameIdx |
[IN] Index of AnimFrame that calls the callback |
None.
Sets the callback to the animation controller. The callback can register only one type to each controller entity. Each time the playback frame changes, the index of the new playback frame is compared with frameIdx
. If they are identical, the callback is called.
This is the renamed version of NNS_G2dSetCallBackFunctorAtAnimFrame
. The previous function name remains as a separate name.
NNS_G2dSetCallBackFunctorAtAnimFrame
NNS_G2dSetAnimCtrlCallBackFunctor
2004/08/02 Renamed function.
2004/05/28 Initial version.
CONFIDENTIAL