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 provides 4 methods for working with KeyframeSequence objects in Typescript programs.
Available methods include: add, constructor, reset, setBindPoint.
All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package.
Properties: bindPoint, keyFrames, name, postBehavior, preBehavior, properties.
Description
KeyframeSequence is a class in the Aspose.3D FOSS library for TypeScript that exposes 3 methods and 6 properties for programmatic use. It extends A3DObject, inheriting shared functionality from its parent type.
Core capabilities include: string; propertycollection; `bindpoint . These operations enable developers to integrate keyframesequence functionality directly into TypeScript applications.
The class also provides the properties property (gets the properties), the bindPoint property (gets the bind point), the keyFrames property (gets the key frames).
Instances are created through a single constructor that initializes the object with default values.
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. |