pc.AnimClip
AnimClip wraps the running state of an animation track. It contains and update the animation 'cursor' and performs looping logic.
Summary
Details
Constructor
AnimClip(track, time, speed, playing, loop)
Create a new animation clip.
Parameters
| track | pc.AnimTrack | the animation data. |
| time | number | the initial time of the clip. |
| speed | number | speed of the animation playback. |
| playing | boolean | true if the clip is playing and false otherwise. |
| loop | boolean | whether the clip should loop. |