API Reference

Class List

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

namestring

the target node to control.

translationnumber

the curve index controlling the translation of the target node or -1 for none.

rotationnumber

the curve index controlling the rotation of the target node or -1 for none.

scalenumber

the curve index controlling the scale of the target node or -1 for none.