DarkBASIC Professional Help File

DX11 SET LIMB CAMERA MASK

This function can be used to set an limb to only be rendered by certain cameras.
The mask is a 32-bit value; each set bit represents a camera ID that the limb will be rendered by, just like with the sync mask.
Use DX11 GET CAMERA ID to get the ID of a certain camera (the main screen camera always has an ID of 0, so setting the mask to 1
will only render the limb to the main camera (because 2 ^ 0 == 1)).

Syntax

    DX11 SET LIMB CAMERA MASK limb, mask

Parameters

    limb

> Dword
> The limb to set the camera mask for.

    mask

> Dword
> The camera mask to set for the specified limb.

Returns

This function does not return a value.

See also

LIMB Functions Menu
DX11 Function Categories