API Reference

Class List

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

namestring

the track name

durationnumber

the duration of the track in seconds.

inputspc.AnimData[]

list of curve key data.

outputspc.AnimData[]

list of curve value data.

curvespc.AnimCurve[]

the list of curves.

targetspc.AnimTarget[]

the list of targets.