Skip to main content

KeyframeTrack

VectorKeyframeTrack

A Track of vector keyframe values.

Constructor

VectorKeyframeTrack

function VectorKeyframeTrack( 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, a flat array of vector components.
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 'vector'.

Methods

See KeyframeTrack for inherited methods.

Source

src/animation/tracks/VectorKeyframeTrack.js