#include <nnsys/g2d/g2d_MultiCellAnimation.h>
void NNS_G2dSetMCAnimationCurrentFrame
(
NNSG2dMultiCellAnimation* pMultiCellAnim,
u16 frameIndex
);
| pMultiCellAnim | [OUT] Multicell animation |
| frameIndex | [IN] Animation frame number |
None.
Sets the play animation frame of the multicell animation. No action will occur if an invalid index is specified.
Note:
If a STOP-method animation sequence has played to the end, the animation controller is set to the Stop state.
Because of this, you will need to call NNS_G2dStartAnimCtrl() for the animation controller of that mutli-cell animation to update the animation again.
To get the animation controller of that cell animation, use the NNS_G2dGetMCAnimAnimCtrl() function.
The NNS_G2dStartMCCellAnimationAll() function is available for calling NNS_G2dStartAnimCtrl() for all of the cell animations that comprise the mutli-cell animation.
To restart the animation from the beginning, use the NNS_G2dRestartMCAnimation() function.
NNS_G2dSetAnimCtrlCurrentFrameNNS_G2dSetMCAnimationCellAnimFrameNNS_G2dGetMCAnimAnimCtrlNNS_G2dStartAnimCtrlNNS_G2dStartMCCellAnimationAllNNS_G2dRestartMCAnimation
2006/05/29 Added a warning note.
2004/05/28 Initial version.
CONFIDENTIAL