#include <nnsys/g2d/g2d_MultiCellAnimation.h>
void NNS_G2dInitMCInstance( NNSG2dMultiCellInstance* pMultiCell, NNSG2dNode* pNodeArray, NNSG2dCellAnimation* pCellAnim, u16 numNode, const NNSG2dCellAnimBankData* pAnimBank, const NNSG2dCellDataBank* pCellDataBank );
| 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 |
None.
Initializes the multicell entity. This function is also executed within NNS_G2dInitMCAnimation. It will be necessary to run the NNS_G2dGetMCNumNodesRequired function on the animation sequence group to be replayed and set sufficient values with numNode. This function and the NNS_G2dInitializeMCInstance 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.
NNS_G2dInitializeMCInstance, NNS_G2dInitMCAnimation, NNS_G2dGetMCNumNodesRequired
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