Packageorg.flintparticles.threeD.papervision3d
Classpublic class PV3DPixelRenderer
InheritancePV3DPixelRenderer Inheritance RendererBase Inheritance Object

Renders the particles as pixels in a Papervision3D Pixels object.



Public Properties
 PropertyDefined By
 Inheritedemitters : Vector.<Emitter>
The array of all emitters being rendered by this renderer.
RendererBase
Public Methods
 MethodDefined By
  
PV3DPixelRenderer(container:Pixels)
PV3DPixelRenderer
 Inherited
addEmitter(emitter:Emitter):void
Adds the emitter to the renderer.
RendererBase
 Inherited
removeEmitter(emitter:Emitter):void
Removes the emitter from the renderer.
RendererBase
Protected Methods
 MethodDefined By
  
addParticle(particle:Particle):void
[override] This method is called when a particle is added to an emitter - usually because the emitter has just created the particle.
PV3DPixelRenderer
  
removeParticle(particle:Particle):void
[override] This method is called when a particle is removed from an emitter - usually because the particle is dying.
PV3DPixelRenderer
  
renderParticle(particle:Particle3D):void
PV3DPixelRenderer
  
renderParticles(particles:Array):void
[override] This method applies the particle's state to the associated image object.
PV3DPixelRenderer
Constructor Detail
PV3DPixelRenderer()Constructor
public function PV3DPixelRenderer(container:Pixels)



Parameters
container:Pixels
Method Detail
addParticle()method
override protected function addParticle(particle:Particle):void

This method is called when a particle is added to an emitter - usually because the emitter has just created the particle. The method adds the particle's image to the container's display list. It is called internally by Flint and need not be called by the user.

Parameters

particle:Particle — The particle being added to the emitter.

removeParticle()method 
override protected function removeParticle(particle:Particle):void

This method is called when a particle is removed from an emitter - usually because the particle is dying. The method removes the particle's image from the container's display list. It is called internally by Flint and need not be called by the user.

Parameters

particle:Particle — The particle being removed from the emitter.

renderParticle()method 
protected function renderParticle(particle:Particle3D):void

Parameters

particle:Particle3D

renderParticles()method 
override protected function renderParticles(particles:Array):void

This method applies the particle's state to the associated image object.

This method is called internally by Flint and shouldn't need to be called by the user.

Parameters

particles:Array — The particles to be rendered.