KeyframeTrack

StringKeyframeTrack

A Track of string keyframe values.

Constructor

StringKeyframeTrack(name : String, times : Array, values : Array)

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 InterpolateDiscrete.

Properties

See KeyframeTrack for inherited properties.

.DefaultInterpolation : Constant

The default interpolation type to use, InterpolateDiscrete.

.ValueBufferType : Array

A normal Array (no Float32Array in this case, unlike ValueBufferType of KeyframeTrack).

.ValueTypeName : String

String 'string'.

Methods

See KeyframeTrack for inherited methods.

.InterpolantFactoryMethodLinear () : null

The value of this method here is 'undefined', as it does not make sense for discrete properties.

.InterpolantFactoryMethodSmooth () : null

The value of this method here is 'undefined', as it does not make sense for discrete properties.

Source

For more info on how to obtain the source code of this module see this page.