Pose class

Pose class

The pose is used to store transformation matrix when the geometry is skinned. The pose is a set of BonePose, each BonePose saves the concrete transformation information of the bone node.

Inheritance: PoseA3DObject

The Pose type exposes the following members:

Constructors

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

Properties

PropertyDescription
nameGets or sets the name.
propertiesGets the collection of all properties.
pose_typeGets or sets the type of the pose.
bone_posesGets all BonePose.

Methods

MethodDescription
remove_property(self, property)Removes a dynamic property.
remove_property(self, property)Remove the specified property identified by name
add_bone_pose(self, node, matrix, local_matrix)Saves pose transformation matrix for the given bone node.
add_bone_pose(self, node, matrix)Saves pose transformation matrix for the given bone node.
Global transformation matrix is implied.
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)

See Also