Packageaway3d.animators.skeleton
Classpublic class SkeletonTreeNode
SubclassesSkeletonAdditiveNode, SkeletonBinaryLERPNode, SkeletonClipNodeBase, SkeletonDirectionalNode, SkeletonNaryLERPNode

SkeletonTreeNode provides an abstract base class for nodes in a skeleton blend tree.

Public Properties
 PropertyDefined 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
Protected Properties
 PropertyDefined by
  _direction : Number = 0
SkeletonTreeNode
  _duration : Number = 0
SkeletonTreeNode
  _numJoints : uint
SkeletonTreeNode
  _time : Number = 0
SkeletonTreeNode
Public Methods
 MethodDefined by
  
SkeletonTreeNode
(numJoints:uint)
Creates a new SkeletonTreeNode object.
SkeletonTreeNode
  
updatePose(skeleton:Skeleton):void
Updates the node's skeleton pose
SkeletonTreeNode
  
Updates the s root delta position and bounds todo: support bounds
SkeletonTreeNode
Property detail
_directionproperty
protected var _direction:Number = 0
directionproperty 
direction:Number  [read-write]Implementation
    public function get direction():Number
    public function set direction(value:Number):void
_durationproperty 
protected var _duration:Number = 0
durationproperty 
duration:Number  [read-only]Implementation
    public function get duration():Number
nameproperty 
public var name:String
_numJointsproperty 
protected var _numJoints:uint
rootDeltaproperty 
public var rootDelta:Vector3D
skeletonPoseproperty 
public var skeletonPose:SkeletonPose
_timeproperty 
protected var _time:Number = 0
timeproperty 
time:Number  [read-write]

The time ratio between 0 and 1.

Implementation
    public function get time():Number
    public function set time(value:Number):void
Constructor detail
SkeletonTreeNode()constructor
public function SkeletonTreeNode(numJoints:uint)Parameters
numJoints:uint — The amount of joint in the target skeleton.
Init Parameters
Method detail
updatePose()method
public function updatePose(skeleton:Skeleton):void

Updates the node's skeleton pose

Parameters
skeleton:Skeleton
updatePositionData()method 
public function updatePositionData():void

Updates the s root delta position and bounds todo: support bounds

Wiki link
Click to go to the wiki page for 'away3d.animators.skeleton.SkeletonTreeNode'

Code examples

Comments