C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

class BenchmarkCamera

Defined in:  C4Cameras.h
The BenchmarkCamera class represents a benchmark camera node in a world.
Definition

class BenchmarkCamera : public OrientedCamera

Constructor

BenchmarkCamera(float focal, float aspect);

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


Base Classes
BenchmarkCamera A benchmark camera is a special type of oriented camera.