C4 Engine
C4 Engine API Documentation

class Emitter

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

class Emitter : public Node

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

Emitter(EmitterType type);

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 world. 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 Box emitter.
kEmitterCylinder Cylinder emitter.
kEmitterSphere Sphere emitter.
Base Classes
Node An Emitter node is a scene graph node.
See Also

EmitterObject