DarkBASIC Professional Help File

DX11 FIX CAMERA PIVOT

Sets the current orientation of the given camera as its new base orientation.
You can optionally provide a combination of flags to tell the function what parts of the transform to "fix". If you omit this flag
only the rotation will be fixed (such that the camera will appear to have its current rotation when you set it to rotation angles (0, 0, 0)).

Syntax

    DX11 FIX CAMERA PIVOT camera, [flags]

Parameters

    camera

> Dword
> The camera to fix the pivot of.

    [Optional] flags

> Dword
> A combination of one or more of the PIVOTFIX_SCALE, PIVOTFIX_ROTATION and PIVOTFIX_POSITION constants. Defaults to PIVOTFIX_ROTATION if omitted.

Returns

This function does not return a value.

See also

CAMERA Functions Menu
DX11 Function Categories