#include <OGREInterfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Public Member Functions | |
| DIOGREParticleEmitter * | AddEmitter (const char *emitterType) |
| Adds an emitter to this particle system. | |
| DIOGREParticleEmitter * | GetEmitter (unsigned short index) |
| Retrieves an emitter by it's index (zero-based). | |
| unsigned short | GetNumEmitters (void) |
| Returns the number of emitters for this particle system. | |
| void | RemoveEmitter (unsigned short index) |
| Removes an emitter from the system. | |
| void | RemoveAllEmitters (void) |
| Removes all the emitters from this system. | |
| DIOGREParticleAffector * | AddAffector (const char *affectorType) |
| Adds an affector to this particle system. | |
| DIOGREParticleAffector * | GetAffector (unsigned short index) |
| Retrieves an affector by it's index (zero-based). | |
| unsigned short | GetNumAffectors (void) |
| Returns the number of affectors for this particle system. | |
| void | RemoveAffector (unsigned short index) |
| Removes an affector from the system. | |
| void | RemoveAllAffectors (void) |
| Removes all the affectors from this system. | |
| void | Clear () |
| Empties this set of all particles. | |
| unsigned int | GetNumParticles (void) |
| Gets the number of individual particles in the system right now. | |
| DIOGREParticle * | CreateParticle (void) |
| Manually add a particle to the system. | |
| DIOGREParticle * | GetParticle (unsigned int index) |
| Retrieve a particle from the system for manual tweaking. | |
| unsigned int | GetParticleQuota (void) |
| Returns the maximum number of particles this system is allowed to have active at once. | |
| void | SetParticleQuota (unsigned int quota) |
| Sets the maximum number of particles this system is allowed to have active at once. | |
| void | SetMaterialName (const char *name) |
| Sets the name of the material to be used for this billboard set. | |
| const char * | GetMaterialName (void) |
| Sets the name of the material to be used for this billboard set. | |
| void | FastForward (float time, float interval=0.1) |
| Fast-forwards this system by the required number of seconds. | |
| 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. | |
| float | GetSpeedFactor (void) |
| Gets the 'speed factor' on this particle system. | |
| void | SetDefaultDimensions (float width, float height) |
| Sets the default dimensions of the particles in this set. | |
| void | SetDefaultWidth (float width) |
| See setDefaultDimensions - this sets 1 component individually. | |
| float | GetDefaultWidth (void) |
| See setDefaultDimensions - this gets 1 component individually. | |
| void | SetDefaultHeight (float height) |
| See setDefaultDimensions - this sets 1 component individually. | |
| float | GetDefaultHeight (void) |
| See setDefaultDimensions - this gets 1 component individually. | |
| bool | GetCullIndividually (void) |
| Returns whether or not particles in this are tested individually for culling. | |
| void | SetCullIndividually (bool cullIndividual) |
| Sets whether culling tests particles in this individually as well as in a group. | |
| DIOGREParticleEmitter* DigitalSpaces::DIOGREParticleSystem::AddEmitter | ( | const char * | emitterType | ) |
Adds an emitter to this particle system.
| emitterType | String identifying the emitter type to create. Emitter types are defined by registering new factories with the manager - see ParticleEmitterFactory for more details. Emitter types can be extended by OGRE, plugin authors or application developers. |
| DIOGREParticleEmitter* DigitalSpaces::DIOGREParticleSystem::GetEmitter | ( | unsigned short | index | ) |
Retrieves an emitter by it's index (zero-based).
| index | Zero-based index of the emitter to retrieve. |
| unsigned short DigitalSpaces::DIOGREParticleSystem::GetNumEmitters | ( | void | ) |
Returns the number of emitters for this particle system.
| void DigitalSpaces::DIOGREParticleSystem::RemoveEmitter | ( | unsigned short | index | ) |
Removes an emitter from the system.
| index | Zero-based index of the emitter to retrieve. |
| void DigitalSpaces::DIOGREParticleSystem::RemoveAllEmitters | ( | void | ) |
Removes all the emitters from this system.
| DIOGREParticleAffector* DigitalSpaces::DIOGREParticleSystem::AddAffector | ( | const char * | affectorType | ) |
Adds an affector to this particle system.
| affectorType | String identifying the affector type to create. Affector types are defined by registering new factories with the manager - see ParticleAffectorFactory for more details. Affector types can be extended by OGRE, plugin authors or application developers. |
| DIOGREParticleAffector* DigitalSpaces::DIOGREParticleSystem::GetAffector | ( | unsigned short | index | ) |
Retrieves an affector by it's index (zero-based).
| index | Zero-based index of the affector to retrieve. |
| unsigned short DigitalSpaces::DIOGREParticleSystem::GetNumAffectors | ( | void | ) |
Returns the number of affectors for this particle system.
| void DigitalSpaces::DIOGREParticleSystem::RemoveAffector | ( | unsigned short | index | ) |
Removes an affector from the system.
| index | Zero-based index of the affector to retrieve. |
| void DigitalSpaces::DIOGREParticleSystem::RemoveAllAffectors | ( | void | ) |
Removes all the affectors from this system.
| void DigitalSpaces::DIOGREParticleSystem::Clear | ( | ) |
Empties this set of all particles.
| unsigned int DigitalSpaces::DIOGREParticleSystem::GetNumParticles | ( | void | ) |
Gets the number of individual particles in the system right now.
| DIOGREParticle* DigitalSpaces::DIOGREParticleSystem::CreateParticle | ( | void | ) |
Manually add a particle to the system.
| DIOGREParticle* DigitalSpaces::DIOGREParticleSystem::GetParticle | ( | unsigned int | index | ) |
Retrieve a particle from the system for manual tweaking.
| unsigned int DigitalSpaces::DIOGREParticleSystem::GetParticleQuota | ( | void | ) |
Returns the maximum number of particles this system is allowed to have active at once.
| void DigitalSpaces::DIOGREParticleSystem::SetParticleQuota | ( | unsigned int | quota | ) |
Sets the maximum number of particles this system is allowed to have active at once.
| quota | The maximum number of particles this system is allowed to have. |
| void DigitalSpaces::DIOGREParticleSystem::SetMaterialName | ( | const char * | name | ) |
Sets the name of the material to be used for this billboard set.
| name | The new name of the material to use for this set. |
| const char* DigitalSpaces::DIOGREParticleSystem::GetMaterialName | ( | void | ) |
Sets the name of the material to be used for this billboard set.
| void DigitalSpaces::DIOGREParticleSystem::FastForward | ( | float | time, | |
| float | interval = 0.1 | |||
| ) |
Fast-forwards this system by the required number of seconds.
| time | The number of seconds to fast-forward by. | |
| interval | The sampling interval used to generate particles, apply affectors etc. The lower this is the more realistic the fast-forward, but it takes more iterations to do it. |
| void DigitalSpaces::DIOGREParticleSystem::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.
| float DigitalSpaces::DIOGREParticleSystem::GetSpeedFactor | ( | void | ) |
Gets the 'speed factor' on this particle system.
| void DigitalSpaces::DIOGREParticleSystem::SetDefaultDimensions | ( | float | width, | |
| float | height | |||
| ) |
Sets the default dimensions of the particles in this set.
| width | The new default width for the particles in this set. | |
| height | The new default height for the particles in this set. |
| void DigitalSpaces::DIOGREParticleSystem::SetDefaultWidth | ( | float | width | ) |
See setDefaultDimensions - this sets 1 component individually.
| float DigitalSpaces::DIOGREParticleSystem::GetDefaultWidth | ( | void | ) |
See setDefaultDimensions - this gets 1 component individually.
| void DigitalSpaces::DIOGREParticleSystem::SetDefaultHeight | ( | float | height | ) |
See setDefaultDimensions - this sets 1 component individually.
| float DigitalSpaces::DIOGREParticleSystem::GetDefaultHeight | ( | void | ) |
See setDefaultDimensions - this gets 1 component individually.
| bool DigitalSpaces::DIOGREParticleSystem::GetCullIndividually | ( | void | ) |
Returns whether or not particles in this are tested individually for culling.
| void DigitalSpaces::DIOGREParticleSystem::SetCullIndividually | ( | bool | cullIndividual | ) |
Sets whether culling tests particles in this individually as well as in a group.
| cullIndividual | If true, each particle is tested before being sent to the pipeline as well as the whole set having to pass the coarse group bounding test. |
1.5.6