Package | away3d.animators.skeleton |
Class | public class SkeletonTreeNode |
Subclasses | SkeletonAdditiveNode, SkeletonBinaryLERPNode, SkeletonClipNodeBase, SkeletonDirectionalNode, SkeletonNaryLERPNode |
Property | Defined by | ||
---|---|---|---|
direction : Number | SkeletonTreeNode | ||
duration : Number [read-only]
| SkeletonTreeNode | ||
name : String | SkeletonTreeNode | ||
rootDelta : Vector3D | SkeletonTreeNode | ||
skeletonPose : SkeletonPose | SkeletonTreeNode | ||
time : Number
The time ratio between 0 and 1.
| SkeletonTreeNode |
Property | Defined by | ||
---|---|---|---|
_direction : Number = 0 | SkeletonTreeNode | ||
_duration : Number = 0 | SkeletonTreeNode | ||
_numJoints : uint | SkeletonTreeNode | ||
_time : Number = 0 | SkeletonTreeNode |
Method | Defined by | ||
---|---|---|---|
SkeletonTreeNode
(numJoints:uint)
Creates a new SkeletonTreeNode object.
| SkeletonTreeNode | ||
Updates the node's skeleton pose
| SkeletonTreeNode | ||
updatePositionData():void
Updates the s root delta position and bounds
todo: support bounds
| SkeletonTreeNode |
_direction | property |
protected var _direction:Number = 0
direction | property |
direction:Number
[read-write]Implementation
public function get direction():Number
public function set direction(value:Number):void
_duration | property |
protected var _duration:Number = 0
duration | property |
duration:Number
[read-only]Implementation
public function get duration():Number
name | property |
public var name:String
_numJoints | property |
protected var _numJoints:uint
rootDelta | property |
public var rootDelta:Vector3D
skeletonPose | property |
public var skeletonPose:SkeletonPose
_time | property |
protected var _time:Number = 0
time | property |
time:Number
[read-write]The time ratio between 0 and 1.
Implementation public function get time():Number
public function set time(value:Number):void
SkeletonTreeNode | () | constructor |
public function SkeletonTreeNode(numJoints:uint)
Parameters
numJoints:uint — The amount of joint in the target skeleton.
|
updatePose | () | method |
public function updatePose(skeleton:Skeleton):void
Updates the node's skeleton pose
Parametersskeleton:Skeleton |
updatePositionData | () | method |
public function updatePositionData():void
Updates the s root delta position and bounds todo: support bounds