C4 Engine
C4 Engine API Documentation

class CylinderEmitter

Defined in:  C4Emitters.h
The CylinderEmitter class represents a cylinder emitter node in a world.
Definition

class CylinderEmitter final : public Emitter

Constructor

CylinderEmitter(const Vector2D& size, float height);

Parameters
size The size of the cylinder base.
height The height of the cylinder.
Description
The CylinderEmitter class represents an emitter node that is shaped like a cylinder whose dimensions are specified by the size and height parameters. The associated CylinderEmitterObject can be used by a particle system to generate random points inside a cylinder emitter volume.
Base Classes
Emitter A cylinder emitter is a specific type of emitter.
See Also

CylinderEmitterObject