Pose
Overview
Pose is a class in Aspose.3D FOSS for Java.
Inherits from: A3DObject.
The pose is used to store transformation matrix when the geometry is skinned.
This class provides 17 methods for working with Pose objects in Java programs.
Available methods include: A3DObject, Pose, addBonePose, findProperty, getBonePoses, getName, getPoseType, getProperties, getProperty, removeProperty, setName, setPoseType, and 1 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: bonePoses, name, poseType, properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
poseType | PoseType | Read | Gets the pose type. |
bonePoses | List<BonePose> | Read | Gets all BonePose. |
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
Pose() | Initializes a new instance of the Pose class. |
Pose(name: String) | Initializes a new instance of the Pose class. |
getPoseType() → PoseType | Returns the pose type. |
setPoseType(value: PoseType) | Sets the type of the pose. |
getBonePoses() → List<BonePose> | Gets all BonePose. |
addBonePose(node: Node, matrix: Matrix4, localMatrix: boolean) | Saves pose transformation matrix for the given bone node. |
addBonePose(node: Node, matrix: Matrix4) | Saves pose transformation matrix for the given bone node. |
A3DObject() | Calls A3DObject on this Pose instance. |
A3DObject(name: String) | Calls A3DObject(name) on this Pose instance. |
getName() → String | Returns the name. |
setName(name: String) | Sets the name value. |
getProperties() → PropertyCollection | Returns the properties. |
findProperty(name: String) → Property | Calls findProperty(name) on this Pose instance. |
getProperty(name: String) → Object | Calls getProperty(name) on this Pose instance. |
setProperty(name: String, value: Object) | Sets the property value. |
removeProperty(name: String) → boolean | Calls removeProperty(name) on this Pose instance. |
removeProperty(property: Property) → boolean | Gets all BonePose. |