C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

class Emitter

Defined in:  C4Emitters.h
The Emitter class represents an emitter node in a scene graph.
Definition

class Emitter : public Node

Member Functions
Emitter::GetEmitterType Returns the specific type of an emitter.
Constructor

Emitter(EmitterType type);

The constructor has protected access. An Emitter class can only exist as the base class for a more specific type of emitter.
Parameters
type The type of the emitter. See below for a list of possible types.
Description
The Emitter class represents an emitter node in a scene graph. A ParticleSystem node can connect to an emitter node and use the associated EmitterObject to generate random points inside the emitter volume. An emitter node can be of one of the following types.
kEmitterBox A box emitter.
kEmitterCylinder A cylinder emitter.
kEmitterSphere A sphere emitter.
Base Classes
Node An Emitter node is a scene graph node.
See Also
EmitterObject