Packageaway3d.animators.nodes
Classpublic class AnimationNodeBase
InheritanceAnimationNodeBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher
Implements IAsset
Subclasses AnimationClipNodeBase, SkeletonBinaryLERPNode, SkeletonDifferenceNode, SkeletonDirectionalNode, SkeletonNaryLERPNode

Provides an abstract base class for nodes in an animation blend tree.



Public Properties
 PropertyDefined By
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
  assetType : String
[read-only]
AnimationNodeBase
  looping : 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
  rootDelta : 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
  _looping : Boolean = true
AnimationNodeBase
  _rootDelta : Vector3D
AnimationNodeBase
  _rootDeltaDirty : Boolean = true
AnimationNodeBase
  _time : int
AnimationNodeBase
  _totalDuration : uint = 0
AnimationNodeBase
Public Methods
 MethodDefined By
  
Creates a new AnimationNodeBase object.
AnimationNodeBase
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
  
dispose():void
Cleans up resources used by this asset.
AnimationNodeBase
  
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
  
update(time:int):void
Updates the configuration of the node to its current state.
AnimationNodeBase
Protected Methods
 MethodDefined By
  
Updates the node's looping state
AnimationNodeBase
  
Updates the node's root delta position
AnimationNodeBase
  
updateTime(time:int):void
Updates the node's internal playhead position.
AnimationNodeBase
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
_loopingproperty
protected var _looping:Boolean = true

_rootDeltaproperty 
protected var _rootDelta:Vector3D

_rootDeltaDirtyproperty 
protected var _rootDeltaDirty:Boolean = true

_timeproperty 
protected var _time:int

_totalDurationproperty 
protected var _totalDuration:uint = 0

assetTypeproperty 
assetType:String  [read-only]


Implementation
    public function get assetType():String
loopingproperty 
looping:Boolean

Determines whether the contents of the animation node have looping characteristics enabled.


Implementation
    public function get looping():Boolean
    public function set looping(value:Boolean):void
rootDeltaproperty 
rootDelta:Vector3D  [read-only]

Returns a 3d vector representing the translation delta of the animating entity for the current timestep of animation


Implementation
    public function get rootDelta():Vector3D
Constructor Detail
AnimationNodeBase()Constructor
public function AnimationNodeBase()

Creates a new AnimationNodeBase object.

Method Detail
dispose()method
public function dispose():void

Cleans up resources used by this asset.

reset()method 
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.

update()method 
public function update(time:int):void

Updates the configuration of the node to its current state.

Parameters

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

See also

updateLooping()method 
protected function updateLooping():void

Updates the node's looping state

See also

updateRootDelta()method 
protected function updateRootDelta():void

Updates the node's root delta position

See also

updateTime()method 
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.