#include <nnsys/g3d/kernel.h>
typedef BOOL (*NNSG3dFuncAnmBlendMat)(struct NNSG3dMatAnmResult_* pAnmResult,
const NNSG3dAnmObj* pAnmObj,
u32 matID);
pAnmResult | The pointer to the material animation results. |
pAnmObj | The pointer to the animation object. |
matID | The material ID. |
Returns TRUE if the function writes the calculation result to pAnmResult
. Returns FALSE if otherwise.
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.
NNSG3dFuncAnmBlendJnt
, NNSG3dFuncAnmBlendVis
, NNSG3dVisAnmResult
2004/10/19 Initial version.
CONFIDENTIAL