Packageorg.flintparticles.threeD.activities
Classpublic class RotateEmitter
InheritanceRotateEmitter Inheritance ActivityBase Inheritance Object

The RotateEmitter activity rotates the emitter at a constant rate.



Public Properties
 PropertyDefined By
  axis : Vector3D
The axis for the target angular velocity.
RotateEmitter
 Inheritedpriority : int
Returns a default priority of 0 for this activity.
ActivityBase
  rotateSpeed : Number
The size of the target angular velocity.
RotateEmitter
Protected Properties
 PropertyDefined By
 Inherited_priority : int = 0
ActivityBase
Public Methods
 MethodDefined By
  
RotateEmitter(axis:Vector3D = null, rotateSpeed:Number = 0)
The constructor creates a RotateEmitter activity for use by an emitter.
RotateEmitter
 Inherited
addedToEmitter(emitter:Emitter):void
This method does nothing.
ActivityBase
 Inherited
initialize(emitter:Emitter):void
This method does nothing.
ActivityBase
 Inherited
This method does nothing.
ActivityBase
  
update(emitter:Emitter, time:Number):void
[override] This method does nothing.
RotateEmitter
Property Detail
axisproperty
axis:Vector3D

The axis for the target angular velocity.


Implementation
    public function get axis():Vector3D
    public function set axis(value:Vector3D):void
rotateSpeedproperty 
rotateSpeed:Number

The size of the target angular velocity.


Implementation
    public function get rotateSpeed():Number
    public function set rotateSpeed(value:Number):void
Constructor Detail
RotateEmitter()Constructor
public function RotateEmitter(axis:Vector3D = null, rotateSpeed:Number = 0)

The constructor creates a RotateEmitter activity for use by an emitter. To add a RotateEmitter to an emitter, use the emitter's addActvity method.

Parameters
axis:Vector3D (default = null)
 
rotateSpeed:Number (default = 0)

See also

Method Detail
update()method
override public function update(emitter:Emitter, time:Number):void

This method does nothing. Derived classes override this method to alter the state of the emitter every frame.

Parameters

emitter:Emitter — The Emitter.
 
time:Number — The duration of the frame - used for time based updates.