Package | away3d.animators.nodes |
Class | public class AnimationNodeBase |
Inheritance | AnimationNodeBase NamedAssetBase flash.events.EventDispatcher |
Implements | IAsset |
Subclasses | AnimationClipNodeBase, SkeletonBinaryLERPNode, SkeletonDifferenceNode, SkeletonDirectionalNode, SkeletonNaryLERPNode |
Property | Defined By | ||
---|---|---|---|
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : String [read-only]
| AnimationNodeBase | ||
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 |
Property | Defined By | ||
---|---|---|---|
_looping : Boolean = true | AnimationNodeBase | ||
_rootDelta : Vector3D | AnimationNodeBase | ||
_rootDeltaDirty : Boolean = true | AnimationNodeBase | ||
_time : int | AnimationNodeBase | ||
_totalDuration : uint = 0 | AnimationNodeBase |
Method | Defined By | ||
---|---|---|---|
Creates a new AnimationNodeBase object. | AnimationNodeBase | ||
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 | ||
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 |
Method | Defined By | ||
---|---|---|---|
updateLooping():void
Updates the node's looping state
| AnimationNodeBase | ||
updateRootDelta():void
Updates the node's root delta position
| AnimationNodeBase | ||
updateTime(time:int):void
Updates the node's internal playhead position. | AnimationNodeBase |
_looping | property |
protected var _looping:Boolean = true
_rootDelta | property |
protected var _rootDelta:Vector3D
_rootDeltaDirty | property |
protected var _rootDeltaDirty:Boolean = true
_time | property |
protected var _time:int
_totalDuration | property |
protected var _totalDuration:uint = 0
assetType | property |
assetType:String
[read-only]
public function get assetType():String
looping | property |
looping:Boolean
Determines whether the contents of the animation node have looping characteristics enabled.
public function get looping():Boolean
public function set looping(value:Boolean):void
rootDelta | property |
rootDelta:Vector3D
[read-only] Returns a 3d vector representing the translation delta of the animating entity for the current timestep of animation
public function get rootDelta():Vector3D
AnimationNodeBase | () | Constructor |
public function AnimationNodeBase()
Creates a new AnimationNodeBase
object.
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 |
updateRootDelta | () | method |
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.
|