Package | away3d.animators.nodes |
Class | public class AnimationClipNodeBase |
Inheritance | AnimationClipNodeBase AnimationNodeBase NamedAssetBase flash.events.EventDispatcher |
Implements | IAnimationNode |
Subclasses | SkeletonClipNode, UVClipNode, VertexClipNode |
Property | Defined By | ||
---|---|---|---|
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : 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 | ||
looping : Boolean
Determines whether the contents of the animation node have looping characteristics enabled. | AnimationNodeBase | ||
name : String | NamedAssetBase | ||
nextFrame : uint [read-only]
Returns the next frame of animation in the clip based on the internal playhead position. | AnimationClipNodeBase | ||
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 | ||
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 |
Property | Defined By | ||
---|---|---|---|
_blendWeight : Number | AnimationClipNodeBase | ||
_currentFrame : uint | AnimationClipNodeBase | ||
_durations : Vector.<uint> | AnimationClipNodeBase | ||
_framesDirty : Boolean = true | AnimationClipNodeBase | ||
_lastFrame : uint | AnimationClipNodeBase | ||
_looping : Boolean = true | AnimationNodeBase | ||
_nextFrame : uint | AnimationClipNodeBase | ||
_numFrames : uint = 0 | AnimationClipNodeBase | ||
_rootDelta : Vector3D | AnimationNodeBase | ||
_rootDeltaDirty : Boolean = true | AnimationNodeBase | ||
_stitchDirty : Boolean = true | AnimationClipNodeBase | ||
_stitchFinalFrame : Boolean = false | AnimationClipNodeBase | ||
_time : int | AnimationNodeBase | ||
_totalDelta : Vector3D | AnimationClipNodeBase | ||
_totalDuration : uint = 0 | AnimationNodeBase |
Method | Defined By | ||
---|---|---|---|
Creates a new AnimationClipNodeBase object. | AnimationClipNodeBase | ||
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 | ||
---|---|---|---|
updateFrames():void
Updates the nodes internal playhead to determine the current and next animation frame, and the blendWeight between the two. | AnimationClipNodeBase | ||
updateLooping():void [override]
Updates the node's looping state
| AnimationClipNodeBase | ||
updateRootDelta():void
Updates the node's root delta position
| AnimationNodeBase | ||
updateStitch():void
Updates the node's final frame stitch state. | AnimationClipNodeBase | ||
updateTime(time:int):void
Updates the node's internal playhead position. | AnimationNodeBase |
_blendWeight | property |
protected var _blendWeight:Number
_currentFrame | property |
protected var _currentFrame:uint
_durations | property |
protected var _durations:Vector.<uint>
_framesDirty | property |
protected var _framesDirty:Boolean = true
_lastFrame | property |
protected var _lastFrame:uint
_nextFrame | property |
protected var _nextFrame:uint
_numFrames | property |
protected var _numFrames:uint = 0
_stitchDirty | property |
protected var _stitchDirty:Boolean = true
_stitchFinalFrame | property |
protected var _stitchFinalFrame:Boolean = false
_totalDelta | property |
protected var _totalDelta:Vector3D
blendWeight | property |
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.
public function get blendWeight():Number
See also
currentFrame | property |
currentFrame:uint
[read-only] Returns the current frame of animation in the clip based on the internal playhead position.
public function get currentFrame():uint
durations | property |
durations:Vector.<uint>
[read-only] Returns a vector of time values representing the duration (in milliseconds) of each animation frame in the clip.
public function get durations():Vector.<uint>
fixedFrameRate | property |
public var fixedFrameRate:Boolean = true
nextFrame | property |
nextFrame:uint
[read-only] Returns the next frame of animation in the clip based on the internal playhead position.
public function get nextFrame():uint
stitchFinalFrame | property |
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.
public function get stitchFinalFrame():Boolean
public function set stitchFinalFrame(value:Boolean):void
AnimationClipNodeBase | () | Constructor |
public function AnimationClipNodeBase()
Creates a new AnimationClipNodeBase
object.
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