Packageidv.cjcat.stardust.threeD.papervision3d.handlers
Classpublic class PV3DParticleHandler
InheritancePV3DParticleHandler Inheritance ParticleHandler Inheritance StardustElement

This handler adds particle object to a Particles object, removes dead particles from the Particles object, and updates the Particle objects' x, y, z, rotationZ, and size properties.

See also

org.papervision3d.core.geom.Particles
org.papervision3d.core.geom.renderables.Particle


Public Properties
 PropertyDefined by
 Inheritedname : String
StardustElement
Public Methods
 MethodDefined by
  
PV3DParticleHandler(particleContainer:Particles = null)
PV3DParticleHandler
 Inherited
ParticleHandler
 Inherited
[Abstract Method] Returns the related objects of the element.
StardustElement
 Inherited
[static]
ParticleHandler
 Inherited
getXMLTag():XML
Returns the root tag of the XML representation.
StardustElement
  
getXMLTagName():String
PV3DParticleHandler
 Inherited
parseXML(xml:XML, builder:XMLBuilder = null):void
[Abstract Method] Reconstructs the element from XML representations.
StardustElement
  
particleAdded(particle:Particle):void
PV3DParticleHandler
  
particleRemoved(particle:Particle):void
PV3DParticleHandler
  
readParticle(particle:Particle):void
PV3DParticleHandler
 Inherited
stepBegin(emitter:Emitter, particles:ParticleCollection, time:Number):void
[Abstract Method] Invoked when each emitter step begins.
ParticleHandler
 Inherited
stepEnd(emitter:Emitter, particles:ParticleCollection, time:Number):void
[Abstract Method] Invoked when each emitter step ends.
ParticleHandler
 Inherited
toXML():XML
[Abstract Method] Generates XML representation.
StardustElement
Constructor detail
PV3DParticleHandler()constructor
public function PV3DParticleHandler(particleContainer:Particles = null)Parameters
particleContainer:Particles (default = null)
Method detail
getXMLTagName()method
public override function getXMLTagName():String

Returns
String
particleAdded()method 
public override function particleAdded(particle:Particle):voidParameters
particle:Particle
particleRemoved()method 
public override function particleRemoved(particle:Particle):voidParameters
particle:Particle
readParticle()method 
public override function readParticle(particle:Particle):voidParameters
particle:Particle