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

NameTypeAccessDescription
namestringRead/WriteGets the name.
propertiesPropertyCollectionReadGets the properties.
propertyPropertyReadGets the property.
channelsCountnumberReadGets the channels count.
sceneScene | nullReadGets the scene.

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
constructor(name: string)Calls constructor(name) on this BindPoint instance.
findProperty(propertyName: string)Property | nullCalls findProperty(propertyName) on this BindPoint instance.
getProperty(property: string)anyCalls getProperty(property) on this BindPoint instance.
setProperty(property: string, value: any)Sets the property value.
removeProperty(property: string | Property)booleanCalls removeProperty(property) on this BindPoint instance.
toString()stringCalls toString on this BindPoint instance.

See Also

 English