KeyframeTrack

QuaternionKeyframeTrack

A Track of quaternion keyframe values.

Constructor

QuaternionKeyframeTrack(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 InterpolateLinear.

Properties

See KeyframeTrack for inherited properties.

.DefaultInterpolation : Constant

The default interpolation type to use, InterpolateLinear.

.ValueTypeName : String

String 'quaternion'.

Methods

See KeyframeTrack for inherited methods.

.InterpolantFactoryMethodLinear () : null

Returns a new QuaternionLinearInterpolant based on the values, times and valueSize of the keyframes.

Source

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