| Package | com.desuade.partigen.particles |
| Class | public dynamic class BasicPixelParticle |
| Inheritance | BasicPixelParticle Object |
| Implements | IBasicParticle |
| Subclasses | PixelParticle |
| Language Version : | ActionScript 3 |
| Since : | 29.04.2010 |
| Runtime Versions : | AIR 1.0, Flash Player 9.0.0 |
| Property | Defined By | ||
|---|---|---|---|
| alpha : Number = 1
This is the alpha value of the pixel. | BasicPixelParticle | ||
| blendMode : String = normal
The blendmode of the pixel. | BasicPixelParticle | ||
| color : uint = 0xffffffff
This is the pixel color. | BasicPixelParticle | ||
| emitter : BasicEmitter [read-only]
The parent emitter that emitted this particle. | BasicPixelParticle | ||
| filters : Array | BasicPixelParticle | ||
| group : Array
This holds the particles inside of the group. | BasicPixelParticle | ||
| id : int [read-only]
The unique id of the particle. | BasicPixelParticle | ||
| isbuilt : Boolean = false
This is used by the emitter and pools to determine if the controllers, groups, bitmaps, etc have already been built. | BasicPixelParticle | ||
| isclean : Boolean = true
This is used by the emitter and pools to determine if/how the particle has been used before in memory. | BasicPixelParticle | ||
| life : Number
The life of the particle: how long the particle will live for. | BasicPixelParticle | ||
| x : int = 0
The x value of the pixel. | BasicPixelParticle | ||
| y : int = 0
The y value of the pixel. | BasicPixelParticle | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new pixel particle for the PixelRenderer. | BasicPixelParticle | ||
kill(... args):void
This instantly kills the particle and dispatches a "DIED" event. | BasicPixelParticle | ||
| alpha | property |
public var alpha:Number = 1This is the alpha value of the pixel.
| blendMode | property |
public var blendMode:String = normalThe blendmode of the pixel. Note: the PixelRenderer will only apply the same blendmode to all pixels/particles.
| color | property |
public var color:uint = 0xffffffffThis is the pixel color.
| emitter | property |
emitter:BasicEmitter [read-only] The parent emitter that emitted this particle.
public function get emitter():BasicEmitter| filters | property |
filters:Array public function get filters():Array public function set filters(value:Array):void| group | property |
public var group:ArrayThis holds the particles inside of the group.
| id | property |
id:int [read-only] The unique id of the particle.
public function get id():int| isbuilt | property |
public var isbuilt:Boolean = falseThis is used by the emitter and pools to determine if the controllers, groups, bitmaps, etc have already been built.
| isclean | property |
public var isclean:Boolean = trueThis is used by the emitter and pools to determine if/how the particle has been used before in memory.
| life | property |
public var life:NumberThe life of the particle: how long the particle will live for. This also effects the duration of controller tweens.
| x | property |
public var x:int = 0The x value of the pixel.
| y | property |
public var y:int = 0The y value of the pixel.
| BasicPixelParticle | () | Constructor |
public function BasicPixelParticle()
Creates a new pixel particle for the PixelRenderer. This should normally not be called; use emitter.emit() instead of this.
See also
| kill | () | method |
public function kill(... args):voidThis instantly kills the particle and dispatches a "DIED" event.
Parameters
... args |