Facebook Twitter YouTube

class SpectatorCamera

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

class SpectatorCamera : public OrientedCamera

Constructor

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

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


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