AnimBone_SetScale



AnimBone_SetScale pAnimBone, X, Y, Z, Mode

Description

Sets an AnimBone's scale using the specified mode flag. Possible mode flags include:
0 = Sets the bone's local scale
1 = Offsets the bone's local scale

The AnimObject must be updated using AnimObject_Update before the changes will become visible.

Note: Scaling should be performed uniformly to prevent lighting issues, the shader does not have access to inverse transpose matrices which would be required to properly transform the vertex normals.

Parameters

pAnimBoneINTEGERThe AnimBone who's scale is being modified
XFLOATX Scale Value
YFLOATY Scale Value
ZFLOATZ Scale Value
ModeINTEGERMode value


AnimBone Commands
jGpuSkin Command Index
jGpuSkin Main