Packageaway3d.animators.data
Classpublic class JointPose
InheritanceJointPose Inheritance Object

Contains transformation data for a skeleton joint, used for skeleton animation.

See also

away3d.animation.data.Skeleton
todo: support (uniform) scale


Public Properties
 PropertyDefined By
  name : String
The name of the joint to which the pose is associated
JointPose
  orientation : Quaternion
The rotation of the pose stored as a quaternion
JointPose
  translation : Vector3D
The translation of the pose
JointPose
Public Methods
 MethodDefined By
  
copyFrom(pose:JointPose):void
Copies the transformation data from a source pose object into the existing pose object.
JointPose
  
toMatrix3D(target:Matrix3D = null):Matrix3D
Converts the transformation to a Matrix3D representation.
JointPose
Property Detail
nameproperty
public var name:String

The name of the joint to which the pose is associated

orientationproperty 
public var orientation:Quaternion

The rotation of the pose stored as a quaternion

translationproperty 
public var translation:Vector3D

The translation of the pose

Method Detail
copyFrom()method
public function copyFrom(pose:JointPose):void

Copies the transformation data from a source pose object into the existing pose object.

Parameters

pose:JointPose — The source pose to copy from.

toMatrix3D()method 
public function toMatrix3D(target:Matrix3D = null):Matrix3D

Converts the transformation to a Matrix3D representation.

Parameters

target:Matrix3D (default = null) — An optional target matrix to store the transformation. If not provided, it will create a new instance.

Returns
Matrix3D — The transformation matrix of the pose.