Packagecom.desuade.partigen.particles
Classpublic dynamic class PixelParticle
InheritancePixelParticle Inheritance BasicPixelParticle Inheritance Object
Implements IParticle

Language Version : ActionScript 3
Since : 29.04.2010
Runtime Versions : AIR 1.0, Flash Player 9.0.0

A basic, high-performance Particle for use with the PixelRenderer.



Public Properties
 PropertyDefined By
 Inheritedalpha : Number = 1
This is the alpha value of the pixel.
BasicPixelParticle
 InheritedblendMode : String = normal
The blendmode of the pixel.
BasicPixelParticle
 Inheritedcolor : uint = 0xffffffff
This is the pixel color.
BasicPixelParticle
  controllers : Object
This holds all of the MotionControllers that are currently being ran on the particle.
PixelParticle
 Inheritedemitter : BasicEmitter
[read-only] The parent emitter that emitted this particle.
BasicPixelParticle
 Inheritedfilters : Array
BasicPixelParticle
 Inheritedgroup : Array
This holds the particles inside of the group.
BasicPixelParticle
 Inheritedid : int
[read-only] The unique id of the particle.
BasicPixelParticle
 Inheritedisbuilt : Boolean = false
This is used by the emitter and pools to determine if the controllers, groups, bitmaps, etc have already been built.
BasicPixelParticle
 Inheritedisclean : Boolean = true
This is used by the emitter and pools to determine if/how the particle has been used before in memory.
BasicPixelParticle
 Inheritedlife : Number
The life of the particle: how long the particle will live for.
BasicPixelParticle
 Inheritedx : int = 0
The x value of the pixel.
BasicPixelParticle
 Inheritedy : int = 0
The y value of the pixel.
BasicPixelParticle
Public Methods
 MethodDefined By
  
Creates a new pixel particle for the PixelRenderer.
PixelParticle
  
init(emitter:BasicEmitter):void
[override]
PixelParticle
  
kill(... args):void
[override]
PixelParticle
Property Detail
controllersproperty
public var controllers:Object

This holds all of the MotionControllers that are currently being ran on the particle.

Constructor Detail
PixelParticle()Constructor
public function PixelParticle()

Creates a new pixel particle for the PixelRenderer. This should normally not be called; use emitter.emit() instead of this.

See also

Method Detail
init()method
override public function init(emitter:BasicEmitter):void

Parameters

emitter:BasicEmitter

kill()method 
override public function kill(... args):void

Parameters

... args