Packageaway3d.animators.nodes
Classpublic class SkeletonDirectionalNode
InheritanceSkeletonDirectionalNode Inheritance AnimationNodeBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher
Implements ISkeletonAnimationNode

A skeleton animation node that uses four directional input poses with an input direction to blend a linearly interpolated output of a skeleton pose.



Public Properties
 PropertyDefined By
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
 InheritedassetType : String
[read-only]
AnimationNodeBase
  backward : ISkeletonAnimationNode
Defines the backwards configured input node to use for the blended output.
SkeletonDirectionalNode
  direction : Number
Defines the direction in degrees of the aniamtion between the forwards (0), right(90) backwards (180) and left(270) input nodes, used to produce the skeleton pose output.
SkeletonDirectionalNode
  forward : ISkeletonAnimationNode
Defines the forward configured input node to use for the blended output.
SkeletonDirectionalNode
  left : ISkeletonAnimationNode
Defines the left configured input node to use for the blended output.
SkeletonDirectionalNode
 Inheritedlooping : Boolean
Determines whether the contents of the animation node have looping characteristics enabled.
AnimationNodeBase
 Inheritedname : String
NamedAssetBase
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
  right : ISkeletonAnimationNode
Defines the right configured input node to use for the blended output.
SkeletonDirectionalNode
 InheritedrootDelta : Vector3D
[read-only] Returns a 3d vector representing the translation delta of the animating entity for the current timestep of animation
AnimationNodeBase
Protected Properties
 PropertyDefined By
 Inherited_looping : Boolean = true
AnimationNodeBase
 Inherited_rootDelta : Vector3D
AnimationNodeBase
 Inherited_rootDeltaDirty : Boolean = true
AnimationNodeBase
 Inherited_time : int
AnimationNodeBase
 Inherited_totalDuration : uint = 0
AnimationNodeBase
Public Methods
 MethodDefined By
  
SkeletonDirectionalNode
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
 Inherited
dispose():void
Cleans up resources used by this asset.
AnimationNodeBase
  
Returns the current skeleton pose of the animation node based on the direction value between forward, backwards, left and right input nodes.
SkeletonDirectionalNode
  
reset(time:int):void
[override] Resets the configuration of the node to its default state.
SkeletonDirectionalNode
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
 Inherited
update(time:int):void
Updates the configuration of the node to its current state.
AnimationNodeBase
  
Updates the output skeleton pose of the node based on the direction value between forward, backwards, left and right input nodes.
SkeletonDirectionalNode
Protected Methods
 MethodDefined By
 Inherited
Updates the node's looping state
AnimationNodeBase
  
[override] Updates the node's root delta position
SkeletonDirectionalNode
  
updateTime(time:int):void
[override] Updates the node's internal playhead position.
SkeletonDirectionalNode
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
backwardproperty
public var backward:ISkeletonAnimationNode

Defines the backwards configured input node to use for the blended output.

directionproperty 
direction:Number

Defines the direction in degrees of the aniamtion between the forwards (0), right(90) backwards (180) and left(270) input nodes, used to produce the skeleton pose output.


Implementation
    public function get direction():Number
    public function set direction(value:Number):void
forwardproperty 
public var forward:ISkeletonAnimationNode

Defines the forward configured input node to use for the blended output.

leftproperty 
public var left:ISkeletonAnimationNode

Defines the left configured input node to use for the blended output.

rightproperty 
public var right:ISkeletonAnimationNode

Defines the right configured input node to use for the blended output.

Constructor Detail
SkeletonDirectionalNode()Constructor
public function SkeletonDirectionalNode()



Method Detail
getSkeletonPose()method
public function getSkeletonPose(skeleton:Skeleton):SkeletonPose

Returns the current skeleton pose of the animation node based on the direction value between forward, backwards, left and right input nodes.

Parameters

skeleton:Skeleton

Returns
SkeletonPose

See also

reset()method 
override public function reset(time:int):void

Resets the configuration of the node to its default state.

Parameters

time:int — The absolute time (in milliseconds) of the animator's playhead position.

updateRootDelta()method 
override protected function updateRootDelta():void

Updates the node's root delta position

updateSkeletonPose()method 
public function updateSkeletonPose(skeleton:Skeleton):void

Updates the output skeleton pose of the node based on the direction value between forward, backwards, left and right input nodes.

Parameters

skeleton:Skeleton — The skeleton used by the animator requesting the ouput pose.

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.