pc.AnimTarget
AnimTarget names a target graph node and specifies the curves which drive translation, rotation and scale.
Summary
Details
Constructor
AnimTarget(name, translation, rotation, scale)
Create a new animation target.
Parameters
| name | string | the target node to control. |
| translation | number | the curve index controlling the translation of the target node or -1 for none. |
| rotation | number | the curve index controlling the rotation of the target node or -1 for none. |
| scale | number | the curve index controlling the scale of the target node or -1 for none. |