Packageaway3d.animators.states
Classpublic class SkeletonClipState
InheritanceSkeletonClipState Inheritance AnimationClipState Inheritance AnimationStateBase Inheritance Object
Implements ISkeletonAnimationState



Public Properties
 PropertyDefined By
 InheritedblendWeight : Number
[read-only] Returns a fractional value between 0 and 1 representing the blending ratio of the current playhead position between the current frame (0) and next frame (1) of the animation.
AnimationClipState
 InheritedcurrentFrame : uint
[read-only] Returns the current frame of animation in the clip based on the internal playhead position.
AnimationClipState
  currentPose : SkeletonPose
[read-only] Returns the current skeleton pose frame of animation in the clip based on the internal playhead position.
SkeletonClipState
 InheritednextFrame : uint
[read-only] Returns the next frame of animation in the clip based on the internal playhead position.
AnimationClipState
  nextPose : SkeletonPose
[read-only] Returns the next skeleton pose frame of animation in the clip based on the internal playhead position.
SkeletonClipState
 InheritedpositionDelta : Vector3D
[read-only] Returns a 3d vector representing the translation delta of the animating entity for the current timestep of animation
AnimationStateBase
Protected Properties
 PropertyDefined By
 Inherited_animationNode : AnimationNodeBase
AnimationStateBase
 Inherited_animator : IAnimator
AnimationStateBase
 Inherited_blendWeight : Number
AnimationClipState
 Inherited_currentFrame : uint
AnimationClipState
 Inherited_framesDirty : Boolean = true
AnimationClipState
 Inherited_nextFrame : uint
AnimationClipState
 Inherited_oldFrame : uint
AnimationClipState
 Inherited_positionDeltaDirty : Boolean = true
AnimationStateBase
 Inherited_rootDelta : Vector3D
AnimationStateBase
 Inherited_startTime : int
AnimationStateBase
 Inherited_time : int
AnimationStateBase
 Inherited_timeDir : int
AnimationClipState
Public Methods
 MethodDefined By
  
SkeletonClipState(animator:IAnimator, skeletonClipNode:SkeletonClipNode)
SkeletonClipState
  
Returns the current skeleton pose of the animation in the clip based on the internal playhead position.
SkeletonClipState
 Inherited
offset(startTime:int):void
Resets the start time of the node to a new value.
AnimationStateBase
 Inherited
phase(value:Number):void
[override] Sets the animation phase of the node.
AnimationClipState
 Inherited
update(time:int):void
[override] Updates the configuration of the node to its current state.
AnimationClipState
Protected Methods
 MethodDefined By
  
[override] Updates the nodes internal playhead to determine the current and next animation frame, and the blendWeight between the two.
SkeletonClipState
  
[override] Updates the node's root delta position
SkeletonClipState
  
updateTime(time:int):void
[override] Updates the node's internal playhead position.
SkeletonClipState
Property Detail
currentPoseproperty
currentPose:SkeletonPose  [read-only]

Returns the current skeleton pose frame of animation in the clip based on the internal playhead position.


Implementation
    public function get currentPose():SkeletonPose
nextPoseproperty 
nextPose:SkeletonPose  [read-only]

Returns the next skeleton pose frame of animation in the clip based on the internal playhead position.


Implementation
    public function get nextPose():SkeletonPose
Constructor Detail
SkeletonClipState()Constructor
public function SkeletonClipState(animator:IAnimator, skeletonClipNode:SkeletonClipNode)



Parameters
animator:IAnimator
 
skeletonClipNode:SkeletonClipNode
Method Detail
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

Returns
SkeletonPose
updateFrames()method 
override protected function updateFrames():void

Updates the nodes internal playhead to determine the current and next animation frame, and the blendWeight between the two.

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.