QuaternionKeyframeTrack
A Track of quaternion keyframe values.
Constructor
QuaternionKeyframeTrack
function QuaternionKeyframeTrack( name: String, times: Array, values: Array ):
void;
name (required) identifier for the KeyframeTrack.
times (required) array of keyframe times.
values values for the keyframes at the times specified, a flat array of
quaternion components.
interpolation the type of interpolation to use. See Animation
Constants for possible values. Default is
InterpolateLinear.
Properties
See KeyframeTrack for inherited properties.
DefaultInterpolation
DefaultInterpolation: Constant;
The default interpolation type to use, InterpolateLinear.
ValueTypeName
ValueTypeName: String;
String 'quaternion'.
Methods
See KeyframeTrack for inherited methods.
InterpolantFactoryMethodLinear
function InterpolantFactoryMethodLinear( ): QuaternionLinearInterpolant;
Returns a new QuaternionLinearInterpolant based on the values, times and valueSize of the keyframes.