AnimationNode

AnimationNode class

Aspose.3D’s supports animation hierarchy, each animation can be composed by several animations and animation’s key-frame definition. AnimationNode defines the transformation of a property value over time, for example, animation node can be used to control a node’s transformation or other A3DObject object’s numerical properties.

Methods

constructor

NameDescription
constructor(name)Initializes a new instance of the AnimationNode class.

Parameters:

NameTypeDescription
nameStringName

Result:


constructor_overload

NameDescription
constructor_overload()Initializes a new instance of the AnimationNode class.

Result:


getBindPoints

NameDescription
getBindPoints()Gets the current property bind points

Result:


getSubAnimations

NameDescription
getSubAnimations()Gets the sub-animation nodes under current animations

Result:


getName

NameDescription
getName()Gets or sets the name. The name.

Result:


setName

NameDescription
setName(value)Gets or sets the name. The name.

Result:


getProperties

NameDescription
getProperties()Gets the collection of all properties.

Result:


findBindPoint

NameDescription
findBindPoint(name)Finds the bind point by name.

Parameters:

NameTypeDescription
nameStringBind point’s name to find.

Result: BindPoint


getBindPoint

NameDescription
getBindPoint(target, propName, create)Gets the animation bind point on given property.

Parameters:

NameTypeDescription
targetA3DObjectOn which object to create the bind point.
propNameStringThe property’s name.
createbooleanIf set to

Result: BindPoint


getKeyframeSequence

NameDescription
getKeyframeSequence(target, propName, channelName, create)Gets the keyframe sequence on given property and channel.

Parameters:

NameTypeDescription
targetA3DObjectOn which instance to create the keyframe sequence.
propNameStringThe property’s name.
channelNameStringThe channel name.
createbooleanIf set to

Result: KeyframeSequence


getKeyframeSequence

NameDescription
getKeyframeSequence(target, propName, create)Gets the keyframe sequence on given property.

Parameters:

NameTypeDescription
targetA3DObjectOn which instance to create the keyframe sequence.
propNameStringThe property’s name.
createbooleanIf set to

Result: KeyframeSequence


createBindPoint

NameDescription
createBindPoint(obj, propName)Creates a BindPoint based on the property data type.

Parameters:

NameTypeDescription
objA3DObjectObject.
propNameStringProperty name.

Result: BindPoint


removeProperty

NameDescription
removeProperty(property)Removes a dynamic property.

Parameters:

NameTypeDescription
propertyPropertyWhich property to remove

Result: boolean


removeProperty

NameDescription
removeProperty(property)Remove the specified property identified by name

Parameters:

NameTypeDescription
propertStringnull

Result: boolean


getProperty

NameDescription
getProperty(property)Get the value of specified property

Parameters:

NameTypeDescription
propertyStringProperty name

Result: Object


setProperty

NameDescription
setProperty(property, value)Sets the value of specified property

Parameters:

NameTypeDescription
propertyStringProperty name
valueObjectThe value of the property

Result: Object


findProperty

NameDescription
findProperty(propertyName)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)

Parameters:

NameTypeDescription
propertyNameStringProperty name.

Result: Property