public class Pose extends A3DObject
name, properties| Constructor and Description |
|---|
Pose()
Initializes a new instance of the
Pose class. |
Pose(java.lang.String name)
Initializes a new instance of the
Pose class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addBonePose(Node node,
Matrix4 matrix)
Saves pose transformation matrix for the given bone node.
|
void |
addBonePose(Node node,
Matrix4 matrix,
boolean localMatrix)
Saves pose transformation matrix for the given bone node.
|
java.util.List<BonePose> |
getBonePoses()
Gets all
BonePose. |
PoseType |
getPoseType()
Gets the type of the pose.
|
void |
setPoseType(PoseType value)
Sets the type of the pose.
|
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setPropertypublic Pose(java.lang.String name)
Pose class.name - Namepublic Pose()
Pose class.public PoseType getPoseType()
public void setPoseType(PoseType value)
value - New valuepublic void addBonePose(Node node, Matrix4 matrix, boolean localMatrix)
node - Bone Node.matrix - Transformation matrix.localMatrix - If set to true means to use local matrix otherwise means global matrix.