Public Member Functions | Public Attributes

CameraState Struct Reference

Search for all occurrences

Detailed Description

Note: The camera looks down the negative Z axis, with X to the right and Y up.

See also:
Class GenCamera

#include <object.h>

Inheritance diagram for CameraState:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  CameraState ()

Public Attributes

DWORD  cbStruct
BOOL  isOrtho
  Flag to indicate if the camera uses orthographic projection (TRUE) or perspective (FALSE).
float  fov
  The camera field-of-view in radians.
float  tdist
  Target distance for free cameras.
BOOL  horzLine
  Horizon line display state.
int  manualClip
  Flag to indicate if camera has manual clipping enabled.
float  hither
  Hither clipping plane distance.
float  yon
  Yon clipping plane distance.
float  nearRange
  Near camera range radius.
float  farRange
  Far camera range radius.

Constructor & Destructor Documentation

CameraState ( ) [inline]
{cbStruct = sizeof(CameraState);}

Member Data Documentation

DWORD cbStruct
BOOL isOrtho

Flag to indicate if the camera uses orthographic projection (TRUE) or perspective (FALSE).

float fov

The camera field-of-view in radians.

float tdist

Target distance for free cameras.

BOOL horzLine

Horizon line display state.

Flag to indicate if camera has manual clipping enabled.

float hither

Hither clipping plane distance.

float yon

Yon clipping plane distance.

float nearRange

Near camera range radius.

float farRange

Far camera range radius.