org.ogre4j
Interface IParticleSystemRenderer

All Superinterfaces:
IAllocatedObject<ISceneObjAllocPolicy>, INativeObject, ISceneObjAllocatedObject, IStringInterface
All Known Subinterfaces:
IBillboardParticleRenderer
All Known Implementing Classes:
BillboardParticleRenderer, ParticleSystemRenderer

public interface IParticleSystemRenderer
extends INativeObject, IStringInterface, ISceneObjAllocatedObject


Method Summary
 IParticleVisualData _createVisualData()
          Create a new instance for attachment to a particle.
 void _destroyVisualData(IParticleVisualData vis)
          Destroy a instance.
 SortMode _getSortMode()
          Gets the desired particles sort mode of this renderer
 void _notifyAttached(INode parent, boolean isTagPoint)
          Delegated to by
 void _notifyCurrentCamera(ICamera cam)
          Delegated to by
 void _notifyDefaultDimensions(float width, float height)
          Tells the renderer that the particle default size has changed
 void _notifyParticleCleared(Ilist<IParticle> currentParticles)
          Optional callback notified when particles cleared
 void _notifyParticleEmitted(IParticle particle)
          Optional callback notified when particle emitted
 void _notifyParticleExpired(IParticle particle)
          Optional callback notified when particle expired
 void _notifyParticleMoved(Ilist<IParticle> currentParticles)
          Optional callback notified when particles moved
 void _notifyParticleQuota(int quota)
          Tells the renderer that the particle quota has changed
 void _notifyParticleResized()
          Optional callback notified when particles are resized individually
 void _notifyParticleRotated()
          Optional callback notified when particles are rotated
 void _setMaterial(IMaterialPtr mat)
          Sets the material this renderer must use; called by .
 void _updateRenderQueue(IRenderQueue queue, Ilist<IParticle> currentParticles, boolean cullIndividually)
          Delegated to by
 java.lang.String getType()
          Gets the type of this renderer - must be implemented by subclasses
 void setKeepParticlesInLocalSpace(boolean keepLocal)
          Setting carried over from .
 void setRenderQueueGroup(short queueID)
          Sets which render queue group this renderer should target with it's output.
 void visitRenderables(IRenderable.IVisitor visitor, boolean debugRenderables)
          Required method to allow the renderer to communicate the Renderables it will be using to render the system to a visitor.
 
Methods inherited from interface org.ogre4j.IStringInterface
copyParametersTo, getParamDictionary_const, getParamDictionary, getParameter, getParameters, setParameter, setParameterList
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

getType

java.lang.String getType()
Gets the type of this renderer - must be implemented by subclasses


_updateRenderQueue

void _updateRenderQueue(IRenderQueue queue,
                        Ilist<IParticle> currentParticles,
                        boolean cullIndividually)
Delegated to by


_setMaterial

void _setMaterial(IMaterialPtr mat)
Sets the material this renderer must use; called by .


_notifyCurrentCamera

void _notifyCurrentCamera(ICamera cam)
Delegated to by


_notifyAttached

void _notifyAttached(INode parent,
                     boolean isTagPoint)
Delegated to by


_notifyParticleRotated

void _notifyParticleRotated()
Optional callback notified when particles are rotated


_notifyParticleResized

void _notifyParticleResized()
Optional callback notified when particles are resized individually


_notifyParticleQuota

void _notifyParticleQuota(int quota)
Tells the renderer that the particle quota has changed


_notifyDefaultDimensions

void _notifyDefaultDimensions(float width,
                              float height)
Tells the renderer that the particle default size has changed


_notifyParticleEmitted

void _notifyParticleEmitted(IParticle particle)
Optional callback notified when particle emitted


_notifyParticleExpired

void _notifyParticleExpired(IParticle particle)
Optional callback notified when particle expired


_notifyParticleMoved

void _notifyParticleMoved(Ilist<IParticle> currentParticles)
Optional callback notified when particles moved


_notifyParticleCleared

void _notifyParticleCleared(Ilist<IParticle> currentParticles)
Optional callback notified when particles cleared


_createVisualData

IParticleVisualData _createVisualData()
Create a new instance for attachment to a particle.


_destroyVisualData

void _destroyVisualData(IParticleVisualData vis)
Destroy a instance.


setRenderQueueGroup

void setRenderQueueGroup(short queueID)
Sets which render queue group this renderer should target with it's output.


setKeepParticlesInLocalSpace

void setKeepParticlesInLocalSpace(boolean keepLocal)
Setting carried over from .


_getSortMode

SortMode _getSortMode()
Gets the desired particles sort mode of this renderer


visitRenderables

void visitRenderables(IRenderable.IVisitor visitor,
                      boolean debugRenderables)
Required method to allow the renderer to communicate the Renderables it will be using to render the system to a visitor.



Copyright © 2007 netAllied GmbH. All Rights Reserved.