Particle Universe
1.2
|
#include <ParticleUniversePositionEmitter.h>
The PositionEmitter is an emitter that emits particles from one or more given positions. The PositionEmitter enables building up a predefined structure out of particles. Imaging building up a wall that is made up from stone blocks. The particles are emitted on the positions that are added to this emitter. Adding some physical behaviour to the particles and you have your stone wall that collapses if a force is applied to it.
ParticleUniverse::PositionEmitter::PositionEmitter | ( | void | ) |
|
inlinevirtual |
|
virtual |
See ParticleEmitter
Reimplemented from ParticleUniverse::ParticleEmitter.
|
virtual |
Generate a particle position based on the added positions.
Reimplemented from ParticleUniverse::ParticleEmitter.
|
virtual |
See ParticleEmitter
Reimplemented from ParticleUniverse::ParticleEmitter.
void ParticleUniverse::PositionEmitter::addPosition | ( | const Vector3 & | position | ) |
Add a new position to this emitter
|
virtual |
Copy attributes to another emitter.
Reimplemented from ParticleUniverse::ParticleEmitter.
Returns a list with positions
bool ParticleUniverse::PositionEmitter::isRandomized | ( | void | ) | const |
void ParticleUniverse::PositionEmitter::removeAllPositions | ( | void | ) |
Remove all positions from this emitter
void ParticleUniverse::PositionEmitter::setRandomized | ( | bool | randomized | ) |
|
static |
|
protected |
|
protected |