com.aspose.threed

Interfaces

Classes

Enums

Exceptions

Class Pose



  • public class Pose
    extends A3DObject
    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.
    • Constructor Detail

      • Pose

        public Pose()
        Initializes a new instance of the Pose class.
      • Pose

        public Pose(String name)
        Initializes a new instance of the Pose class.
        Parameters:
        name - Name
    • Method Detail

      • getPoseType

        public PoseType getPoseType()
        Gets the type of the pose.
      • setPoseType

        public void setPoseType(PoseType value)
        Sets the type of the pose.
        Parameters:
        value - New value
      • addBonePose

        public void addBonePose(Node node,
                                Matrix4 matrix,
                                boolean localMatrix)
        Saves pose transformation matrix for the given bone node.
        Parameters:
        node - Bone Node.
        matrix - Transformation matrix.
        localMatrix - If set to true means to use local matrix otherwise means global matrix.
      • addBonePose

        public void addBonePose(Node node,
                                Matrix4 matrix)
        Saves pose transformation matrix for the given bone node. Global transformation matrix is implied.
        Parameters:
        node - Bone Node.
        matrix - Transformation matrix.