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.
The Pose type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self, name) | Initializes a new instance of the Pose class. |
__init__(self) | Initializes a new instance of the Pose class. |
Properties
| Property | Description |
|---|---|
| name | Gets or sets the name. |
| properties | Gets the collection of all properties. |
| pose_type | Gets or sets the type of the pose. |
| bone_poses | Gets all BonePose. |
Methods
| Method | Description |
|---|---|
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
- module
aspose.threed - class
A3DObject - class
BonePose - class
Pose