NNS_G3dAnmObjInit

C Specification

#include <nnsys/g3d/kernel.h>
void
NNS_G3dAnmObjInit(
NNSG3dAnmObj*   pAnmObj,
void*                   pResAnm,
const NNSG3dResMdl*     pResMdl,
const NNSG3dResTex* pResTex
);

Arguments

pAnmObj Pointer to the AnmObj structure
pResAnm Pointer to the animation resource
pResMdl Pointer to the model resource
pResTex Pointer to the texture resource

Return Values

None.

Description

Initializes the NNSG3dAnmObj structure. The animation object designated by pAnmObj must be at least as large as the size obtained by the NNS_G3dAnmObjCalcSizeRequired function. It is OK if pResTex is NULL, except when initializing animation object for texture pattern animation.

See Also

NNS_G3dAnmObjCalcSizeRequired

Revision History

08/02/2004 Initial version.