#include <nnsys/g2d/g2d_Entity.h>
void NNS_G2dInitEntity(
NNSG2dEntity* pEntity,
void* pDrawStuff,
const NNSG2dEntityData* pEntityData,
const NNSG2dAnimBankData* pAnimDataBank );
| pEntity | [OUT] Entity |
| pDrawStuff | [IN] Data for rendering (NNSG2dCellAnimation or NNSG2dMultiCellAnimation) |
| pEntityData | [IN] Entity definition data |
| pAnimDataBank | [IN] Animation data bank |
None.
Initializes the entity. pDrawStuff and pAnimDataBank must pass values that are appropriate to the Entity type. This function will fail in the assert if there is any input that does not fit these conditions. This function has a new name, and was renamed from NNS_G2dInitializeEntity. The previous function will remain to maintain compatibility.
NNS_G2dSetCurrentAnimation, NNS_G2dInitializeEntity
2004/08/02 Renamed function
2004/05/28 Initial version.
CONFIDENTIAL