| Package | org.flintparticles.threeD.actions |
| Class | public class Jet |
| Inheritance | Jet ActionBase Object |
| Property | Defined By | ||
|---|---|---|---|
| acceleration : Vector3D
The acceleration, in coordinate units per second per second. | Jet | ||
| invertZone : Boolean
If true, the zone is treated as the safe area and being ouside the zone
results in the particle dying. | Jet | ||
![]() | priority : int
Returns a default priority of 0 for this action. | ActionBase | |
| x : Number
The x coordinate of the acceleration, in coordinate units per second per second. | Jet | ||
| y : Number
The y coordinate of the acceleration, in coordinate units per second per second. | Jet | ||
| z : Number
The z coordinate of the acceleration, in coordinate units per second per second. | Jet | ||
| zone : Zone3D
The zone in which to apply the acceleration. | Jet | ||
| Method | Defined By | ||
|---|---|---|---|
The constructor creates a Jet action for use by
an emitter. | Jet | ||
![]() | addedToEmitter(emitter:Emitter):void
This method does nothing. | ActionBase | |
![]() | removedFromEmitter(emitter:Emitter):void
This method does nothing. | ActionBase | |
[override]
This method does nothing. | Jet | ||
| acceleration | property |
acceleration:Vector3DThe acceleration, in coordinate units per second per second.
public function get acceleration():Vector3D public function set acceleration(value:Vector3D):void| invertZone | property |
invertZone:BooleanIf true, the zone is treated as the safe area and being ouside the zone results in the particle dying. Otherwise, being inside the zone causes the particle to die.
public function get invertZone():Boolean public function set invertZone(value:Boolean):void| x | property |
x:NumberThe x coordinate of the acceleration, in coordinate units per second per second.
public function get x():Number public function set x(value:Number):void| y | property |
y:NumberThe y coordinate of the acceleration, in coordinate units per second per second.
public function get y():Number public function set y(value:Number):void| z | property |
z:NumberThe z coordinate of the acceleration, in coordinate units per second per second.
public function get z():Number public function set z(value:Number):void| zone | property |
zone:Zone3DThe zone in which to apply the acceleration.
public function get zone():Zone3D public function set zone(value:Zone3D):void| Jet | () | Constructor |
public function Jet(acceleration:Vector3D = null, zone:Zone3D = null, invertZone:Boolean = false)The constructor creates a Jet action for use by an emitter. To add a Jet to all particles created by an emitter, use the emitter's addAction method.
Parametersacceleration:Vector3D (default = null) — The x coordinate of the acceleration to apply, in pixels
per second per second.
| |
zone:Zone3D (default = null) — The y coordinate of the acceleration to apply, in pixels
per second per second.
| |
invertZone:Boolean (default = false) — The zone in which to apply the acceleration.
|
See also
| update | () | method |
override public function update(emitter:Emitter, particle:Particle, time:Number):voidThis method does nothing. All derived classes override this method to update each particle every frame.
Parameters
emitter:Emitter — The Emitter that created the particle.
| |
particle:Particle — The particle to be updated.
| |
time:Number — The duration of the frame - used for time based updates.
|