Packageaway3d.animators.data
Classpublic class AnimationFrame

Holds information about a single animation frame.

Public Properties
 PropertyDefined by
  frame : Number
Frame number.
AnimationFrame
  sort : String
An optional sort string used to order the animation frames.
AnimationFrame
  time : uint
Time from the start of the animation.
AnimationFrame
Public Methods
 MethodDefined by
  
AnimationFrame
(frame:Number, sort:String = null)
Creates a new AnimationFrame object.
AnimationFrame
Property detail
frameproperty
public var frame:Number

Frame number.

sortproperty 
public var sort:String

An optional sort string used to order the animation frames.

timeproperty 
public var time:uint

Time from the start of the animation.

Constructor detail
AnimationFrame()constructor
public function AnimationFrame(frame:Number, sort:String = null)Parameters
frame:Number — The number of the frame in it's sequence.
 
sort:String (default = null) — An optional sort string used to order the animation frames.
Init Parameters
Wiki link
Click to go to the wiki page for 'away3d.animators.data.AnimationFrame'

Code examples

Comments