DarkBASIC Professional Help File

DX11 SET VIEW MATRIX

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

Syntax

    DX11 SET VIEW MATRIX camera, matrix

Parameters

    camera

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

    matrix

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

Returns

This function does not return a value.

See also

CAMERA Functions Menu
DX11 Function Categories