Skip to main content

KeyframeTrack

NumberKeyframeTrack

A Track of numeric keyframe values.

Constructor

NumberKeyframeTrack

function NumberKeyframeTrack( name: String, times: Array, values: Array ):
void;

name - (required) identifier for the KeyframeTrack.
times - (required) array of keyframe times.
values - values for the keyframes at the times specified.
interpolation - the type of interpolation to use. See Animation Constants for possible values. Default is InterpolateLinear.

Properties

See KeyframeTrack for inherited properties.

ValueTypeName

ValueTypeName: String;  

String 'number'.

Methods

See KeyframeTrack for inherited methods.

Source

src/animation/tracks/NumberKeyframeTrack.js