[page:KeyframeTrack] →

[name]

A Track of Boolean keyframe values.

Constructor

[name]( [page:String name], [page:Array times], [page:Array values] )

-- [page:String name] (required) identifier for the KeyframeTrack.
-- [page:Array times] (required) array of keyframe times
-- [page:Array values] values for the keyframes at the times specified.

Properties

See [page:KeyframeTrack] for inherited properties.

[property:String ValueTypeName]

String 'bool'.

[property:Constant DefaultInterpolation]

The default interpolation type to use, [page:Animation InterpolateDiscrete].

Methods

See [page:KeyframeTrack] for inherited methods.

[method:null InterpolantFactoryMethodLinear ]( )

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

[method:null InterpolantFactoryMethodSmooth ]( )

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

[method:null ValueBufferType ]( )

Used to convert the values array passed in the constructor to an Array. Note: In this case this does nothing, other Track types may convert the array to a Typed Array.

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]