#include <OGREInterfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Public Member Functions | |
| void | SetPosition (in_Vector3f *pos) |
| Sets the position of this emitter relative to the particle system center. | |
| void | GetPosition (out_Vector3f *pos) |
| Returns the position of this emitter relative to thte center of the particle system. | |
| void | SetDirection (in_Vector3f *direction) |
| Sets the direction of the emitter. | |
| void | GetDirection (out_Vector3f *) |
| Returns the base direction of the emitter. | |
| void | SetAngleRadian (float angle) |
| Sets the maximum angle away from the emitter direction which particle will be emitted. | |
| float | GetAngleRadian (void) |
| Returns the maximum angle which the initial particle direction can deviate from the emitters base direction. | |
| 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 | SetMinParticleVelocity (float min) |
| Returns the minimum particle velocity. | |
| void | SetMaxParticleVelocity (float max) |
| Returns the maximum particle velocity. | |
| float | GetParticleVelocity (void) |
| Returns the initial velocity of particles emitted. | |
| float | GetMinParticleVelocity (void) |
| Returns the minimum particle velocity. | |
| float | GetMaxParticleVelocity (void) |
| Returns the maximum particle velocity. | |
| void | SetEmissionRate (float particlesPerSecond) |
| Sets the emission rate for this emitter. | |
| float | GetEmissionRate (void) |
| Returns the emission rate set for 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. | |
| void | SetMinTimeToLive (float min) |
| Sets the minimum time each particle will live for. | |
| void | SetMaxTimeToLive (float max) |
| Sets the maximum time each particle will live for. | |
| float | GetTimeToLive (void) |
| Gets the time each particle will live for. | |
| float | GetMinTimeToLive (void) |
| Gets the minimum time each particle will live for. | |
| float | GetMaxTimeToLive (void) |
| Gets the maximum time each particle will live for. | |
| void | SetColour (in_Vector4f *colour) |
| Sets the initial colour of particles emitted. | |
| void | SetColour (in_Vector4f *colourStart, in_Vector4f *colourEnd) |
| Sets the range of colours for emitted particles. | |
| void | SetColourRangeStart (in_Vector4f *colour) |
| Sets the minimum colour of particles to be emitted. | |
| void | SetColourRangeEnd (in_Vector4f *colour) |
| Sets the maximum colour of particles to be emitted. | |
| void | GetColour (out_Vector4f *colour) |
| Gets the colour of particles to be emitted. | |
| void | GetColourRangeStart (out_Vector4f *colour) |
| Gets the minimum colour of particles to be emitted. | |
| void | GetColourRangeEnd (out_Vector4f *colour) |
| Gets the maximum colour of particles to be emitted. | |
| const char * | GetType (void) |
| Returns the name of the type of emitter. | |
| void | SetEnabled (bool enabled) |
| Sets whether or not the emitter is enabled. | |
| bool | GetEnabled (void) |
| Gets the flag indicating if this emitter is enabled or not. | |
| void | SetStartTime (float startTime) |
| Sets the 'start time' of this emitter. | |
| float | GetStartTime (void) |
| Gets the start time of the emitter. | |
| void | SetDuration (float duration) |
| Sets the duration of the emitter. | |
| float | GetDuration (void) |
| Gets the duration of the emitter from when it is created or re-enabled. | |
| void | SetDuration (float min, float max) |
| Sets the range of random duration for this emitter. | |
| void | SetMinDuration (float min) |
| Sets the minimum duration of this emitter in seconds (see setDuration for more details). | |
| void | SetMaxDuration (float max) |
| Sets the maximum duration of this emitter in seconds (see setDuration for more details). | |
| float | GetMinDuration (void) |
| Gets the minimum duration of this emitter in seconds (see setDuration for more details). | |
| float | GetMaxDuration (void) |
| Gets the maximum duration of this emitter in seconds (see setDuration for more details). | |
| void | SetRepeatDelay (float duration) |
| Sets the time between repeats of the emitter. | |
| float | GetRepeatDelay (void) |
| Gets the duration of the emitter from when it is created or re-enabled. | |
| void | SetRepeatDelay (float min, float max) |
| Sets the range of random duration for this emitter. | |
| void | SetMinRepeatDelay (float min) |
| Sets the minimum duration of this emitter in seconds (see setRepeatDelay for more details). | |
| void | SetMaxRepeatDelay (float max) |
| Sets the maximum duration of this emitter in seconds (see setRepeatDelay for more details). | |
| float | GetMinRepeatDelay (void) |
| Gets the minimum duration of this emitter in seconds (see setRepeatDelay for more details). | |
| float | GetMaxRepeatDelay (void) |
| Gets the maximum duration of this emitter in seconds (see setRepeatDelay for more details). | |
| void DigitalSpaces::DIOGREParticleEmitter::SetPosition | ( | in_Vector3f * | pos | ) |
Sets the position of this emitter relative to the particle system center.
| void DigitalSpaces::DIOGREParticleEmitter::GetPosition | ( | out_Vector3f * | pos | ) |
Returns the position of this emitter relative to thte center of the particle system.
| void DigitalSpaces::DIOGREParticleEmitter::SetDirection | ( | in_Vector3f * | direction | ) |
Sets the direction of the emitter.
| direction | The base direction for particles emitted. |
| void DigitalSpaces::DIOGREParticleEmitter::GetDirection | ( | out_Vector3f * | ) |
Returns the base direction of the emitter.
| void DigitalSpaces::DIOGREParticleEmitter::SetAngleRadian | ( | float | angle | ) |
Sets the maximum angle away from the emitter direction which particle will be emitted.
| degrees | Maximum angle which initial particle direction can deviate from the emitter base direction vector. |
| float DigitalSpaces::DIOGREParticleEmitter::GetAngleRadian | ( | void | ) |
Returns the maximum angle which the initial particle direction can deviate from the emitters base direction.
| void DigitalSpaces::DIOGREParticleEmitter::SetParticleVelocity | ( | float | speed | ) |
Sets the initial velocity of particles emitted.
| speed | The initial speed in world units per second which every particle emitted starts with. |
| void DigitalSpaces::DIOGREParticleEmitter::SetParticleVelocity | ( | float | min, | |
| float | max | |||
| ) |
Sets the initial velocity range of particles emitted.
| max | The maximum speed in world units per second for the initial particle speed on emission. | |
| min | The minimum speed in world units per second for the initial particle speed on emission. |
| void DigitalSpaces::DIOGREParticleEmitter::SetMinParticleVelocity | ( | float | min | ) |
Returns the minimum particle velocity.
| void DigitalSpaces::DIOGREParticleEmitter::SetMaxParticleVelocity | ( | float | max | ) |
Returns the maximum particle velocity.
| float DigitalSpaces::DIOGREParticleEmitter::GetParticleVelocity | ( | void | ) |
Returns the initial velocity of particles emitted.
| float DigitalSpaces::DIOGREParticleEmitter::GetMinParticleVelocity | ( | void | ) |
Returns the minimum particle velocity.
| float DigitalSpaces::DIOGREParticleEmitter::GetMaxParticleVelocity | ( | void | ) |
Returns the maximum particle velocity.
| void DigitalSpaces::DIOGREParticleEmitter::SetEmissionRate | ( | float | particlesPerSecond | ) |
Sets the emission rate for this emitter.
| particlesPerSecond | The number of particles to be emitted every second. |
| float DigitalSpaces::DIOGREParticleEmitter::GetEmissionRate | ( | void | ) |
Returns the emission rate set for this emitter.
| void DigitalSpaces::DIOGREParticleEmitter::SetTimeToLive | ( | float | ttl | ) |
Sets the lifetime of all particles emitted.
| ttl | The number of seconds each particle will live for. |
| void DigitalSpaces::DIOGREParticleEmitter::SetTimeToLive | ( | float | minTtl, | |
| float | maxTtl | |||
| ) |
Sets the range of lifetime for particles emitted.
| minTtl | The minimum number of seconds each particle will live for. | |
| maxTtl | The maximum number of seconds each particle will live for. |
| void DigitalSpaces::DIOGREParticleEmitter::SetMinTimeToLive | ( | float | min | ) |
Sets the minimum time each particle will live for.
| void DigitalSpaces::DIOGREParticleEmitter::SetMaxTimeToLive | ( | float | max | ) |
Sets the maximum time each particle will live for.
| float DigitalSpaces::DIOGREParticleEmitter::GetTimeToLive | ( | void | ) |
Gets the time each particle will live for.
| float DigitalSpaces::DIOGREParticleEmitter::GetMinTimeToLive | ( | void | ) |
Gets the minimum time each particle will live for.
| float DigitalSpaces::DIOGREParticleEmitter::GetMaxTimeToLive | ( | void | ) |
Gets the maximum time each particle will live for.
| void DigitalSpaces::DIOGREParticleEmitter::SetColour | ( | in_Vector4f * | colour | ) |
Sets the initial colour of particles emitted.
| colour | The colour which all particles will be given on emission. |
| void DigitalSpaces::DIOGREParticleEmitter::SetColour | ( | in_Vector4f * | colourStart, | |
| in_Vector4f * | colourEnd | |||
| ) |
Sets the range of colours for emitted particles.
| colourStart | The start of the colour range | |
| colourEnd | The end of the colour range |
| void DigitalSpaces::DIOGREParticleEmitter::SetColourRangeStart | ( | in_Vector4f * | colour | ) |
Sets the minimum colour of particles to be emitted.
| void DigitalSpaces::DIOGREParticleEmitter::SetColourRangeEnd | ( | in_Vector4f * | colour | ) |
Sets the maximum colour of particles to be emitted.
| void DigitalSpaces::DIOGREParticleEmitter::GetColour | ( | out_Vector4f * | colour | ) |
Gets the colour of particles to be emitted.
| void DigitalSpaces::DIOGREParticleEmitter::GetColourRangeStart | ( | out_Vector4f * | colour | ) |
Gets the minimum colour of particles to be emitted.
| void DigitalSpaces::DIOGREParticleEmitter::GetColourRangeEnd | ( | out_Vector4f * | colour | ) |
Gets the maximum colour of particles to be emitted.
| const char* DigitalSpaces::DIOGREParticleEmitter::GetType | ( | void | ) |
Returns the name of the type of emitter.
| void DigitalSpaces::DIOGREParticleEmitter::SetEnabled | ( | bool | enabled | ) |
Sets whether or not the emitter is enabled.
| bool DigitalSpaces::DIOGREParticleEmitter::GetEnabled | ( | void | ) |
Gets the flag indicating if this emitter is enabled or not.
| void DigitalSpaces::DIOGREParticleEmitter::SetStartTime | ( | float | startTime | ) |
Sets the 'start time' of this emitter.
| startTime | The time in seconds from the creation or enabling of the emitter. |
| float DigitalSpaces::DIOGREParticleEmitter::GetStartTime | ( | void | ) |
Gets the start time of the emitter.
| void DigitalSpaces::DIOGREParticleEmitter::SetDuration | ( | float | duration | ) |
Sets the duration of the emitter.
| duration | The duration in seconds. |
| float DigitalSpaces::DIOGREParticleEmitter::GetDuration | ( | void | ) |
Gets the duration of the emitter from when it is created or re-enabled.
| void DigitalSpaces::DIOGREParticleEmitter::SetDuration | ( | float | min, | |
| float | max | |||
| ) |
Sets the range of random duration for this emitter.
| min | The minimum duration in seconds. | |
| max | The minimum duration in seconds. |
| void DigitalSpaces::DIOGREParticleEmitter::SetMinDuration | ( | float | min | ) |
Sets the minimum duration of this emitter in seconds (see setDuration for more details).
| void DigitalSpaces::DIOGREParticleEmitter::SetMaxDuration | ( | float | max | ) |
Sets the maximum duration of this emitter in seconds (see setDuration for more details).
| float DigitalSpaces::DIOGREParticleEmitter::GetMinDuration | ( | void | ) |
Gets the minimum duration of this emitter in seconds (see setDuration for more details).
| float DigitalSpaces::DIOGREParticleEmitter::GetMaxDuration | ( | void | ) |
Gets the maximum duration of this emitter in seconds (see setDuration for more details).
| void DigitalSpaces::DIOGREParticleEmitter::SetRepeatDelay | ( | float | duration | ) |
Sets the time between repeats of the emitter.
| duration | The duration in seconds. |
| float DigitalSpaces::DIOGREParticleEmitter::GetRepeatDelay | ( | void | ) |
Gets the duration of the emitter from when it is created or re-enabled.
| void DigitalSpaces::DIOGREParticleEmitter::SetRepeatDelay | ( | float | min, | |
| float | max | |||
| ) |
Sets the range of random duration for this emitter.
| min | The minimum duration in seconds. | |
| max | The minimum duration in seconds. |
| void DigitalSpaces::DIOGREParticleEmitter::SetMinRepeatDelay | ( | float | min | ) |
Sets the minimum duration of this emitter in seconds (see setRepeatDelay for more details).
| void DigitalSpaces::DIOGREParticleEmitter::SetMaxRepeatDelay | ( | float | max | ) |
Sets the maximum duration of this emitter in seconds (see setRepeatDelay for more details).
| float DigitalSpaces::DIOGREParticleEmitter::GetMinRepeatDelay | ( | void | ) |
Gets the minimum duration of this emitter in seconds (see setRepeatDelay for more details).
| float DigitalSpaces::DIOGREParticleEmitter::GetMaxRepeatDelay | ( | void | ) |
Gets the maximum duration of this emitter in seconds (see setRepeatDelay for more details).
1.5.6