#include <nnsys/g2d/g2d_CellAnimation.h>
void NNS_G2dSetCellAnimationCurrentFrame
(
NNSG2dCellAnimation* pCellAnim,
u16 frameIndex
)
pCellAnim |
[OUT] Cell animation |
frameIndex |
[IN] Playback animation frame number |
None.
Sets the playback animation frame. Does not perform any actions if an invalid number is input.
Note: If a STOP-method animation sequence plays 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 cell animation to update the animation again.
To get the animation controller of that cell animation, use the NNS_G2dGetCellAnimationAnimCtrl() function.
To restart the animation from the beginning, use the NNS_G2dRestartCellAnimation() function.
NNS_G2dRestartCellAnimation
NNS_G2dGetCellAnimationAnimCtrl
2006/05/29 Added a warning note.
2004/05/28 Initial version.
CONFIDENTIAL