NNSG3dFuncAnmBlendMat

Syntax

#include <nnsys/g3d/kernel.h>

typedef BOOL (*NNSG3dFuncAnmBlendMat)(struct NNSG3dMatAnmResult_* pAnmResult,
                                      const NNSG3dAnmObj* pAnmObj,
                                      u32 matID);

Arguments

pAnmResult The pointer to the material animation results.
pAnmObj The pointer to the animation object.
matID The material ID.

Return Values

Returns TRUE if the function writes the calculation result to pAnmResult. Returns FALSE if otherwise.

Description

Calculates the material animation that corresponds to the matID while tracing the list from pAnmObj, then blends the results and stores them in pAnmResult. It will return FALSE if the animation corresponding to the matID is invalid, or if this function does not output the results of the material animation. In such a case, the visibility data will be obtained from the model resource.

See Also

NNSG3dFuncAnmBlendJnt, NNSG3dFuncAnmBlendVis, NNSG3dVisAnmResult

Revision History

2004/10/19 Initial version.


CONFIDENTIAL