AnimationNode
Overview
AnimationNode is a class in Aspose.3D FOSS for TypeScript.
Inherits from: A3DObject.
AnimationNode.constructor creates a node with the specified name or null.
This class declares 11 methods for AnimationNode objects in TypeScript programs.
Available methods include: constructor, createBindPoint, findBindPoint, findProperty, getBindPoint, getKeyframeSequence, getProperty, removeProperty, setProperty, toString.
Public members are accessible to any TypeScript application after installing the Aspose.3D FOSS for TypeScript package.
Properties: bindPoints, name, properties, subAnimations.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | string | Read/Write | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
bindPoints | BindPoint[] | Read | Gets the bind points. |
subAnimations | AnimationNode[] | Read | Gets the sub animations. |
Methods
| Signature | Description |
|---|---|
constructor(name: string | null) | Creates a node with the specified name or null |
findBindPoint(_target: A3DObjectClass, name: string) → BindPoint | null | Returns the bind point with given name for the target object, or null |
getBindPoint(target: A3DObjectClass, propName: string, create: boolean) → BindPoint | null | Retrieves or optionally creates a bind point for the target’s property |
createBindPoint(obj: A3DObjectClass, propName: string) → BindPoint | null | Creates a new bind point for the object’s property |
getKeyframeSequence(target: A3DObjectClass, propName: string, channelName: string | null, create: boolean) → KeyframeSequence | null | Gets or optionally creates a keyframe sequence for the target’s property and channel |
constructor(name: string) | Calls constructor(name) on this AnimationNode instance. |
findProperty(propertyName: string) → Property | null | Calls findProperty(propertyName) on this AnimationNode instance. |
getProperty(property: string) → any | Calls getProperty(property) on this AnimationNode instance. |
setProperty(property: string, value: any) | Sets the property value. |
removeProperty(property: string | Property) → boolean | Calls removeProperty(property) on this AnimationNode instance. |
toString() → string | Calls toString on this AnimationNode instance. |