Click or drag to resize

Layers Class

A static class to encapsulates the ImmerseSDK layers in Unity
Inheritance Hierarchy
SystemObject
  ImmerseSDKLayers

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static class Layers

The Layers type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberLayers
Top
Properties
  NameDescription
Public propertyStatic memberController
ImmerseSDK's Controller layer, used for filtering the user's hands when ray casting
Public propertyStatic memberDialogs
ImmerseSDK's Dialogs layer, dialogs will be on this layer
Public propertyStatic memberFloor
ImmerseSDK's Floor layer, used when calculating teleport targets
Public propertyStatic memberOutline
ImmerseSDK's Outliner layer, outlines will be on this layer
Public propertyStatic memberPlayer
ImmerseSDK's Player layer, used to identify avatars in ray casts
Public propertyStatic memberVR
ImmerseSDK's VR layer, used for objects that should only be visible in the VR composite camera (e.g. the grid)
Top
Methods
  NameDescription
Public methodStatic memberDisableLayer
Used to disable a layer in a layer mask
Public methodStatic memberEnableLayer
Used to enable a layer in a layer mask
Public methodStatic memberToggleLayer(Int32, Int32)
Used to toggle a layer on/off
Public methodStatic memberToggleLayer(Int32, Int32, Boolean)
Used to toggle a layer on/off
Top
Fields
  NameDescription
Public fieldStatic memberControllerLayerName
Immerse Controller layer
Public fieldStatic memberDefault
Unity Engine's Default layer
Public fieldStatic memberDialogsLayerName
Immerse Dialogs layer
Public fieldStatic memberFloorLayerName
Immerse Floor layer
Public fieldStatic memberIgnoreRaycast
Unity Engine's IgnoreRaycast layer
Public fieldStatic memberOutlineLayerName
Immerse Outline layer
Public fieldStatic memberPlayerLayerName
Immerse player layer
Public fieldStatic memberTransparentFx
Unity Engine's TransparentFX layer
Public fieldStatic memberUI
Unity Engine's UI layer
Public fieldStatic memberVRLayerName
Immerse VR layer
Public fieldStatic memberWater
Unity Engine's Water layer
Top
See Also