t3d. BooleanKeyframeTrack

Used for boolean property track.

Constructor

new BooleanKeyframeTrack(target, propertyPath, times, values, interpolantopt)

Parameters:
NameTypeAttributesDefaultDescription
targett3d.Object3D
propertyPathString
timesArray
valuesArray
interpolantt3d.KeyframeInterpolant.constructor<optional>
t3d.StepInterpolant

Extends

Members

(readonly) valueTypeName :String

Type:
  • String
Default Value
  • 'bool'

Methods

getValue(t, outBuffer) → {Array}

Get value at time. The value will be interpolated by interpolant if time is between keyframes.
Parameters:
NameTypeDescription
tNumbertime
outBufferArrayoutput buffer
Returns:
output buffer
Type: 
Array

setInterpolant(interpolant) → {t3d.KeyframeTrack}

Set interpolant for this keyframe track.
Parameters:
NameTypeDescription
interpolantt3d.KeyframeInterpolant.constructor
Returns:
Type: 
t3d.KeyframeTrack