Packageorg.papervision3d.core.animation.controllers
Classpublic class SimpleController
InheritanceSimpleController Inheritance KeyFrameController Inheritance AbstractController Inheritance flash.events.EventDispatcher

This class controls the animation of simple properties of a DisplayObject3D.



Public Properties
 PropertyDefined by
 Inheritedduration : uint = 0
AbstractController
 Inheritedframes : Array
AbstractController
 Inheritedgeometry : GeometryObject3D
targeted geometry.
KeyFrameController
 Inheritedplaying : Boolean
AbstractController
  property : String
the targeted property
SimpleController
  target : DisplayObject3D
the targeted DisplayObject3D
SimpleController
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
  
SimpleController(target:DisplayObject3D, property:String)
constructor.
SimpleController
 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.
SimpleController
Public Constants
 ConstantDefined by
  ROTATION_X : String = "rotationX"
[static]
SimpleController
  ROTATION_Y : String = "rotationY"
[static]
SimpleController
  ROTATION_Z : String = "rotationZ"
[static]
SimpleController
  SCALE : String = "scale"
[static]
SimpleController
  SCALE_X : String = "scaleX"
[static]
SimpleController
  SCALE_Y : String = "scaleY"
[static]
SimpleController
  SCALE_Z : String = "scaleZ"
[static]
SimpleController
  TRANSFORM : String = "transform"
[static]
SimpleController
  TRANSLATION_X : String = "x"
[static]
SimpleController
  TRANSLATION_Y : String = "y"
[static]
SimpleController
  TRANSLATION_Z : String = "z"
[static]
SimpleController
Property detail
propertyproperty
public var property:String

the targeted property

targetproperty 
public var target:DisplayObject3D

the targeted DisplayObject3D

Constructor detail
SimpleController()constructor
public function SimpleController(target:DisplayObject3D, property:String)

constructor.

Parameters
target:DisplayObject3D — the object this controller targets.
 
property:String — the targeted property.
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
Constant detail
ROTATION_Xconstant
public static const ROTATION_X:String = "rotationX"
ROTATION_Yconstant 
public static const ROTATION_Y:String = "rotationY"
ROTATION_Zconstant 
public static const ROTATION_Z:String = "rotationZ"
SCALEconstant 
public static const SCALE:String = "scale"
SCALE_Xconstant 
public static const SCALE_X:String = "scaleX"
SCALE_Yconstant 
public static const SCALE_Y:String = "scaleY"
SCALE_Zconstant 
public static const SCALE_Z:String = "scaleZ"
TRANSFORMconstant 
public static const TRANSFORM:String = "transform"
TRANSLATION_Xconstant 
public static const TRANSLATION_X:String = "x"
TRANSLATION_Yconstant 
public static const TRANSLATION_Y:String = "y"
TRANSLATION_Zconstant 
public static const TRANSLATION_Z:String = "z"