DarkBASIC Professional Help File

DX11 SET CAMERA RANGE

Sets the near and far range of the specified camera.
Anything that falls outside of this range (relative to the camera) will not be drawn.

Syntax

    DX11 SET CAMERA RANGE camera, near, far

Parameters

    camera

> Dword
> The camera to set the range of.

    near

> Float
> The new near range to set for the camera.

    far

> Float
> The new far range to set for the camera.

Returns

This function does not return a value.

See also

CAMERA Functions Menu
DX11 Function Categories