Click or drag to resize

LayersToggleLayer Method (Int32, Int32)

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
C#
public static int ToggleLayer(
	int mask,
	int layer
)

Parameters

mask
Type: SystemInt32
Current mask
layer
Type: SystemInt32
Layer that should be toggled

Return Value

Type: Int32
New mask where layer is on where it was previously off or visa versa
See Also