AnimationNode class

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.

Inheritance: AnimationNodeA3DObject

The AnimationNode type exposes the following members:

Constructors

ConstructorDescription
__init__(self, name)Initializes a new instance of the AnimationNode class.
__init__(self)Initializes a new instance of the AnimationNode class.

Properties

PropertyDescription
nameGets or sets the name.
propertiesGets the collection of all properties.
bind_pointsGets the current property bind points
sub_animationsGets the sub-animation nodes under current animations

Methods

MethodDescription
remove_property(self, property)Removes a dynamic property.
remove_property(self, property)Remove the specified property identified by name
get_keyframe_sequence(self, target, prop_name, channel_name, create)Gets the keyframe sequence on given property and channel.
get_keyframe_sequence(self, target, prop_name, create)Gets the keyframe sequence on given property.
get_property(self, property)Get the value of specified property
set_property(self, property, value)Sets the value of specified property
find_property(self, property_name)Finds the property.
It can be a dynamic property (Created by CreateDynamicProperty/SetProperty)
or native property(Identified by its name)
find_bind_point(self, target, name)Finds the bind point by target and name.
get_bind_point(self, target, prop_name, create)Gets the animation bind point on given property.
create_bind_point(self, obj, prop_name)Creates a BindPoint based on the property data type.

See Also