Note: The camera looks down the negative Z axis, with X to the right and Y up.
#include <object.h>
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. |
CameraState | ( | ) | [inline] |
{cbStruct = sizeof(CameraState);}
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.