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.
This class declares 10 methods for KeyframeSequence objects in TypeScript programs.
Available methods include: add, constructor, findProperty, getProperty, removeProperty, reset, setBindPoint, setProperty, toString.
Public members are accessible to any TypeScript application after installing the Aspose.3D FOSS for TypeScript package.
Properties: bindPoint, keyFrames, name, postBehavior, preBehavior, properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | string | Read/Write | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
bindPoint | BindPoint | null | Read | Gets the bind point. |
keyFrames | KeyFrame[] | Read | Gets the key frames. |
postBehavior | Extrapolation | Read | Gets the post behavior. |
preBehavior | Extrapolation | Read | Gets the pre behavior. |
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) | Sets the bind point value. |
constructor(name: string) | Calls constructor(name) on this KeyframeSequence instance. |
findProperty(propertyName: string) → Property | null | Calls findProperty(propertyName) on this KeyframeSequence instance. |
getProperty(property: string) → any | Calls getProperty(property) on this KeyframeSequence instance. |
setProperty(property: string, value: any) | Sets the property value. |
removeProperty(property: string | Property) → boolean | Calls removeProperty(property) on this KeyframeSequence instance. |
toString() → string | Calls toString on this KeyframeSequence instance. |