C4 Engine
C4 Engine API Documentation

class SpectatorCamera

Defined in:  C4Cameras.h
The SpectatorCamera class represents a spectator camera node in a world.

class SpectatorCamera : public OrientedCamera


SpectatorCamera(float projection, float aspect, float radius);

projection The distance to the projection plane. This determines the field of view.
aspect The aspect ratio of the projection. This is the ratio between the width and height of the viewport.
radius The collision radius of the spectator camera.

Base Classes
OrientedCamera A spectator camera is a special type of oriented camera.