Layers Class |
Namespace: ImmerseSDK
public static class Layers
The Layers type exposes the following members.
Name | Description | |
---|---|---|
Controller |
ImmerseSDK's Controller layer, used for filtering the user's hands when ray casting
| |
Dialogs |
ImmerseSDK's Dialogs layer, dialogs will be on this layer
| |
Floor |
ImmerseSDK's Floor layer, used when calculating teleport targets
| |
Outline |
ImmerseSDK's Outliner layer, outlines will be on this layer
| |
Player |
ImmerseSDK's Player layer, used to identify avatars in ray casts
| |
VR |
ImmerseSDK's VR layer, used for objects that should only be visible in the VR composite camera (e.g. the grid)
|
Name | Description | |
---|---|---|
DisableLayer |
Used to disable a layer in a layer mask
| |
EnableLayer |
Used to enable a layer in a layer mask
| |
ToggleLayer(Int32, Int32) |
Used to toggle a layer on/off
| |
ToggleLayer(Int32, Int32, Boolean) |
Used to toggle a layer on/off
|
Name | Description | |
---|---|---|
ControllerLayerName |
Immerse Controller layer
| |
Default |
Unity Engine's Default layer
| |
DialogsLayerName |
Immerse Dialogs layer
| |
FloorLayerName |
Immerse Floor layer
| |
IgnoreRaycast |
Unity Engine's IgnoreRaycast layer
| |
OutlineLayerName |
Immerse Outline layer
| |
PlayerLayerName |
Immerse player layer
| |
TransparentFx |
Unity Engine's TransparentFX layer
| |
UI |
Unity Engine's UI layer
| |
VRLayerName |
Immerse VR layer
| |
Water |
Unity Engine's Water layer
|