#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
2005/01/31 Added explanation regarding the NNS_G2dInitMCAnimation
function.
2004/08/02 Renamed function.
2005/07/20 The NSS_G2dGetNumNodesRequired
function was renamed to NNS_G2dGetMCNumNodesRequired
.
2004/05/28 Initial version.
CONFIDENTIAL