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