Packageaway3d.animators.states
Interfacepublic interface ISpriteSheetAnimationState extends IAnimationState
Implementors SpriteSheetAnimationState

Provides an interface for animation node classes that hold animation data for use in the SpriteSheetAnimator class.

See also

away3d.animators.SpriteSheetAnimator


Public Properties
 PropertyDefined By
  currentFrameData : SpriteSheetAnimationFrame
[read-only] Returns the current SpriteSheetAnimationFrame of animation in the clip based on the internal playhead position.
ISpriteSheetAnimationState
  currentFrameNumber : uint
[read-only] Returns the current frame number.
ISpriteSheetAnimationState
 InheritedpositionDelta : Vector3D
[read-only]
IAnimationState
Public Methods
 MethodDefined By
 Inherited
offset(startTime:int):void
IAnimationState
 Inherited
phase(value:Number):void
Sets the animation phase of the node.
IAnimationState
 Inherited
update(time:int):void
IAnimationState
Property Detail
currentFrameDataproperty
currentFrameData:SpriteSheetAnimationFrame  [read-only]

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


Implementation
    public function get currentFrameData():SpriteSheetAnimationFrame
currentFrameNumberproperty 
currentFrameNumber:uint  [read-only]

Returns the current frame number.


Implementation
    public function get currentFrameNumber():uint