| Package | away3d.animators.data |
| Class | public class SkeletonPose |
| Inheritance | SkeletonPose NamedAssetBase flash.events.EventDispatcher |
| Implements | IAsset |
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
| Property | Defined By | ||
|---|---|---|---|
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
| assetType : String [read-only]
| SkeletonPose | ||
| jointPoses : Vector.<JointPose>
A flat list of pose objects that comprise the skeleton pose. | SkeletonPose | ||
![]() | name : String | NamedAssetBase | |
| numJointPoses : uint [read-only]
The total number of joint poses in the skeleton pose. | SkeletonPose | ||
![]() | originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | |
| Method | Defined By | ||
|---|---|---|---|
Creates a new SkeletonPose object. | SkeletonPose | ||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
Creates a copy of the SkeletonPose object, with a dulpicate of its component joint poses. | SkeletonPose | ||
dispose():void
Cleans up resources used by this asset. | SkeletonPose | ||
jointPoseFromName(jointName:String):JointPose
Returns the joint pose object with the given joint name, otherwise returns a null object. | SkeletonPose | ||
jointPoseIndexFromName(jointName:String):int
Returns the pose index, given the joint name. | SkeletonPose | ||
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| assetType | property |
assetType:String [read-only]
public function get assetType():String| jointPoses | property |
public var 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
| numJointPoses | property |
numJointPoses:uint [read-only] The total number of joint poses in the skeleton pose.
public function get numJointPoses():uint| SkeletonPose | () | Constructor |
public function SkeletonPose()
Creates a new SkeletonPose object.
| clone | () | method |
public function clone():SkeletonPose
Creates a copy of the SkeletonPose object, with a dulpicate of its component joint poses.
SkeletonPose — SkeletonPose
|
| dispose | () | method |
public function dispose():voidCleans up resources used by this asset.
| jointPoseFromName | () | method |
public function jointPoseFromName(jointName:String):JointPoseReturns the joint pose object with the given joint name, otherwise returns a null object.
Parameters
jointName:String — The name of the joint object whose pose is to be found.
|
JointPose — The pose object with the given joint name.
|
| jointPoseIndexFromName | () | method |
public function jointPoseIndexFromName(jointName:String):intReturns the pose index, given the joint name. -1 is returned if the joint name is not found in the pose.
Parameters
jointName:String — name of the joint object whose pose is to be found.
|
int — The index of the pose object in the jointPoses vector.
|
See also