|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IParticleSystem
| Nested classes/interfaces inherited from interface org.ogre4j.IMovableObject |
|---|
IMovableObject.IListener |
| Nested classes/interfaces inherited from interface org.ogre4j.IShadowCaster |
|---|
IShadowCaster.IShadowRenderableList, IShadowCaster.IShadowRenderableListIterator |
| Nested classes/interfaces inherited from interface org.ogre4j.IAnimableObject |
|---|
IAnimableObject.IAnimableDictionaryMap |
| Method Summary | |
|---|---|
void |
_getIterator(IParticleIterator returnValue)
Returns an iterator for stepping through all particles in this system. |
void |
_notifyAttached(INode parent,
boolean isTagPoint)
Overridden from |
void |
_notifyCurrentCamera(ICamera cam)
Overridden from |
void |
_notifyOrigin(java.lang.String origin)
|
void |
_notifyParticleResized()
Internal callback used by Particles to notify their parent that they have been resized. |
void |
_notifyParticleRotated()
Internal callback used by Particles to notify their parent that they have been rotated. |
void |
_update(float timeElapsed)
Updates the particles in the system based on time elapsed. |
void |
_updateBounds()
Internal method for updating the bounds of the particle system. |
void |
_updateRenderQueue(IRenderQueue queue)
Overridden from |
IParticleAffector |
addAffector(java.lang.String affectorType)
Adds an affector to this particle system. |
IParticleEmitter |
addEmitter(java.lang.String emitterType)
Adds an emitter to this particle system. |
void |
clear()
Empties this set of all particles. |
IParticle |
createEmitterParticle(java.lang.String emitterName)
Manually add an emitter particle to the system. |
IParticle |
createParticle()
Manually add a particle to the system. |
void |
fastForward(float time,
float interval)
Fast-forwards this system by the required number of seconds. |
IParticleAffector |
getAffector(int index)
Retrieves an affector by it's index (zero-based). |
IAxisAlignedBox |
getBoundingBox()
Overridden from |
float |
getBoundingRadius()
Overridden from |
boolean |
getCullIndividually()
Returns whether or not particles in this are tested individually for culling. |
float |
getDefaultHeight()
See setDefaultDimensions - this gets 1 component individually. |
float |
getDefaultWidth()
See setDefaultDimensions - this gets 1 component individually. |
int |
getEmittedEmitterQuota()
Returns the maximum number of emitted emitters this system is allowed to have active at once. |
IParticleEmitter |
getEmitter(int index)
Retrieves an emitter by it's index (zero-based). |
float |
getIterationInterval()
Gets a 'iteration interval' on this particle system. |
boolean |
getKeepParticlesInLocalSpace()
Gets whether particles (and any affector effects) remain relative to the node the particle system is attached to. |
java.lang.String |
getMaterialName()
Sets the name of the material to be used for this billboard set. |
java.lang.String |
getMovableType()
Overridden from |
float |
getNonVisibleUpdateTimeout()
Gets when the particle system should stop updating after it hasn't been visible for a while. |
int |
getNumAffectors()
Returns the number of affectors for this particle system. |
int |
getNumEmitters()
Returns the number of emitters for this particle system. |
int |
getNumParticles()
Gets the number of individual particles in the system right now. |
java.lang.String |
getOrigin()
Get the origin of this particle system, e.g. a script file name. |
IParticle |
getParticle(int index)
Retrieve a particle from the system for manual tweaking. |
int |
getParticleQuota()
Returns the maximum number of particles this system is allowed to have active at once. |
IParticleSystemRenderer |
getRenderer()
Gets the ParticleRenderer to be used to render this particle system. |
java.lang.String |
getRendererName()
Gets the name of the ParticleRenderer to be used to render this particle system. |
java.lang.String |
getResourceGroupName()
|
boolean |
getSortingEnabled()
|
float |
getSpeedFactor()
Gets the 'speed factor' on this particle system. |
long |
getTypeFlags()
Get the 'type flags' for this . |
IParticleSystem |
operatorAssignment(IParticleSystem rhs)
Assignment operator for copying. |
void |
removeAffector(int index)
Removes an affector from the system. |
void |
removeAllAffectors()
Removes all the affectors from this system. |
void |
removeAllEmitters()
Removes all the emitters from this system. |
void |
removeEmitter(int index)
Removes an emitter from the system. |
void |
setBounds(IAxisAlignedBox aabb)
Set the (initial) bounds of the particle system manually. |
void |
setBoundsAutoUpdated(boolean autoUpdate,
float stopIn)
Sets whether the bounds will be automatically updated for the life of the particle system |
void |
setCullIndividually(boolean cullIndividual)
Sets whether culling tests particles in this individually as well as in a group. |
void |
setDefaultDimensions(float width,
float height)
Sets the default dimensions of the particles in this set. |
void |
setDefaultHeight(float height)
See setDefaultDimensions - this sets 1 component individually. |
void |
setDefaultWidth(float width)
See setDefaultDimensions - this sets 1 component individually. |
void |
setEmittedEmitterQuota(int quota)
Sets the maximum number of emitted emitters this system is allowed to have active at once. |
void |
setIterationInterval(float iterationInterval)
Sets a 'iteration interval' on this particle system. |
void |
setKeepParticlesInLocalSpace(boolean keepLocal)
Sets whether particles (and any affector effects) remain relative to the node the particle system is attached to. |
void |
setMaterialName(java.lang.String name)
Sets the name of the material to be used for this billboard set. |
void |
setNonVisibleUpdateTimeout(float timeout)
Sets when the particle system should stop updating after it hasn't been visible for a while. |
void |
setParticleQuota(int quota)
Sets the maximum number of particles this system is allowed to have active at once. |
void |
setRenderer(java.lang.String typeName)
Sets the ParticleRenderer to be used to render this particle system. |
void |
setRenderQueueGroup(short queueID)
Sets the render queue group this entity will be rendered through. |
void |
setSortingEnabled(boolean enabled)
Set whether or not particles are sorted according to the camera. |
void |
setSpeedFactor(float speedFactor)
Sets a 'speed factor' on this particle system, which means it scales the elapsed real time which has passed by this factor before passing it to the emitters, affectors, and the particle life calculation. |
void |
visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
Method to allow a caller to abstractly iterate over the instances that this will add to the render queue when asked, if any. |
| Methods inherited from interface org.ogre4j.IStringInterface |
|---|
copyParametersTo, getParamDictionary_const, getParamDictionary, getParameter, getParameters, setParameter, setParameterList |
| Methods inherited from interface org.ogre4j.IAnimableObject |
|---|
createAnimableValue, getAnimableValueNames |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void setRenderer(java.lang.String typeName)
IParticleSystemRenderer getRenderer()
java.lang.String getRendererName()
IParticleEmitter addEmitter(java.lang.String emitterType)
IParticleEmitter getEmitter(int index)
int getNumEmitters()
void removeEmitter(int index)
void removeAllEmitters()
IParticleAffector addAffector(java.lang.String affectorType)
IParticleAffector getAffector(int index)
int getNumAffectors()
void removeAffector(int index)
void removeAllAffectors()
void clear()
int getNumParticles()
IParticle createParticle()
IParticle createEmitterParticle(java.lang.String emitterName)
IParticle getParticle(int index)
int getParticleQuota()
void setParticleQuota(int quota)
int getEmittedEmitterQuota()
void setEmittedEmitterQuota(int quota)
IParticleSystem operatorAssignment(IParticleSystem rhs)
void _update(float timeElapsed)
void _getIterator(IParticleIterator returnValue)
void setMaterialName(java.lang.String name)
java.lang.String getMaterialName()
void _notifyCurrentCamera(ICamera cam)
_notifyCurrentCamera in interface IMovableObject
void _notifyAttached(INode parent,
boolean isTagPoint)
_notifyAttached in interface IMovableObjectIAxisAlignedBox getBoundingBox()
getBoundingBox in interface IMovableObjectfloat getBoundingRadius()
getBoundingRadius in interface IMovableObjectvoid _updateRenderQueue(IRenderQueue queue)
_updateRenderQueue in interface IMovableObject
void visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
IMovableObject
visitRenderables in interface IMovableObject
void fastForward(float time,
float interval)
void setSpeedFactor(float speedFactor)
float getSpeedFactor()
void setIterationInterval(float iterationInterval)
float getIterationInterval()
void setNonVisibleUpdateTimeout(float timeout)
float getNonVisibleUpdateTimeout()
java.lang.String getMovableType()
getMovableType in interface IMovableObjectvoid _notifyParticleResized()
void _notifyParticleRotated()
void setDefaultDimensions(float width,
float height)
void setDefaultWidth(float width)
float getDefaultWidth()
void setDefaultHeight(float height)
float getDefaultHeight()
boolean getCullIndividually()
void setCullIndividually(boolean cullIndividual)
java.lang.String getResourceGroupName()
java.lang.String getOrigin()
void _notifyOrigin(java.lang.String origin)
void setRenderQueueGroup(short queueID)
IMovableObject
setRenderQueueGroup in interface IMovableObjectvoid setSortingEnabled(boolean enabled)
boolean getSortingEnabled()
void setBounds(IAxisAlignedBox aabb)
void setBoundsAutoUpdated(boolean autoUpdate,
float stopIn)
void setKeepParticlesInLocalSpace(boolean keepLocal)
boolean getKeepParticlesInLocalSpace()
void _updateBounds()
long getTypeFlags()
IMovableObject
getTypeFlags in interface IMovableObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||