Packageaway3d.animators
Classpublic class VertexAnimator
InheritanceVertexAnimator Inheritance Animator Inheritance flash.events.EventDispatcher

Public Properties
 PropertyDefined by
 InheritedcurrentFrame : int
Returns the current keyframe number
Animator
 InheritedcycleNumber : int
Returns the number of the current loop cycle
Animator
 Inheriteddelay : Number
Defines the delay to the start of the animation in seconds
Animator
 Inheritedfps : Number
Defines the keyframes per second of the animation
Animator
  frames : Vector
[read-only]
VertexAnimator
 Inheritedinterpolate : Boolean
Defines whether the animation interpolates between channel points.
Animator
 InheritedisPlaying : Boolean
Returns true when the animation is playing
Animator
 Inheritedlength : Number
Defines the total length of the animation in seconds
Animator
 Inheritedloop : Boolean
Defines whether the animation will loop.
Animator
 Inheritedname : String
The name of the animation used as a unique reference.
Animator
 Inheritedprogress : Number
Represents the progress of the animation playhead from the start (0) to the end (1) of the animation.
Animator
 Inheritedtarget : Object3D
Defines the 3d object to which the animation is applied.
Animator
 InheritedtotalFrames : Number
Returns the total length of the animation in frames
Animator
Protected Properties
 PropertyDefined by
 Inherited_currentFrame : uint
Animator
 Inherited_fraction : Number
Animator
 Inheritedini : Init
Instance of the Init object used to hold and parse default property values specified by the initialiser object in the 3d object constructor.
Animator
 Inherited_invFraction : Number
Animator
 Inherited_progress : Number = 0
Animator
 Inherited_target : Object3D
Animator
 Inherited_time : Number
Animator
Public Methods
 MethodDefined by
  
VertexAnimator
(target:Object3D = null, init:Object = null)
Creates a new VertexAnimator
VertexAnimator
  
addFrame(frame:Vector):void
VertexAnimator
 Inherited
addOnCycle(listener:Function):void
Default method for adding a cycle event listener.
Animator
 Inherited
addOnEnterKeyFrame(listener:Function):void
Default method for adding an enterKeyFrame event listener
Animator
  
addVertex(vertex:Vertex):void
VertexAnimator
 Inherited
clone(animator:Animator = null):Animator
Duplicates the animators properties to another Animator object
Animator
 Inherited
gotoAndPlay(frame:uint):void
Animator
 Inherited
gotoAndStop(frame:uint):void
Animator
 Inherited
play():void
Animator
 Inherited
removeOnCycle(listener:Function):void
Default method for removing a cycle event listener
Animator
 Inherited
removeOnEnterKeyFrame(listener:Function):void
Default method for removing a enterKeyFrame event listener
Animator
 Inherited
stop():void
Animator
 Inherited
update(time:Number):void
Updates the position of the playhead to the given time in seconds.
Animator
Protected Methods
 MethodDefined by
  
getDefaultFps():Number
VertexAnimator
  
updateProgress(val:Number):void
VertexAnimator
  
updateTarget():void
VertexAnimator
Events
 EventSummaryDefined by
 Inherited Dispatched when a looping animation starts a new cycle.Animator
 Inherited Dispatched when entering a new keyframe.Animator
 Inherited Dispatched when the animation starts.Animator
 Inherited Dispatched when the animation stops.Animator
Property detail
framesproperty
frames:Vector  [read-only]Implementation
    public function get frames():Vector
Constructor detail
VertexAnimator()constructor
public function VertexAnimator(target:Object3D = null, init:Object = null)Parameters
target:Object3D (default = null) — [optional] Defines the 3d object to which the animation is applied.
 
init:Object (default = null) — [optional] An initialisation object for specifying default instance properties.
Init Parameters
Method detail
addFrame()method
public function addFrame(frame:Vector):void Parameters
frame:Vector
addVertex()method 
public function addVertex(vertex:Vertex):void Parameters
vertex:Vertex
getDefaultFps()method 
protected override function getDefaultFps():Number

Returns
Number
updateProgress()method 
protected override function updateProgress(val:Number):void Parameters
val:Number
updateTarget()method 
protected override function updateTarget():void
Wiki link
Click to go to the wiki page for 'away3d.animators.VertexAnimator'

Code examples

Comments