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

NameTypeAccessDescription
namestringRead/WriteHolds the identifier name of the bind point
propertiesPropertyCollectionReadProvides a collection of properties associated with the bind point
propertyPropertyReadReferences the primary Property used by the bind point
channelsCountnumberReadIndicates the number of animation channels attached
sceneScene | nullReadReferences the Scene the bind point belongs to, or null

Methods

SignatureDescription
constructor(scene: Scene | null, prop: Property)Initializes a BindPoint with an optional Scene and a Property
addChannel(name: string, value: any, _type: any)booleanAdds a channel with name, value and type, returning true on success
getKeyframeSequence(channelName: string)KeyframeSequence | nullReturns the KeyframeSequence for a channel or null if absent
createKeyframeSequence(name: string)KeyframeSequenceCreates a new KeyframeSequence with the given name
bindKeyframeSequence(channelName: string, sequence: KeyframeSequence)Associates a KeyframeSequence with the specified channel name
getChannel(channelName: string)AnimationChannel | nullRetrieves the AnimationChannel for a channel name or null
resetChannels()Removes all animation channels from the bind point

See Also