AnimObject_SetScale



AnimObject_SetScale pAnimObj, X, Y, Z

Description

Scales an AnimObject to the specified percentage values. 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

pAnimObjINTEGERThe AnimObject being positioned
XFLOATThe AnimObject's new X scale
YFLOATThe AnimObject's new Y scale
ZFLOATThe AnimObject's new Z scale


AnimObject Commands
jGpuSkin Command Index
jGpuSkin Main