Packageaway3d.animators.nodes
Classpublic class SkeletonBinaryLERPNode
InheritanceSkeletonBinaryLERPNode Inheritance AnimationNodeBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher
Implements ISkeletonAnimationNode

A skeleton animation node that uses two animation node inputs to blend a lineraly 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
  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.
SkeletonBinaryLERPNode
  inputA : ISkeletonAnimationNode
Defines input node A to use for the blended output.
SkeletonBinaryLERPNode
  inputB : ISkeletonAnimationNode
Defines input node B to use for the blended output.
SkeletonBinaryLERPNode
 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
 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
  
Creates a new SkeletonBinaryLERPNode object.
SkeletonBinaryLERPNode
 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 blendWeight value between input nodes.
SkeletonBinaryLERPNode
  
reset(time:int):void
[override] Resets the configuration of the node to its default state.
SkeletonBinaryLERPNode
 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
Protected Methods
 MethodDefined By
 Inherited
Updates the node's looping state
AnimationNodeBase
  
[override]
SkeletonBinaryLERPNode
  
Updates the output skeleton pose of the node based on the blendWeight value between input nodes.
SkeletonBinaryLERPNode
  
updateTime(time:int):void
[override]
SkeletonBinaryLERPNode
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
blendWeightproperty
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.


Implementation
    public function get blendWeight():Number
    public function set blendWeight(value:Number):void

See also

inputA
inputB
inputAproperty 
public var inputA:ISkeletonAnimationNode

Defines input node A to use for the blended output.

inputBproperty 
public var inputB:ISkeletonAnimationNode

Defines input node B to use for the blended output.

Constructor Detail
SkeletonBinaryLERPNode()Constructor
public function SkeletonBinaryLERPNode()

Creates a new SkeletonBinaryLERPNode object.

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

Returns the current skeleton pose of the animation node based on the blendWeight value between 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

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

Updates the output skeleton pose of the node based on the blendWeight value between input nodes.

Parameters

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

updateTime()method 
override protected function updateTime(time:int):void

Parameters

time:int