Animation curve links an input data set to an output data set and defines the interpolation method to use.
new AnimCurve(
paths: string[],
input: number,
output: number,
interpolation: number): AnimCurve
Create a new animation curve.
string
Array of path strings identifying the targets of this curve, for example "rootNode.translation".
number
Index of the curve which specifies the key data.
number
Index of the curve which specifies the value data.
number
The interpolation method to use. One of the following:
get input(): number
The index of the AnimTrack input which contains the key data for this curve.
number
get interpolation(): number
The interpolation method used by this curve.
number
get output(): number
The index of the AnimTrack input which contains the key data for this curve.
number
get paths(): string[]
The list of paths which identify targets of this curve.
string