An emitter mesh holds positions and normals for particle emission.
Definition emittermesh.h:24
EmitterMesh()
constructor
Definition emittermesh.cc:20
EmitterPoint * points
Definition emittermesh.h:52
~EmitterMesh()
destructor
Definition emittermesh.cc:30
bool IsValid() const
return true if object has been setup
Definition emittermesh.h:59
void Setup(const CoreGraphics::MeshId mesh, IndexT primGroupIndex)
setup the emitter mesh
Definition emittermesh.cc:42
void Discard()
discard the emitter mesh
Definition emittermesh.cc:134
SizeT numPoints
Definition emittermesh.h:51
const EmitterPoint & GetEmitterPoint(IndexT key) const
get emitter point
Definition emittermesh.cc:146
static const SizeT VertexWidth
Definition emittermesh.h:50
Particle context controls playing and enabling/disabling of particle emitters inside a model.
Definition modelnode.h:37
Definition emittermesh.h:39
Math::vec4 tangent
Definition emittermesh.h:42
Math::vec4 position
Definition emittermesh.h:40
Math::vec4 normal
Definition emittermesh.h:41