NNS_G2dInitEntity

Syntax

#include <nnsys/g2d/g2d_Entity.h>
void NNS_G2dInitEntity( 
                        NNSG2dEntity*               pEntity, 
                        void*                       pDrawStuff, 
                        const NNSG2dEntityData*     pEntityData, 
                        const NNSG2dAnimBankData*   pAnimDataBank );
  

Arguments

pEntity [OUT] Entity
pDrawStuff [IN] Rendering data (NNSG2dCellAnimation or NNSG2dMultiCellAnimation)
pEntityData [IN] Entity definition data
pAnimDataBank [IN] Animation data bank

Return Values

None.

Description

Initializes the entity. The pDrawStuff and pAnimDataBank arguments must pass values that are appropriate to the Entity type. This function fails on assertion if there is input that does not fit these conditions.
This function was renamed from NNS_G2dInitializeEntity. The previous function will remain to maintain compatibility.

See Also

NNS_G2dSetCurrentAnimation
NNS_G2dInitializeEntity

Revision History

2004/08/02 Renamed function.
2004/05/28 Initial version.


CONFIDENTIAL