Package | away3d.animators.nodes |
Class | public class SkeletonDifferenceNode |
Inheritance | SkeletonDifferenceNode AnimationNodeBase NamedAssetBase flash.events.EventDispatcher |
Implements | ISkeletonAnimationNode |
Property | Defined By | ||
---|---|---|---|
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : String [read-only]
| AnimationNodeBase | ||
baseInput : ISkeletonAnimationNode
Defines a base input node to use for the blended output. | SkeletonDifferenceNode | ||
blendWeight : Number
Defines a fractional value between 0 and 1 representing the blending ratio between the base input (0) and difference input (1),
used to produce the skeleton pose output. | SkeletonDifferenceNode | ||
differenceInput : ISkeletonAnimationNode
Defines a difference input node to use for the blended output. | SkeletonDifferenceNode | ||
looping : Boolean
Determines whether the contents of the animation node have looping characteristics enabled. | AnimationNodeBase | ||
name : String | NamedAssetBase | ||
originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | ||
rootDelta : Vector3D [read-only]
Returns a 3d vector representing the translation delta of the animating entity for the current timestep of animation
| AnimationNodeBase |
Method | Defined By | ||
---|---|---|---|
Creates a new SkeletonAdditiveNode object. | SkeletonDifferenceNode | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
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 base input and difference input nodes. | SkeletonDifferenceNode | ||
reset(time:int):void [override]
Resets the configuration of the node to its default state. | SkeletonDifferenceNode | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | ||
update(time:int):void
Updates the configuration of the node to its current state. | AnimationNodeBase | ||
updateSkeletonPose(skeleton:Skeleton):void
Updates the output skeleton pose of the node based on the blendWeight value between base input and difference input nodes. | SkeletonDifferenceNode |
Method | Defined By | ||
---|---|---|---|
updateLooping():void
Updates the node's looping state
| AnimationNodeBase | ||
updateRootDelta():void [override]
Updates the node's root delta position
| SkeletonDifferenceNode | ||
updateTime(time:int):void [override]
Updates the node's internal playhead position. | SkeletonDifferenceNode |
baseInput | property |
public var baseInput:ISkeletonAnimationNode
Defines a base input node to use for the blended output.
blendWeight | property |
blendWeight:Number
Defines a fractional value between 0 and 1 representing the blending ratio between the base input (0) and difference input (1), used to produce the skeleton pose output.
public function get blendWeight():Number
public function set blendWeight(value:Number):void
See also
differenceInput | property |
public var differenceInput:ISkeletonAnimationNode
Defines a difference input node to use for the blended output.
SkeletonDifferenceNode | () | Constructor |
public function SkeletonDifferenceNode()
Creates a new SkeletonAdditiveNode
object.
getSkeletonPose | () | method |
public function getSkeletonPose(skeleton:Skeleton):SkeletonPose
Returns the current skeleton pose of the animation node based on the blendWeight value between base input and difference input nodes.
Parameters
skeleton:Skeleton |
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 blendWeight value between base input and difference 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.
|