BindPoint
Overview
BindPoint is a class in Aspose.3D FOSS for TypeScript.
Inherits from: A3DObject.
BindPoint.constructor initializes a BindPoint with an optional Scene and a Property.
This class declares 13 methods for BindPoint objects in TypeScript programs.
Available methods include: addChannel, bindKeyframeSequence, constructor, createKeyframeSequence, findProperty, getChannel, getKeyframeSequence, getProperty, removeProperty, resetChannels, setProperty, toString.
Public members are accessible to any TypeScript application after installing the Aspose.3D FOSS for TypeScript package.
Properties: channelsCount, name, properties, property, scene.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | string | Read/Write | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
property | Property | Read | Gets the property. |
channelsCount | number | Read | Gets the channels count. |
scene | Scene | null | Read | Gets the scene. |
Methods
| Signature | Description |
|---|---|
constructor(scene: Scene | null, prop: Property) | Initializes a BindPoint with an optional Scene and a Property |
addChannel(name: string, value: any, _type: any) → boolean | Adds a channel with name, value and type, returning true on success |
getKeyframeSequence(channelName: string) → KeyframeSequence | null | Returns the KeyframeSequence for a channel or null if absent |
createKeyframeSequence(name: string) → KeyframeSequence | Creates a new KeyframeSequence with the given name |
bindKeyframeSequence(channelName: string, sequence: KeyframeSequence) | Associates a KeyframeSequence with the specified channel name |
getChannel(channelName: string) → AnimationChannel | null | Retrieves the AnimationChannel for a channel name or null |
resetChannels() | Removes all animation channels from the bind point |
constructor(name: string) | Calls constructor(name) on this BindPoint instance. |
findProperty(propertyName: string) → Property | null | Calls findProperty(propertyName) on this BindPoint instance. |
getProperty(property: string) → any | Calls getProperty(property) on this BindPoint instance. |
setProperty(property: string, value: any) | Sets the property value. |
removeProperty(property: string | Property) → boolean | Calls removeProperty(property) on this BindPoint instance. |
toString() → string | Calls toString on this BindPoint instance. |