Creates a new SkeletonPose
object.
adapter is used to provide MovieClip to scripts taken from different platforms setter typically managed by factory. getter defaults to AwayJS class
A unique id for the asset, used to identify assets in an associative array
A flat list of pose objects that comprise the skeleton pose. The pose indices correspond to the target skeleton's joint indices.
The original name used for this asset in the resource (e.g. file) in which
it was found. This may not be the same as name
, which may
have changed due to of a name conflict.
The total number of joint poses in the skeleton pose.
Add an event listener
Creates a copy of the SkeletonPose
object, with a dulpicate of its component joint poses.
SkeletonPose
Dispatch an event
check if an object has an event listener assigned to it
Returns the joint pose object with the given joint name, otherwise returns a null object.
The name of the joint object whose pose is to be found.
The pose object with the given joint name.
Returns the pose index, given the joint name. -1 is returned if the joint name is not found in the pose.
The index of the pose object in the jointPoses Array
Remove an event listener
Generated using TypeDoc
A collection of pose objects, determining the pose for an entire skeleton. The
jointPoses
vector object corresponds to a skeleton'sjoints
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)away.animators.Skeleton
away.animators.JointPose