| LayersToggleLayer Method (Int32, Int32, Boolean) |
Used to toggle a layer on/off
Namespace:
ImmerseSDK
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax public static int ToggleLayer(
int mask,
int layer,
bool enable
)
Parameters
- mask
- Type: SystemInt32
Current mask - layer
- Type: SystemInt32
Layer that should be toggled - enable
- Type: SystemBoolean
If the layer should be enabled or disabled
Return Value
Type:
Int32New mask where the layer has been set to the enable value
See Also