Packageaway3d.animators.nodes
Classpublic class AnimationClipNodeBase
InheritanceAnimationClipNodeBase Inheritance AnimationNodeBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher
Implements IAnimationNode
Subclasses SkeletonClipNode, UVClipNode, VertexClipNode

Provides an abstract base class for nodes with time-based animation data in an animation blend tree.



Public Properties
 PropertyDefined By
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
 InheritedassetType : String
[read-only]
AnimationNodeBase
  blendWeight : Number
[read-only] Returns a fractional value between 0 and 1 representing the blending ratio of the current playhead position between the current frame (0) and next frame (1) of the animation.
AnimationClipNodeBase
  currentFrame : uint
[read-only] Returns the current frame of animation in the clip based on the internal playhead position.
AnimationClipNodeBase
  durations : Vector.<uint>
[read-only] Returns a vector of time values representing the duration (in milliseconds) of each animation frame in the clip.
AnimationClipNodeBase
  fixedFrameRate : Boolean = true
AnimationClipNodeBase
 Inheritedlooping : Boolean
Determines whether the contents of the animation node have looping characteristics enabled.
AnimationNodeBase
 Inheritedname : String
NamedAssetBase
  nextFrame : uint
[read-only] Returns the next frame of animation in the clip based on the internal playhead position.
AnimationClipNodeBase
 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
  stitchFinalFrame : Boolean
Defines if looping content blends the final frame of animation data with the first (true) or works on the assumption that both first and last frames are identical (false).
AnimationClipNodeBase
Protected Properties
 PropertyDefined By
  _blendWeight : Number
AnimationClipNodeBase
  _currentFrame : uint
AnimationClipNodeBase
  _durations : Vector.<uint>
AnimationClipNodeBase
  _framesDirty : Boolean = true
AnimationClipNodeBase
  _lastFrame : uint
AnimationClipNodeBase
 Inherited_looping : Boolean = true
AnimationNodeBase
  _nextFrame : uint
AnimationClipNodeBase
  _numFrames : uint = 0
AnimationClipNodeBase
 Inherited_rootDelta : Vector3D
AnimationNodeBase
 Inherited_rootDeltaDirty : Boolean = true
AnimationNodeBase
  _stitchDirty : Boolean = true
AnimationClipNodeBase
  _stitchFinalFrame : Boolean = false
AnimationClipNodeBase
 Inherited_time : int
AnimationNodeBase
  _totalDelta : Vector3D
AnimationClipNodeBase
 Inherited_totalDuration : uint = 0
AnimationNodeBase
Public Methods
 MethodDefined By
  
Creates a new AnimationClipNodeBase object.
AnimationClipNodeBase
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
 Inherited
dispose():void
Cleans up resources used by this asset.
AnimationNodeBase
 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
 Inherited
update(time:int):void
Updates the configuration of the node to its current state.
AnimationNodeBase
Protected Methods
 MethodDefined By
  
Updates the nodes internal playhead to determine the current and next animation frame, and the blendWeight between the two.
AnimationClipNodeBase
  
[override] Updates the node's looping state
AnimationClipNodeBase
 Inherited
Updates the node's root delta position
AnimationNodeBase
  
Updates the node's final frame stitch state.
AnimationClipNodeBase
 Inherited
updateTime(time:int):void
Updates the node's internal playhead position.
AnimationNodeBase
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
_blendWeightproperty
protected var _blendWeight:Number

_currentFrameproperty 
protected var _currentFrame:uint

_durationsproperty 
protected var _durations:Vector.<uint>

_framesDirtyproperty 
protected var _framesDirty:Boolean = true

_lastFrameproperty 
protected var _lastFrame:uint

_nextFrameproperty 
protected var _nextFrame:uint

_numFramesproperty 
protected var _numFrames:uint = 0

_stitchDirtyproperty 
protected var _stitchDirty:Boolean = true

_stitchFinalFrameproperty 
protected var _stitchFinalFrame:Boolean = false

_totalDeltaproperty 
protected var _totalDelta:Vector3D

blendWeightproperty 
blendWeight:Number  [read-only]

Returns a fractional value between 0 and 1 representing the blending ratio of the current playhead position between the current frame (0) and next frame (1) of the animation.


Implementation
    public function get blendWeight():Number

See also

currentFrameproperty 
currentFrame:uint  [read-only]

Returns the current frame of animation in the clip based on the internal playhead position.


Implementation
    public function get currentFrame():uint
durationsproperty 
durations:Vector.<uint>  [read-only]

Returns a vector of time values representing the duration (in milliseconds) of each animation frame in the clip.


Implementation
    public function get durations():Vector.<uint>
fixedFrameRateproperty 
public var fixedFrameRate:Boolean = true

nextFrameproperty 
nextFrame:uint  [read-only]

Returns the next frame of animation in the clip based on the internal playhead position.


Implementation
    public function get nextFrame():uint
stitchFinalFrameproperty 
stitchFinalFrame:Boolean

Defines if looping content blends the final frame of animation data with the first (true) or works on the assumption that both first and last frames are identical (false). Defaults to false.


Implementation
    public function get stitchFinalFrame():Boolean
    public function set stitchFinalFrame(value:Boolean):void
Constructor Detail
AnimationClipNodeBase()Constructor
public function AnimationClipNodeBase()

Creates a new AnimationClipNodeBase object.

Method Detail
updateFrames()method
protected function updateFrames():void

Updates the nodes internal playhead to determine the current and next animation frame, and the blendWeight between the two.

See also

updateLooping()method 
override protected function updateLooping():void

Updates the node's looping state

updateStitch()method 
protected function updateStitch():void

Updates the node's final frame stitch state.

See also