NNS_G2dInitMCAnimation

C Specification

#include <nnsys/g2d/g2d_MultiCellAnimation.h>
void NNS_G2dInitMCAnimation(
NNSG2dMultiCellAnimation*   pMultiCellAnim,
NNSG2dNode*                   pNodeArray,
NNSG2dCellAnimation*     pCellAnim,
u16                           numNode,
const NNSG2dCellAnimBankData* pAnimBank,
const NNSG2dCellDataBank*          pCellDataBank,
const NNSG2dMultiCellDataBank*     pMultiCellDataBank );

Arguments

pMultiCellAnim [OUT] Multicell animation
pNodeArray [IN] Node array (Length = numNode)
pCellAnim [IN] Cell animation array (Length = numNode)
numNode [IN] Number of nodes
pAnimBank [IN] Animation bank that defines the cell animation that composes the multicell
pCellDataBank [IN] Cell data bank
pMultiCellDataBank [IN] Multicell data bank

Return Values

None.

Description

Initializes multicell animation. It will be necessary to run the NNS_G2dGetMCNumNodesRequired function on the animation sequence group to be replayed and set sufficient values with numNode. The NNS_G2dInitMCInstance function is executed internally. This function and the NNS_G2dInitializeMCAnimation function have been kept to maintain compatibility with previous versions. A new function, NNS_G2dInitMCAnimationInstance, has been prepared to provide the same functionality. New users should use NNS_G2dInitMCAnimationInstance.

See Also

NNS_G2dInitializeMCAnimation, NNS_G2dInitMCInstance, NNS_G2dGetMCNumNodesRequired

Revision History

01/31/2005 Added explanation regarding NNS_G2dInitMCAnimation.

08/02/2004 Renamed function

07/20/2005 NSS_G2dGetNumNodesRequired was renamed to NNS_G2dGetMCNumNodesRequired.

05/28/2004 Initial version.


CONFIDENTIAL