KeyframeSequence
Overview
KeyframeSequence is a class in Aspose.3D FOSS for Typescript.
Inherits from: A3DObject.
KeyframeSequence.constructor creates a new sequence and optionally assigns a name.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | string | Read/Write | Stores the identifier string of the keyframe sequence |
properties | PropertyCollection | Read | Holds a collection of custom properties attached to the sequence |
bindPoint | BindPoint | null | Read | Returns the assigned bind point or null if none is set |
keyFrames | KeyFrame[] | Read | Provides an array of all keyframes in chronological order |
postBehavior | Extrapolation | Read | Defines the extrapolation mode after the last keyframe |
preBehavior | Extrapolation | Read | Defines the extrapolation mode before the first keyframe |
Methods
| Signature | Description |
|---|---|
constructor(name: string | null) | Creates a new sequence and optionally assigns a name |
reset() | Clears all keyframes and restores default behavior settings |
add(time: number, value: number, interpolation: Interpolation) | Inserts a keyframe at the given time with a value and interpolation mode |
setBindPoint(value: BindPoint) | Assigns the bind point that defines the reference transform |