Package | cv.orion.output |
Class | public class BurstOutput |
Implements | IOutput |
import cv.Orion; import cv.orion.output.BurstOutput; // First method var e:Orion = new Orion(linkageClass, new BurstOutput(40)); // Second method var e2:Orion = new Orion(linkageClass); e2.output = new BurstOutput(40);
Property | Defined by | ||
---|---|---|---|
continous : Boolean = false
Gets or sets whether this is outputted regularly at each
render event.
| BurstOutput | ||
particles : uint
Gets or sets the number of particles to be outputted.
| BurstOutput | ||
paused : Boolean
Gets or sets the paused property
| BurstOutput |
Method | Defined by | ||
---|---|---|---|
BurstOutput(numOfParticles:uint = 10, continous:Boolean = false)
Controls the number of particles that are emitted.
| BurstOutput | ||
pause():void
Pauses the output class.
| BurstOutput | ||
play():void
Resumes or plays the output class.
| BurstOutput | ||
reset():void
To have the particles emitted again, call this method.
| BurstOutput | ||
This is called everytime the particles are called to update and be redrawn.
| BurstOutput |
continous | property |
public var continous:Boolean = false
Gets or sets whether this is outputted regularly at each render event.
particles | property |
public var particles:uint
Gets or sets the number of particles to be outputted.
paused | property |
paused:Boolean
[read-write]Gets or sets the paused property
Implementation public function get paused():Boolean
public function set paused(value:Boolean):void
BurstOutput | () | constructor |
public function BurstOutput(numOfParticles:uint = 10, continous:Boolean = false)
Controls the number of particles that are emitted.
ParametersnumOfParticles:uint (default = 10 ) — How manu particles to add at once.
|
|
continous:Boolean (default = false )
|
pause | () | method |
public function pause():void
Pauses the output class.
play | () | method |
public function play():void
Resumes or plays the output class.
reset | () | method |
public function reset():void
To have the particles emitted again, call this method.
update | () | method |
public function update(emitter:Orion):void
This is called everytime the particles are called to update and be redrawn. Depending on the output class, this can determine the output of the particles.
Parametersemitter:Orion — The emitter to be used.
|