AnimationChannel
Overview
AnimationChannel is a class in Aspose.3D FOSS for TypeScript.
Inherits from: KeyframeSequence.
AnimationChannel.constructor creates a new channel with the specified name.
This class declares 10 methods for AnimationChannel 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, componentType, defaultValue, keyFrames, keyframeSequence, name, and 3 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
componentType | any | Read | Gets the component type. |
defaultValue | any | Read/Write | Gets the default value. |
keyframeSequence | KeyframeSequence | null | Read/Write | Gets the keyframe sequence. |
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) | Creates a new channel with the specified name |
constructor(name: string | null) | Calls constructor(name) on this AnimationChannel instance. |
reset() | Calls reset on this AnimationChannel instance. |
add(time: number, value: number, interpolation: Interpolation) | Calls add(time, value, interpolation) on this AnimationChannel instance. |
setBindPoint(value: BindPoint) | Sets the bind point value. |
findProperty(propertyName: string) → Property | null | Calls findProperty(propertyName) on this AnimationChannel instance. |
getProperty(property: string) → any | Calls getProperty(property) on this AnimationChannel instance. |
setProperty(property: string, value: any) | Sets the property value. |
removeProperty(property: string | Property) → boolean | Calls removeProperty(property) on this AnimationChannel instance. |
toString() → string | Calls toString on this AnimationChannel instance. |