Facebook Twitter YouTube

class SpectatorCamera

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

class SpectatorCamera : public OrientedCamera


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

focal The focal length of the perspective projection. This determines the field of view.
aspect The aspect ratio of the projection. This is normally the ratio between the height and the width of the viewport.
radius The collision radius of the spectator camera.

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