KeyframeTrack

BooleanKeyframeTrack

A Track of boolean keyframe values.

Constructor

BooleanKeyframeTrack(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.

Properties

See KeyframeTrack for inherited properties.

.DefaultInterpolation undefined : Constant

The default interpolation type to use, InterpolateDiscrete.

.ValueBufferType undefined : Array

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

.ValueTypeName undefined : String

String 'bool'.

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.