Creates a new Skeleton
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 joint objects that comprise the skeleton. Every joint except for the root has a parentIndex property that is an index into this list. A child joint should always have a higher index than its parent.
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 joints in the skeleton.
Add an event listener
Dispatch an event
check if an object has an event listener assigned to it
Returns the joint object in the skeleton with the given name, otherwise returns a null object.
The name of the joint object to be found.
The joint object with the given name.
Returns the joint index, given the joint name. -1 is returned if the joint name is not found.
The name of the joint object to be found.
The index of the joint object in the joints Array
Remove an event listener
Generated using TypeDoc
A Skeleton object is a hierarchical grouping of joint objects that can be used for skeletal animation.
away.animators.SkeletonJoint