# NNS_G2dInitializeMCInstance

## C Specification

      #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`. `numNode` 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

08/02/2004 Renamed function

07/20/2004 Changed the function name from `NNS_G2dGetNumNodesRequired` to `NNS_G2dGetMCNumNodesRequired`

05/28/2004 Initial version.