Packageaway3d.animators.states
Classpublic class SkeletonNaryLERPState
InheritanceSkeletonNaryLERPState Inheritance AnimationStateBase Inheritance Object
Implements ISkeletonAnimationState



Public Properties
 PropertyDefined By
 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_positionDeltaDirty : Boolean = true
AnimationStateBase
 Inherited_rootDelta : Vector3D
AnimationStateBase
 Inherited_startTime : int
AnimationStateBase
 Inherited_time : int
AnimationStateBase
Public Methods
 MethodDefined By
  
SkeletonNaryLERPState(animator:IAnimator, skeletonAnimationNode:SkeletonNaryLERPNode)
SkeletonNaryLERPState
  
getBlendWeightAt(index:uint):Number
Returns the blend weight of the skeleton aniamtion node that resides at the given input index.
SkeletonNaryLERPState
  
Returns the current skeleton pose of the animation in the clip based on the internal playhead position.
SkeletonNaryLERPState
 Inherited
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.
SkeletonNaryLERPState
  
setBlendWeightAt(index:uint, blendWeight:Number):void
Sets the blend weight of the skeleton aniamtion node that resides at the given input index.
SkeletonNaryLERPState
 Inherited
update(time:int):void
Updates the configuration of the node to its current state.
AnimationStateBase
Protected Methods
 MethodDefined By
  
[override] Updates the node's root delta position
SkeletonNaryLERPState
  
updateTime(time:int):void
[override] Updates the node's internal playhead position.
SkeletonNaryLERPState
Constructor Detail
SkeletonNaryLERPState()Constructor
public function SkeletonNaryLERPState(animator:IAnimator, skeletonAnimationNode:SkeletonNaryLERPNode)



Parameters
animator:IAnimator
 
skeletonAnimationNode:SkeletonNaryLERPNode
Method Detail
getBlendWeightAt()method
public function getBlendWeightAt(index:uint):Number

Returns the blend weight of the skeleton aniamtion node that resides at the given input index.

Parameters

index:uint — The input index for which the skeleton animation node blend weight is requested.

Returns
Number
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
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.

setBlendWeightAt()method 
public function setBlendWeightAt(index:uint, blendWeight:Number):void

Sets the blend weight of the skeleton aniamtion node that resides at the given input index.

Parameters

index:uint — The input index on which the skeleton animation node blend weight is to be set.
 
blendWeight:Number — The blend weight value to use for the given skeleton animation node index.

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.