Constructor
new StringKeyframeTrack(target, propertyPath, times, values, interpolantopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
target | t3d. | |||
propertyPath | String | |||
times | Array | |||
values | Array | |||
interpolant | t3d. | <optional> | t3d.StepInterpolant |
Extends
Members
(readonly) valueTypeName :String
Type:
- String
- Default Value
- 'string'
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) → {t3d.KeyframeTrack}
Set interpolant for this keyframe track.
Parameters:
Name | Type | Description |
---|---|---|
interpolant | t3d. |
- Overrides
Returns:
- Type:
- t3d.
KeyframeTrack