pc.AnimTrack
AnimTrack contains a set of curve data which can be used to animate a set of target nodes.
Summary
Details
Constructor
AnimTrack(name, duration, inputs, outputs, curves, targets)
Create a new animation track.
Parameters
| name | string | the track name |
| duration | number | the duration of the track in seconds. |
| inputs | pc.AnimData[] | list of curve key data. |
| outputs | pc.AnimData[] | list of curve value data. |
| curves | pc.AnimCurve[] | the list of curves. |
| targets | pc.AnimTarget[] | the list of targets. |