Packageaway3d.animators.nodes
Classpublic class SkeletonNaryLERPNode
InheritanceSkeletonNaryLERPNode Inheritance AnimationNodeBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher
Implements ISkeletonAnimationNode

A skeleton animation node that uses an n-dimensional array of 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
 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 SkeletonNaryLERPNode object.
SkeletonNaryLERPNode
  
Adds a new skeleton animation node input to the animation node.
SkeletonNaryLERPNode
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
 Inherited
dispose():void
Cleans up resources used by this asset.
AnimationNodeBase
  
getBlendWeightAt(index:uint):Number
Returns the blend weight of the skeleton aniamtion node that resides at the given input index.
SkeletonNaryLERPNode
  
Returns the skeleton animation node object that resides at the given input index.
SkeletonNaryLERPNode
  
Returns an integer representing the input index of the given skeleton animation node.
SkeletonNaryLERPNode
  
Returns the current skeleton pose of the animation node based on the blend weight values given to the input nodes.
SkeletonNaryLERPNode
 Inherited
reset(time:int):void
Resets the configuration of the node to its default state.
AnimationNodeBase
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
  
setBlendWeightAt(index:uint, blendWeight:Number):void
Sets the blend weight of the skeleton aniamtion node that resides at the given input index.
SkeletonNaryLERPNode
 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 blend weight values given to the input nodes.
SkeletonNaryLERPNode
Protected Methods
 MethodDefined By
 Inherited
Updates the node's looping state
AnimationNodeBase
  
[override] Updates the node's root delta position
SkeletonNaryLERPNode
  
updateTime(time:int):void
[override] Updates the node's internal playhead position.
SkeletonNaryLERPNode
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Constructor Detail
SkeletonNaryLERPNode()Constructor
public function SkeletonNaryLERPNode()

Creates a new SkeletonNaryLERPNode object.

Method Detail
addInput()method
public function addInput(input:ISkeletonAnimationNode):void

Adds a new skeleton animation node input to the animation node.

Parameters

input:ISkeletonAnimationNode

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
getInputAt()method 
public function getInputAt(index:uint):ISkeletonAnimationNode

Returns the skeleton animation node object that resides at the given input index.

Parameters

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

Returns
ISkeletonAnimationNode
getInputIndex()method 
public function getInputIndex(input:ISkeletonAnimationNode):int

Returns an integer representing the input index of the given skeleton animation node.

Parameters

input:ISkeletonAnimationNode — The skeleton animation node for with the input index is requested.

Returns
int
getSkeletonPose()method 
public function getSkeletonPose(skeleton:Skeleton):SkeletonPose

Returns the current skeleton pose of the animation node based on the blend weight values given to the input nodes.

Parameters

skeleton:Skeleton

Returns
SkeletonPose

See also

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.

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 blend weight values given to the 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.