Package | away3d.animators.states |
Class | public class SkeletonBinaryLERPState |
Inheritance | SkeletonBinaryLERPState AnimationStateBase Object |
Implements | ISkeletonAnimationState |
Subclasses | CrossfadeTransitionState |
Property | Defined By | ||
---|---|---|---|
blendWeight : Number
Defines a fractional value between 0 and 1 representing the blending ratio between inputA (0) and inputB (1),
used to produce the skeleton pose output. | SkeletonBinaryLERPState | ||
positionDelta : Vector3D [read-only]
Returns a 3d vector representing the translation delta of the animating entity for the current timestep of animation
| AnimationStateBase |
Method | Defined By | ||
---|---|---|---|
SkeletonBinaryLERPState | |||
Returns the current skeleton pose of the animation in the clip based on the internal playhead position. | SkeletonBinaryLERPState | ||
offset(startTime:int):void
Resets the start time of the node to a new value. | AnimationStateBase | ||
phase(value:Number):void [override]
Sets the animation phase of the node. | SkeletonBinaryLERPState | ||
update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase |
Method | Defined By | ||
---|---|---|---|
updatePositionDelta():void [override]
Updates the node's root delta position
| SkeletonBinaryLERPState | ||
updateTime(time:int):void [override]
Updates the node's internal playhead position. | SkeletonBinaryLERPState |
blendWeight | property |
blendWeight:Number
Defines a fractional value between 0 and 1 representing the blending ratio between inputA (0) and inputB (1), used to produce the skeleton pose output.
public function get blendWeight():Number
public function set blendWeight(value:Number):void
See also
SkeletonBinaryLERPState | () | Constructor |
public function SkeletonBinaryLERPState(animator:IAnimator, skeletonAnimationNode:SkeletonBinaryLERPNode)
animator:IAnimator | |
skeletonAnimationNode:SkeletonBinaryLERPNode |
getSkeletonPose | () | method |
public function getSkeletonPose(skeleton:Skeleton):SkeletonPose
Returns the current skeleton pose of the animation in the clip based on the internal playhead position.
Parameters
skeleton:Skeleton |
SkeletonPose |
phase | () | method |
override public function phase(value:Number):void
Sets the animation phase of the node.
Parameters
value:Number — The phase value to use. 0 represents the beginning of an animation clip, 1 represents the end.
|
updatePositionDelta | () | method |
override protected function updatePositionDelta():void
Updates the node's root delta position
updateTime | () | method |
override protected function updateTime(time:int):void
Updates the node's internal playhead position.
Parameters
time:int — The local time (in milliseconds) of the node's playhead position.
|