Class WindowsMRSettings
Runtime settings for this XR Plugin.
Inherited Members
Namespace: UnityEngine.XR.WindowsMR
Syntax
public class WindowsMRSettings : ScriptableObject
Fields
DepthBufferFormat
If using a shared depth buffer, this is the type of the depth buffer we should use.
Declaration
[SerializeField]
[Tooltip("Set the size of the depth buffer")]
public WindowsMRSettings.DepthBufferOption DepthBufferFormat
Field Value
Type | Description |
---|---|
WindowsMRSettings.DepthBufferOption |
UseSharedDepthBuffer
True if we want to use a shared depth buffer, false otherwise.
Declaration
[SerializeField]
[Tooltip("Enable depth buffer sharing")]
public bool UseSharedDepthBuffer
Field Value
Type | Description |
---|---|
Boolean |
Methods
Awake()
Unity Awake callback for initialization of the object.
Declaration
public void Awake()