DarkBASIC Professional Help File

DX11 UNGLUE CAMERA

Detaches the given camera from whatever entity (camera / object / limb) it was previously attached to.
You have to do this if deleting the entity that the camera was attached to; an entity will not be properly deleted until all attachments to it have been removed.
If the camera in question isn't attached ("glued") to any other entity, this function will do nothing.

Syntax

    DX11 UNGLUE CAMERA camera

Parameters

    camera

> Dword
> The camera to detach from whatever it was previously attached ("glued") to.

Returns

This function does not return a value.

See also

CAMERA Functions Menu
DX11 Function Categories