KeyframeTrack →
QuaternionKeyframeTrack
A Track of quaternion keyframe values.
Constructor
QuaternionKeyframeTrack(name : String, times : Array, values : Array, interpolation : Constant)
- 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.
The default interpolation type to use, InterpolateLinear.
String 'quaternion'
.
Methods
See KeyframeTrack for inherited methods.
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.