# NNS_G2dGetMCNumNodesRequired

## Syntax

      #include <nnsys/g2d/g2d_MultiCellAnimation.h>

      u16 NNS_G2dGetMCNumNodesRequired(
                                      const NNSG2dMultiCellAnimSequence*    pMultiCellSeq,
                                      const NNSG2dMultiCellDataBank*        pMultiCellDataBank );

## Arguments

`pMultiCellSeq` | [IN] Multicell animation sequence
`pMultiCellDataBank` | [IN] Multicell data bank

## Return Values

Maximum number of multicell nodes in the multicell animation.

## Description

Scans the multicells that comprise the multicell animation and returns the maximum number of nodes that the multicell in the animation has. The `NNS_G2dGetMCBankNumNodesRequired` function, which is used for a similar purpose, is also provided. This one returns the maximum number of nodes for the multicell in the multicell data bank. Use it according to your needs.

## See Also

`NNS_G2dInitMCInstance`
`NNS_G2dInitMCAnimation`
`NNS_G2dGetMCBankNumNodesRequired`

## Revision History

2004/05/28 Initial version.

CONFIDENTIAL