# NNS_G2dInitializeMCAnimation

## C Specification

      #include <nnsys/g2d/g2d_MultiCellAnimation.h>

      void NNS_G2dInitializeMCAnimation(
      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. `numNode` must execute the `NNS_G2dGetNumNodesRequired` function and set an appropriate value for the animation sequence groups to be played. The `NNS_G2dInitMCInstance` function is executed internally. The name of this function has changed to `NNS_G2dInitMCAnimation`. This function will remain to maintain compatibility.

## See Also

`NNS_G2dInitMCAnimation
` `NNS_G2dInitMCInstance`, `NNS_G2dGetMCNumNodesRequired`

## Revision History

08/02/2004 Renamed function

07/20/2005 `NSS_G2dGetNumNodesRequired` was renamed to `NNS_G2dGetMCNumNodesRequired.`

05/28/2004 Initial version.