C4 Engine
C4 Engine API Documentation

CameraObject::SetDepthRange

Defined in:  C4CameraObjects.h
Sets the near plane depth.
Prototype

void SetDepthRange(const Range<float>& range);

Parameters
range The new depth range.
Description
The SetDepthRange function sets the range of depths for a camera to that specified by the range parameter. The minimum value of the range corresponds to the distance to the camera's near plane, and the maximum value of the range corresponds to the distance to the camera's far plane.
See Also

CameraObject::GetDepthRange