Packagesandy.util
Classpublic class RotationUtil

Utility class for tweening ATransformale rotaions.



Public Properties
 PropertyDefined by
  enableRoll : Boolean = false
If enabled, rolls ATransformable while tweening.
RotationUtil
  obj : ATransformable
ATransformable object to tween.
RotationUtil
  out0 : Vector
Initial "out" vector.
RotationUtil
  out1 : Vector
Final "out" vector.
RotationUtil
  roll0 : Number
Initial roll angle.
RotationUtil
  roll1 : Number
Final roll angle.
RotationUtil
  t : Number
Tweening variable (tween this from 0 to 1).
RotationUtil
Public Methods
 MethodDefined by
  
reset():void
Resets object (useful to call after tweening).
RotationUtil
Property detail
enableRollproperty
public var enableRoll:Boolean = false

If enabled, rolls ATransformable while tweening.

objproperty 
public var obj:ATransformable

ATransformable object to tween.

out0property 
out0:Vector  [read-write]

Initial "out" vector.

Implementation
    public function get out0():Vector
    public function set out0(value:Vector):void
out1property 
out1:Vector  [read-write]

Final "out" vector.

Implementation
    public function get out1():Vector
    public function set out1(value:Vector):void
roll0property 
public var roll0:Number

Initial roll angle.

roll1property 
public var roll1:Number

Final roll angle.

tproperty 
t:Number  [read-write]

Tweening variable (tween this from 0 to 1).

Implementation
    public function get t():Number
    public function set t(value:Number):void
Method detail
reset()method
public function reset():void

Resets object (useful to call after tweening).