|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.ParticleSystemRenderer
public class ParticleSystemRenderer
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
ParticleSystemRenderer(InstancePointer p)
This constructor is public for internal useage only! |
protected |
ParticleSystemRenderer(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
ParticleSystemRenderer(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| 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 |
static void |
cleanupDictionary()
Cleans up the static 'msDictionary' required to reset , otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the implementers (e.g. ) initializes. |
void |
copyParametersTo(IStringInterface dest)
Method for copying this object's parameters to another object. |
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
IParamDictionary |
getParamDictionary_const()
|
IParamDictionary |
getParamDictionary()
Retrieves the parameter dictionary for this class. |
java.lang.String |
getParameter(java.lang.String name)
Generic parameter retrieval method. |
IParameterList |
getParameters()
Retrieves a list of parameters valid for this object. |
java.lang.String |
getType()
Gets the type of this renderer - must be implemented by subclasses |
void |
setKeepParticlesInLocalSpace(boolean keepLocal)
Setting carried over from . |
boolean |
setParameter(java.lang.String name,
java.lang.String value)
Generic parameter setting method. |
void |
setParameterList(INameValuePairList paramList)
Generic multiple parameter setting method. |
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 class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public ParticleSystemRenderer(InstancePointer p)
protected ParticleSystemRenderer(InstancePointer p,
boolean remote)
public ParticleSystemRenderer(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic java.lang.String getType()
getType in interface IParticleSystemRenderer
public void _updateRenderQueue(IRenderQueue queue,
Ilist<IParticle> currentParticles,
boolean cullIndividually)
_updateRenderQueue in interface IParticleSystemRendererpublic void _setMaterial(IMaterialPtr mat)
_setMaterial in interface IParticleSystemRendererpublic void _notifyCurrentCamera(ICamera cam)
_notifyCurrentCamera in interface IParticleSystemRenderer
public void _notifyAttached(INode parent,
boolean isTagPoint)
_notifyAttached in interface IParticleSystemRendererpublic void _notifyParticleRotated()
_notifyParticleRotated in interface IParticleSystemRendererpublic void _notifyParticleResized()
_notifyParticleResized in interface IParticleSystemRendererpublic void _notifyParticleQuota(int quota)
_notifyParticleQuota in interface IParticleSystemRenderer
public void _notifyDefaultDimensions(float width,
float height)
_notifyDefaultDimensions in interface IParticleSystemRendererpublic void _notifyParticleEmitted(IParticle particle)
_notifyParticleEmitted in interface IParticleSystemRendererpublic void _notifyParticleExpired(IParticle particle)
_notifyParticleExpired in interface IParticleSystemRendererpublic void _notifyParticleMoved(Ilist<IParticle> currentParticles)
_notifyParticleMoved in interface IParticleSystemRendererpublic void _notifyParticleCleared(Ilist<IParticle> currentParticles)
_notifyParticleCleared in interface IParticleSystemRendererpublic IParticleVisualData _createVisualData()
_createVisualData in interface IParticleSystemRendererpublic void _destroyVisualData(IParticleVisualData vis)
_destroyVisualData in interface IParticleSystemRendererpublic void setRenderQueueGroup(short queueID)
setRenderQueueGroup in interface IParticleSystemRendererpublic void setKeepParticlesInLocalSpace(boolean keepLocal)
setKeepParticlesInLocalSpace in interface IParticleSystemRendererpublic SortMode _getSortMode()
_getSortMode in interface IParticleSystemRenderer
public void visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
visitRenderables in interface IParticleSystemRendererpublic IParamDictionary getParamDictionary()
getParamDictionary in interface IStringInterfacepublic IParamDictionary getParamDictionary_const()
getParamDictionary_const in interface IStringInterfacepublic IParameterList getParameters()
getParameters in interface IStringInterface
public boolean setParameter(java.lang.String name,
java.lang.String value)
setParameter in interface IStringInterfacepublic void setParameterList(INameValuePairList paramList)
setParameterList in interface IStringInterfacepublic java.lang.String getParameter(java.lang.String name)
getParameter in interface IStringInterfacepublic void copyParametersTo(IStringInterface dest)
copyParametersTo in interface IStringInterfacepublic static void cleanupDictionary()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||