NNS_G3dAnmObjInit

Syntax

#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. Except when initializing an animation object for texture pattern animation, pResTex may be NULL.

See Also

NNS_G3dAnmObjCalcSizeRequired

Revision History

2004/08/02 Initial version.


CONFIDENTIAL