Constructor
new QuaternionKeyframeTrack(target, propertyPath, times, values, interpolantopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
target | Object3D | |||
propertyPath | string | |||
times | Array | |||
values | Array | |||
interpolant | KeyframeInterpolant. | <optional> | QuaternionLinearInterpolant |
Extends
Members
(readonly) valueTypeName :string
Type:
- string
- Default Value
- 'quaternion'
Methods
getValue(t, outBuffer) → {Array}
Get value at time. The value will be interpolated by interpolant if time is between keyframes.
Parameters:
Name | Type | Description |
---|---|---|
t | number | time |
outBuffer | Array | output buffer |
- Overrides
Returns:
output buffer
- Type:
- Array
setInterpolant(interpolant) → {KeyframeTrack}
Set interpolant for this keyframe track.
Parameters:
Name | Type | Description |
---|---|---|
interpolant | KeyframeInterpolant. |
- Overrides
Returns:
- Type:
- KeyframeTrack