NNS_G2dTraverseMCCellAnims

C Specification

#include <nnsys/g2d/g2d_MultiCellAnimation.h>
void NNS_G2dTraverseMCCellAnims
( 
    NNSG2dMultiCellInstance* pMCellInst,
    NNSG2dMCTraverseCellAnimCallBack pCBFunc,
    u32 userParameter
);

Arguments

pMCellInst [IN] Multicell entity
pCBFunc [IN] Callback function called for every cell animation in the multicell
userParamater [IN] Parameter that the user is free to use and passed as the first argument of the callback function

Return Values

None.

Description

Calls the callback function using cell animation and cell animation number as arguments by going through each of the cell animations that make up a multicell. NNS_G2dTraverseMCCellAnims() that cycles through in node units is also available.
The definition of NNSG2dMCTraverseCellAnimCallBack is shown below.

typedef BOOL (*NNSG2dMCTraverseCellAnimCallBack)( u32 userParameter,
NNSG2dCellAnimation*  pCellAnim, 
u16                   cellAnimIdx );    

To suspend the callback, set to return FALSE in the callback function.

See Also

NNS_G2dTraverseMCNodes

Revision History

09/01/2005 Initial version.


CONFIDENTIAL