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.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | string | Read/Write | Holds the identifier name of the bind point |
properties | PropertyCollection | Read | Provides a collection of properties associated with the bind point |
property | Property | Read | References the primary Property used by the bind point |
channelsCount | number | Read | Indicates the number of animation channels attached |
scene | Scene | null | Read | References the Scene the bind point belongs to, or null |
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 |