NNS_G2dInitializeMCInstance

Syntax

#include <nnsys/g2d/g2d_MultiCellAnimation.h>
void NNS_G2dInitializeMCInstance( 
                                    NNSG2dMultiCellInstance*      pMultiCell, 
                                    NNSG2dNode*                   pNodeArray, 
                                    NNSG2dCellAnimation*          pCellAnim, 
                                    u16                           numNode, 
                                    const NNSG2dCellAnimBankData* pAnimBank,  
                                    const NNSG2dCellDataBank*     pCellDataBank );
  

Arguments

pMultiCell [OUT] Multicell entity
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

Return Values

None.

Description

Initializes the multicell entity. This function is also executed within NNS_G2dInitMCAnimation. The numNode argument must execute the NNS_G2dGetNumNodesRequired function and set an appropriate value for the animation sequence groups to be played.
The name of this function has changed to NNS_G2dInitMCInstance. This function will remain to maintain compatibility.

See Also

NNS_G2dInitMCInstance
NNS_G2dInitMCAnimation
NNS_G2dGetMCNumNodesRequired

Revision History

2004/08/02 Renamed function.
2004/07/20 Changed the function name from NNS_G2dGetNumNodesRequired to NNS_G2dGetMCNumNodesRequired.
2004/05/28 Initial version.


CONFIDENTIAL