DarkBASIC Professional Help File

DX11 GET CAMERA FORWARD VECTOR Z

Returns the Z coordinate of the given camera's forward vector.
The forward vector is normalized such that all its coordinates are in the [-1 .. +1] range.

Syntax

    Return Float = DX11 GET CAMERA FORWARD VECTOR Z(camera)

Parameters

    camera

> Dword
> The camera to get the forward vector Z coordinate of.

Returns

The Z coordinate of the camera's normalized forward vector.

See also

CAMERA Functions Menu
DX11 Function Categories