 | LayersToggleLayer Method (Int32, Int32) |
Used to toggle a layer on/off
Namespace:
ImmerseSDK
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntaxpublic static int ToggleLayer(
int mask,
int layer
)
Parameters
- mask
- Type: SystemInt32
Current mask - layer
- Type: SystemInt32
Layer that should be toggled
Return Value
Type:
Int32New mask where layer is on where it was previously off or visa versa
See Also