Structure CameraState

3DS Max Plug-In SDK

Structure CameraState

See Also: Class GenCamera.

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

};

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