Packageorg.papervision3d.core.animation.controllers
Classpublic class MorphController
InheritanceMorphController Inheritance KeyFrameController Inheritance AbstractController Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined by
 Inheritedduration : uint = 0
AbstractController
 Inheritedframes : Array
AbstractController
 Inheritedgeometry : GeometryObject3D
targeted geometry.
KeyFrameController
 Inheritedplaying : Boolean
AbstractController
Protected Properties
 PropertyDefined by
 InheritedcurrentFrame : int = 0
current keyframe.
AbstractController
 Inheritedengine : AnimationEngine
AbstractController
 InheritedfirstFrame : uint = 0
first keyframe
AbstractController
 InheritedlastFrame : uint = 0
last keyframe
AbstractController
 InheritednextFrame : int = 0
next keyframe
AbstractController
 Inheritedsplit : Number
AbstractController
 InheritedtotalFrames : uint = 0
total number of keyframes
AbstractController
Public Methods
 MethodDefined by
  
constructor.
MorphController
 Inherited
AbstractController
 Inherited
findFrameByName(name:String, ignoreTrailingDigits:Boolean):AnimationFrame
AbstractController
 Inherited
gotoAndPlay(frame:uint = 0):void
AbstractController
 Inherited
gotoAndStop(frame:uint = 0):void
AbstractController
 Inherited
play():void
play animation.
AbstractController
 Inherited
stop():void
stop animation.
AbstractController
  
tick(dt:Number):void
Tick.
MorphController
Protected Methods
 MethodDefined by
  
updateVertices(split:Number):Boolean
Updates all vertices.
MorphController
Constructor detail
MorphController()constructor
public function MorphController(geometry:GeometryObject3D)

constructor.

Parameters
geometry:GeometryObject3D — targeted geometry.
Method detail
tick()method
public override function tick(dt:Number):void

Tick. Called by the animation engine on each frame.

Parameters
dt:Number — current time in milliseconds
updateVertices()method 
protected function updateVertices(split:Number):Boolean

Updates all vertices.

Parameters
split:Number — current time split as a value between 0 (currentFrame) and 1 (nextFrame).

Returns
Boolean