Packageaway3d.animators.skeleton
Classpublic class JointPose

JointPose contains transformation data for a skeleton joint, used for skeleton animation.

See also

away3d.core.animation.skeleton.Skeleton
todo: support (uniform) scale
Public Properties
 PropertyDefined by
  orientation : Quaternion
The rotation of the joint stored as a quaternion
JointPose
  translation : Vector3D
The translation of the joint
JointPose
Public Methods
 MethodDefined by
  
copyFrom(pose:JointPose):void
Copies the transformation data from a different JointPose object
JointPose
  
toMatrix3D(target:Matrix3D = null):Matrix3D
Converts the transformation to a Matrix3D representation.
JointPose
Property detail
orientationproperty
public var orientation:Quaternion

The rotation of the joint stored as a quaternion

translationproperty 
public var translation:Vector3D

The translation of the joint

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

Copies the transformation data from a different JointPose object

Parameters
pose:JointPose — the source JointPose object 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 — A Matrix3D object containing the transformation.
Wiki link
Click to go to the wiki page for 'away3d.animators.skeleton.JointPose'

Code examples

Comments