DarkBASIC Professional Help File

DX11 GET CAMERA FOV

Retrieves 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

    Return Float = DX11 GET CAMERA FOV(camera)

Parameters

    camera

> Dword
> The camera to get the field of view angle of.

Returns

The field of angle of the given camera in degrees. If called for an orthographic camera the returned value is without meaning.

See also

CAMERA Functions Menu
DX11 Function Categories