|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IParticleEmitter
| Method Summary | |
|---|---|
int |
_getEmissionCount(float timeElapsed)
Gets the number of particles which this emitter would like to emit based on the time elapsed. |
void |
_initParticle(IParticle pParticle)
Initialises a particle based on the emitter's approach and parameters. |
IRadian |
getAngle()
Returns the maximum angle which the initial particle direction can deviate from the emitters base direction. |
IColourValue |
getColour()
Gets the colour of particles to be emitted. |
IColourValue |
getColourRangeEnd()
Gets the maximum colour of particles to be emitted. |
IColourValue |
getColourRangeStart()
Gets the minimum colour of particles to be emitted. |
IVector3 |
getDirection()
Returns the base direction of the emitter. |
float |
getDuration()
Gets the duration of the emitter from when it is created or re-enabled. |
float |
getEmissionRate()
Returns the emission rate set for this emitter. |
java.lang.String |
getEmittedEmitter()
Returns the name of the emitter to be emitted |
boolean |
getEnabled()
Gets the flag indicating if this emitter is enabled or not. |
float |
getMaxDuration()
Gets the maximum duration of this emitter in seconds (see setDuration for more details) |
float |
getMaxParticleVelocity()
Returns the maximum particle velocity. |
float |
getMaxRepeatDelay()
Gets the maximum duration of this emitter in seconds (see setRepeatDelay for more details) |
float |
getMaxTimeToLive()
Gets the maximum time each particle will live for. |
float |
getMinDuration()
Gets the minimum duration of this emitter in seconds (see setDuration for more details) |
float |
getMinParticleVelocity()
Returns the minimum particle velocity. |
float |
getMinRepeatDelay()
Gets the minimum duration of this emitter in seconds (see setRepeatDelay for more details) |
float |
getMinTimeToLive()
Gets the minimum time each particle will live for. |
java.lang.String |
getName()
Returns the name of the emitter |
float |
getParticleVelocity()
Returns the initial velocity of particles emitted. |
IVector3 |
getPosition()
Returns the position of this emitter relative to the center of the particle system. |
float |
getRepeatDelay()
Gets the duration of the emitter from when it is created or re-enabled. |
float |
getStartTime()
Gets the start time of the emitter. |
float |
getTimeToLive()
Gets the time each particle will live for. |
java.lang.String |
getType()
Returns the name of the type of emitter. |
boolean |
isEmitted()
Return 'true' if the emitter is emitted by another emitter |
void |
setAngle(IRadian angle)
Sets the maximum angle away from the emitter direction which particle will be emitted. |
void |
setColour(IColourValue colour)
Sets the initial colour of particles emitted. |
void |
setColour(IColourValue colourStart,
IColourValue colourEnd)
Sets the range of colours for emitted particles. |
void |
setColourRangeEnd(IColourValue colour)
Sets the maximum colour of particles to be emitted. |
void |
setColourRangeStart(IColourValue colour)
Sets the minimum colour of particles to be emitted. |
void |
setDirection(IVector3 direction)
Sets the direction of the emitter. |
void |
setDuration(float duration)
Sets the duration of the emitter. |
void |
setDuration(float _min,
float _max)
Sets the range of random duration for this emitter. |
void |
setEmissionRate(float particlesPerSecond)
Sets the emission rate for this emitter. |
void |
setEmitted(boolean emitted)
Set the indication (true/false) to indicate that the emitter is emitted by another emitter |
void |
setEmittedEmitter(java.lang.String emittedEmitter)
Sets the name of the emitter to be emitted |
void |
setEnabled(boolean enabled)
Sets whether or not the emitter is enabled. |
void |
setMaxDuration(float _max)
Sets the maximum duration of this emitter in seconds (see setDuration for more details) |
void |
setMaxParticleVelocity(float _max)
Returns the maximum particle velocity. |
void |
setMaxRepeatDelay(float _max)
Sets the maximum duration of this emitter in seconds (see setRepeatDelay for more details) |
void |
setMaxTimeToLive(float _max)
Sets the maximum time each particle will live for. |
void |
setMinDuration(float _min)
Sets the minimum duration of this emitter in seconds (see setDuration for more details) |
void |
setMinParticleVelocity(float _min)
Returns the minimum particle velocity. |
void |
setMinRepeatDelay(float _min)
Sets the minimum duration of this emitter in seconds (see setRepeatDelay for more details) |
void |
setMinTimeToLive(float _min)
Sets the minimum time each particle will live for. |
void |
setName(java.lang.String newName)
Sets the name of the emitter |
void |
setParticleVelocity(float speed)
Sets the initial velocity of particles emitted. |
void |
setParticleVelocity(float _min,
float _max)
Sets the initial velocity range of particles emitted. |
void |
setPosition(IVector3 pos)
Sets the position of this emitter relative to the particle system center. |
void |
setRepeatDelay(float duration)
Sets the time between repeats of the emitter. |
void |
setRepeatDelay(float _min,
float _max)
Sets the range of random duration for this emitter. |
void |
setStartTime(float startTime)
Sets the 'start time' of this emitter. |
void |
setTimeToLive(float ttl)
Sets the lifetime of all particles emitted. |
void |
setTimeToLive(float minTtl,
float maxTtl)
Sets the range of lifetime for particles emitted. |
| Methods inherited from interface org.ogre4j.IStringInterface |
|---|
copyParametersTo, getParamDictionary_const, getParamDictionary, getParameter, getParameters, setParameter, setParameterList |
| Methods inherited from interface org.ogre4j.IParticle |
|---|
_notifyOwner, _notifyVisualData, getcolour, getdirection, getmHeight, getmOwnDimensions, getmWidth, getOwnHeight, getOwnWidth, getparticleType, getposition, getRotation, getrotation, getrotationSpeed, gettimeToLive, gettotalTimeToLive, getVisualData, hasOwnDimensions, resetDimensions, setcolour, setDimensions, setdirection, setmHeight, setmOwnDimensions, setmWidth, setparticleType, setposition, setrotation, setRotation, setrotationSpeed, settimeToLive, settotalTimeToLive |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void setPosition(IVector3 pos)
IVector3 getPosition()
void setDirection(IVector3 direction)
IVector3 getDirection()
void setAngle(IRadian angle)
IRadian getAngle()
void setParticleVelocity(float speed)
void setParticleVelocity(float _min,
float _max)
void setMinParticleVelocity(float _min)
void setMaxParticleVelocity(float _max)
float getParticleVelocity()
float getMinParticleVelocity()
float getMaxParticleVelocity()
void setEmissionRate(float particlesPerSecond)
float getEmissionRate()
void setTimeToLive(float ttl)
void setTimeToLive(float minTtl,
float maxTtl)
void setMinTimeToLive(float _min)
void setMaxTimeToLive(float _max)
float getTimeToLive()
float getMinTimeToLive()
float getMaxTimeToLive()
void setColour(IColourValue colour)
void setColour(IColourValue colourStart,
IColourValue colourEnd)
void setColourRangeStart(IColourValue colour)
void setColourRangeEnd(IColourValue colour)
IColourValue getColour()
IColourValue getColourRangeStart()
IColourValue getColourRangeEnd()
int _getEmissionCount(float timeElapsed)
void _initParticle(IParticle pParticle)
java.lang.String getType()
void setEnabled(boolean enabled)
boolean getEnabled()
void setStartTime(float startTime)
float getStartTime()
void setDuration(float duration)
float getDuration()
void setDuration(float _min,
float _max)
void setMinDuration(float _min)
void setMaxDuration(float _max)
float getMinDuration()
float getMaxDuration()
void setRepeatDelay(float duration)
float getRepeatDelay()
void setRepeatDelay(float _min,
float _max)
void setMinRepeatDelay(float _min)
void setMaxRepeatDelay(float _max)
float getMinRepeatDelay()
float getMaxRepeatDelay()
java.lang.String getName()
void setName(java.lang.String newName)
java.lang.String getEmittedEmitter()
void setEmittedEmitter(java.lang.String emittedEmitter)
boolean isEmitted()
void setEmitted(boolean emitted)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||