KeyframeSequence
General
KeyframeSequence is a class in Aspose.3d for Typescript.
Inherits from: KeyframeSequence, A3DObject.
KeyframeSequence és una classe de l’Aspose.3d per a Typescript. Hereta de: ゚KeyframeSequence⌒, ヽA3DObject` .
KeyframeSequence.constructor crea una nova seqüència de marc clau, assignant opcionalment un nom.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
name | string | Read | Holds the identifier string of the sequence |
properties | PropertyCollection | Read | Provides a collection of custom properties attached to the sequence |
bindPoint | `BindPoint | null` | Read |
keyFrames | KeyFrame[] | Read | Contains the ordered list of keyframe objects in the sequence |
postBehavior | Extrapolation | Read | Defines how the sequence behaves after its last keyframe |
preBehavior | Extrapolation | Read | Defines how the sequence behaves before its first keyframe |
Mètodes
| Signature | Description |
|---|---|
| `constructor(name: string | null)` |
reset() | Clears all keyframes and restores default behavior settings |
add(time: number, value: number, interpolation: Interpolation) | Inserts a keyframe at given time with value and interpolation mode |
setBindPoint(value: BindPoint) | Assigns a bind point that defines the sequence’s reference transform |