Packageaway3d.animators.data
Classpublic class AnimationSequenceBase
InheritanceAnimationSequenceBase Inheritance flash.events.EventDispatcher
ImplementsIResource
SubclassesSkeletonAnimationSequence, VertexAnimationSequence

The AnimationSequenceBase provides an abstract base class for pre-animated animation clips. todo: support frame bounds

Public Properties
 PropertyDefined by
  duration : uint
[read-only] The duration of the animation sequence.
AnimationSequenceBase
  fixedFrameRate : Boolean
Indicates whether the frames have a uniform duration, or whether frames are spread out unevenly over the timeline.
AnimationSequenceBase
  looping : Boolean = true
Indicates whether or not the animation sequence loops.
AnimationSequenceBase
  name : String
The name of the animation clip.
AnimationSequenceBase
  rootDelta : Vector3D
[read-only] The offset by which the root has moved.
AnimationSequenceBase
Protected Properties
 PropertyDefined by
  _name : String
AnimationSequenceBase
  _rootDelta : Vector3D
AnimationSequenceBase
Public Methods
 MethodDefined by
  
AnimationSequenceBase
(name:String)
Creates a new AnimationSequenceBase object.
AnimationSequenceBase
  
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
AnimationSequenceBase
Property detail
durationproperty
duration:uint  [read-only]

The duration of the animation sequence.

Implementation
    public function get duration():uint
_durationsproperty 
arcane var _durations:Vector
_fixedFrameRateproperty 
arcane var _fixedFrameRate:Boolean = true
fixedFrameRateproperty 
fixedFrameRate:Boolean  [read-write]

Indicates whether the frames have a uniform duration, or whether frames are spread out unevenly over the timeline. Defaults to true.

Implementation
    public function get fixedFrameRate():Boolean
    public function set fixedFrameRate(value:Boolean):void
loopingproperty 
public var looping:Boolean = true

Indicates whether or not the animation sequence loops.

_nameproperty 
protected var _name:String
nameproperty 
name:String  [read-write]

The name of the animation clip. It will be used as the identifier by sequence controller classes.

Implementation
    public function get name():String
    public function set name(value:String):void
_rootDeltaproperty 
protected var _rootDelta:Vector3D
rootDeltaproperty 
rootDelta:Vector3D  [read-only]

The offset by which the root has moved. Typically, root movement in the animation clip is ignored and instead applied to the scene graph position.

Implementation
    public function get rootDelta():Vector3D
_totalDurationproperty 
arcane var _totalDuration:uint
Constructor detail
AnimationSequenceBase()constructor
public function AnimationSequenceBase(name:String)Parameters
name:String — The name of the animation clip. It will be used as the identifier by sequence controller classes.
Init Parameters
Method detail
dispose()method
public function dispose(deep:Boolean):void

Cleans up any resources used by the current object.

Parameters
deep:Boolean — Indicates whether other resources should be cleaned up, that could potentially be shared across different instances.
notifyPlaybackComplete()method 
arcane function notifyPlaybackComplete():void
Wiki link
Click to go to the wiki page for 'away3d.animators.data.AnimationSequenceBase'

Code examples

Comments