public class Pose extends A3DObject
Constructor and Description |
---|
Pose()
Initializes a new instance of the
Pose class. |
Pose(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.
|
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, getProperty, removeProperty, removeProperty, setName, setProperty
public 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.Copyright © 2019. All rights reserved.