Skeleton
A Skeleton object is a hierarchical grouping of joint objects that can be used for skeletal animation.
Inherited from NamedAssetBase -> EventDispatcher.
Can be created with method new:
Lib.Away3D.Animators.Data.Skeleton.new() |
Creates a new Skeleton object |
|
Created Skeleton object has methods:
jointFromName(jointName) |
Returns the joint object(SkeletonJoint) in the skeleton with the given name, otherwise returns a nil object. |
jointName - The name of the joint object to be found. |
jointIndexFromName(jointName) |
Returns the joint index, given the joint name. -1 is returned if the joint name is not found. |
jointName - The name of the joint object to be found. |
dispose() |
Dispose skeleton object |
|
Properties:
numJoints |
[read-only] The total number of joints in the skeleton. |
assetType |
[read-only] Return Asset3DTypeLib.Away3D.Library.Assets.Asset3DType.SKELETON |
joints |
A flat table of joint objects(SkeletonJoint) 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. |
Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad