Particle Universe
1.2
|
#include <ParticleUniverseMeshSurfaceEmitter.h>
The MeshSurfaceEmitter is a ParticleEmitter that emits particles on the surface of a mesh.
ParticleUniverse::MeshSurfaceEmitter::MeshSurfaceEmitter | ( | void | ) |
|
virtual |
|
virtual |
See ParticleEmitter.
Reimplemented from ParticleUniverse::ParticleEmitter.
|
virtual |
Determine the particle direction.
Reimplemented from ParticleUniverse::ParticleEmitter.
|
virtual |
Determine a particle position on the mesh surface.
Reimplemented from ParticleUniverse::ParticleEmitter.
|
virtual |
Build the data if the mesh name has been set.
Reimplemented from ParticleUniverse::ParticleEmitter.
|
virtual |
Reverse it.
Reimplemented from ParticleUniverse::ParticleEmitter.
void ParticleUniverse::MeshSurfaceEmitter::build | ( | void | ) |
Build all the data needed to generate the particles.
|
virtual |
Copy attributes to another emitter.
Reimplemented from ParticleUniverse::ParticleEmitter.
const MeshInfo::MeshSurfaceDistribution ParticleUniverse::MeshSurfaceEmitter::getDistribution | ( | void | ) | const |
Returns the type op distribution.
const String& ParticleUniverse::MeshSurfaceEmitter::getMeshName | ( | void | ) | const |
Returns the mesh name.
const Vector3& ParticleUniverse::MeshSurfaceEmitter::getScale | ( | void | ) | const |
Returns the scale of the mesh.
void ParticleUniverse::MeshSurfaceEmitter::setDistribution | ( | MeshInfo::MeshSurfaceDistribution | distribution | ) |
Set the type of particle distribution on the surface of a mesh.
void ParticleUniverse::MeshSurfaceEmitter::setMeshName | ( | const String & | meshName, |
bool | doBuild = true |
||
) |
Sets the mesh name.
void ParticleUniverse::MeshSurfaceEmitter::setScale | ( | const Vector3 & | scale | ) |
Set the scale of the mesh.
void ParticleUniverse::MeshSurfaceEmitter::setUseNormals | ( | bool | useNormals | ) |
Set indication whether normals are used for the particle direction.
bool ParticleUniverse::MeshSurfaceEmitter::useNormals | ( | void | ) | const |
Returns true if normals are used for the particle direction.
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |