DarkBASIC Professional Help File

DX11 APPLY CAMERA ANGLE

Convenience function that adds the given degrees to the angle of the camera.

Syntax

    DX11 APPLY CAMERA ANGLE camera, x, y, z

Parameters

    camera

> Dword
> The camera to update the rotation of.

    x

> Float
> Relative X angle to increase the camera position by.

    y

> Float
> Relative Y angle to increase the camera position by.

    z

> Float
> Relative Z angle to increase the camera position by.

Returns

This function does not return a value.

See also

CAMERA Functions Menu
DX11 Function Categories