The Nebula Device 3: Particles::EmitterMesh Class Reference

The Nebula Device 3

Particles::EmitterMesh Class Reference

#include <emittermesh.h>


Detailed Description

An emitter mesh holds positions and normals for particle emission. The actual format of a vertex in the emitter mesh is:

float4 position; float4 normal; float4 tangent;

(C) 2008 Radon Labs GmbH

Public Member Functions

 EmitterMesh ()
 constructor
 ~EmitterMesh ()
 destructor
void Setup (const Ptr< CoreGraphics::Mesh > &mesh, IndexT primGroupIndex)
 setup the emitter mesh
void Discard ()
 discard the emitter mesh
bool IsValid () const
 return true if object has been setup
const EmitterPoint & GetEmitterPoint (IndexT key) const
 get emitter point