A collection of pose objects, determining the pose for an entire skeleton. The jointPoses vector object corresponds to a skeleton's joints vector object, however, there is no reference to a skeleton's instance, since several skeletons can be influenced by the same pose (eg: animation clips are added to any animator with a valid skeleton)

See also:

  • away3d.animators.data.Skeleton

  • away3d.animators.data.JointPose

Constructor

new()

Creates a new SkeletonPose object.

Variables

read onlyassetType:String

jointPoses:Vector<JointPose>

A flat list of pose objects that comprise the skeleton pose. The pose indices correspond to the target skeleton's joint indices.

See also:

  • away3d.animators.data.Skeleton#joints

read onlynumJointPoses:Int

Methods

clone():SkeletonPose

Creates a copy of the SkeletonPose object, with a dulpicate of its component joint poses.

Returns:

SkeletonPose

dispose():Void

@inheritDoc

jointPoseFromName(jointName:String):JointPose

Returns the joint pose object with the given joint name, otherwise returns a null object.

Parameters:

jointName

The name of the joint object whose pose is to be found.

Returns:

The pose object with the given joint name.

jointPoseIndexFromName(jointName:String):Int

Returns the pose index, given the joint name. -1 is returned if the joint name is not found in the pose.

Parameters:

The

name of the joint object whose pose is to be found.

Returns:

The index of the pose object in the jointPoses vector.

See also:

  • jointPoses

Inherited Variables

Defined by NamedAssetBase

read onlyassetFullPath:Array<Dynamic>

read onlyassetNamespace:String

id:String

name:String

read onlyoriginalName:String

Inherited Methods

Defined by NamedAssetBase

assetPathEquals(name:String, ns:String):Bool

@:value({ overrideOriginal : true, ns : null })resetAssetPath(name:String, ?ns:String, overrideOriginal:Bool = true):Void