# NNS_G2dInitializeMCAnimation

## Syntax

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

2004/08/02 Renamed function.
2005/07/20 The `NSS_G2dGetNumNodesRequired` function was renamed to `NNS_G2dGetMCNumNodesRequired`.
2004/05/28 Initial version.

CONFIDENTIAL