DarkBASIC Professional Help File

DX11 SET PROJECTION MATRIX

Overrides the default projection matrix of the given camera with the provided, custom matrix.
Take note that this replaces the default projection matrix and as such, all built-in functions that alter the projection (field of view, aspect ratio, etc.)
of this camera will no longer have any effect on what it draws after calling this function.

Syntax

    DX11 SET PROJECTION MATRIX camera, matrix

Parameters

    camera

> Dword
> The camera to override the projection matrix of.

    matrix

> Dword
> The new projection matrix to set for the given camera.

Returns

This function does not return a value.

See also

CAMERA Functions Menu
DX11 Function Categories