Packageaway3d.animators.data
Classpublic class AnimationSequence

Holds information about a sequence of animation frames.

Public Properties
 PropertyDefined by
  fps : Number
Determines the speed of playback in frames per second.
AnimationSequence
  loop : Boolean
Determines whether the animation sequence should loop.
AnimationSequence
  prefix : String
The prefix string defining frames in the sequence.
AnimationSequence
  smooth : Boolean
Determines if the animation should be smoothed (interpolated) between frames.
AnimationSequence
Public Methods
 MethodDefined by
  
AnimationSequence
(prefix:String, smooth:Boolean = true, loop:Boolean = false, fps:Number = 3)
Creates a new AnimationSequence object.
AnimationSequence
Property detail
fpsproperty
public var fps:Number

Determines the speed of playback in frames per second.

loopproperty 
public var loop:Boolean

Determines whether the animation sequence should loop.

prefixproperty 
public var prefix:String

The prefix string defining frames in the sequence.

smoothproperty 
public var smooth:Boolean

Determines if the animation should be smoothed (interpolated) between frames.

Constructor detail
AnimationSequence()constructor
public function AnimationSequence(prefix:String, smooth:Boolean = true, loop:Boolean = false, fps:Number = 3)Parameters
prefix:String — The prefix string defining frames in the sequence.
 
smooth:Boolean (default = true) — [optional] Determines if the animation should be smoothed (interpolated) between frames. Default = true;
 
loop:Boolean (default = false) — [optional] Determines whether the animation sequence should loop. Default = false;
 
fps:Number (default = 3) — [optional] Determines the speed of playback in keyframes of per second. Default = 3;
Init Parameters
Wiki link
Click to go to the wiki page for 'away3d.animators.data.AnimationSequence'

Code examples

Comments