| Package | com.desuade.partigen.particles |
| Class | public dynamic class Particle |
| Inheritance | Particle BasicParticle flash.display.Sprite |
| Implements | IParticle |
| Language Version : | ActionScript 3 |
| Since : | 08.05.2009 |
| Runtime Versions : | AIR 1.0, Flash Player 9.0.0 |
| Property | Defined By | ||
|---|---|---|---|
![]() | classPool : MultiPool [static]
This is the MultiPool that stores all the object pools for particle classes. | BasicParticle | |
| controllers : Object
This holds all of the MotionControllers that are currently being ran on the particle. | Particle | ||
![]() | emitter : BasicEmitter [read-only]
The parent emitter that emitted this particle. | BasicParticle | |
![]() | group : Array
This holds the particles inside of the group. | BasicParticle | |
![]() | id : int [read-only]
The unique id of the particle. | BasicParticle | |
![]() | isbuilt : Boolean = false
This is used by the emitter and pools to determine if the controllers, groups, bitmaps, etc have already been built. | BasicParticle | |
![]() | isclean : Boolean = true
This is used by the emitter and pools to determine if/how the particle has been used before in memory. | BasicParticle | |
![]() | life : Number
The life of the particle: how long the particle will live for. | BasicParticle | |
| scale : Number
This sets/gets both X and Y scales at once. | Particle | ||
| Method | Defined By | ||
|---|---|---|---|
Particle()
Creates a new particle. | Particle | ||
init(emitter:BasicEmitter):void [override]
| Particle | ||
kill(... args):void [override]
| Particle | ||
| controllers | property |
public var controllers:ObjectThis holds all of the MotionControllers that are currently being ran on the particle.
| scale | property |
scale:NumberThis sets/gets both X and Y scales at once.
public function get scale():Number public function set scale(value:Number):void| Particle | () | Constructor |
public function Particle()
Creates a new particle. This should normally not be called; use emitter.emit() instead of this.
See also
| init | () | method |
| kill | () | method |
override public function kill(... args):void
Parameters
... args |