Package | away3d.animators.skeleton |
Class | public class SkeletonRangeClipNode |
Inheritance | SkeletonRangeClipNode SkeletonClipNodeBase SkeletonTreeNode |
Property | Defined by | ||
---|---|---|---|
clip : SkeletonAnimationSequence | SkeletonClipNodeBase | ||
direction : Number | SkeletonTreeNode | ||
duration : Number | SkeletonClipNodeBase | ||
highQuality : Boolean
Defines whether to use spherical (true) or regular (false) linear interpolation for the joint orientations.
| SkeletonClipNodeBase | ||
name : String | SkeletonTreeNode | ||
phase : Number
The normalized ratio of the state within the range.
| SkeletonRangeClipNode | ||
rootDelta : Vector3D | SkeletonTreeNode | ||
skeletonPose : SkeletonPose | SkeletonTreeNode | ||
time : Number
The time ratio between 0 and 1.
| SkeletonTreeNode |
Method | Defined by | ||
---|---|---|---|
SkeletonRangeClipNode
(numJoints:uint)
Creates a new SkeletonPhaseClipNode object.
| SkeletonRangeClipNode | ||
Updates the node's skeleton pose
| SkeletonRangeClipNode | ||
updatePositionData():void
Updates the s root delta position and bounds
todo: support bounds
| SkeletonRangeClipNode |
phase | property |
phase:Number
[read-write]The normalized ratio of the state within the range. For example, for a clip that defines left, center and right aiming poses, 0 would be entirely left, 1 entirely right, and .5 the center.
Implementation public function get phase():Number
public function set phase(value:Number):void
SkeletonRangeClipNode | () | constructor |
public function SkeletonRangeClipNode(numJoints:uint)
Parameters
numJoints:uint — The amount of joints in the target skeleton.
|
updatePose | () | method |
public override function updatePose(skeleton:Skeleton):void
Updates the node's skeleton pose
Parametersskeleton:Skeleton |
updatePositionData | () | method |
public override function updatePositionData():void
Updates the s root delta position and bounds todo: support bounds