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 : 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 'bool'.

Methods

See KeyframeTrack for inherited methods.

.InterpolantFactoryMethodLinear()

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

.InterpolantFactoryMethodSmooth()

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.