DarkBASIC Professional Help File

DX11 SET CAMERA FOV

Sets the field of view angle (in degrees) of the specified camera.
Take note that this is only useable with perspective cameras; orthographic ones do not use any field-of-view angle.

Syntax

    DX11 SET CAMERA FOV camera, fov

Parameters

    camera

> Dword
> The camera to set the field of view of.

    fov

> Float
> The new field of view angle to set for the camera.

Returns

This function does not return a value.

See also

CAMERA Functions Menu
DX11 Function Categories