C4 Engine
C4 Engine API Documentation

class SpectatorCamera

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

class SpectatorCamera : public OrientedCamera

Constructor

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

Parameters
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.
Description


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