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

See also:

  • away3d.animation.data.Skeleton

  • away3d.animation.data.SkeletonJoint todo: support (uniform) scale

Constructor

new()

Variables

name:String

The name of the joint to which the pose is associated

@:value(new Quaternion())orientation:Quaternion = new Quaternion()

The rotation of the pose stored as a quaternion

@:value(new Vector3D())translation:Vector3D = new Vector3D()

The translation of the pose

Methods

copyFrom(pose:JointPose):Void

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

Parameters:

pose

The source pose to copy from.

@:value({ target : null })toMatrix3D(?target:Matrix3D):Matrix3D

Converts the transformation to a Matrix3D representation.

Parameters:

target

An optional target matrix to store the transformation. If not provided, it will create a new instance.

Returns:

The transformation matrix of the pose.