Class XRSettingsUtilities
Utilities that abstract XR settings functionality so that the MRTK need not know which implementation is being used.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Editor
Assembly: cs.temp.dll.dll
Syntax
public static class XRSettingsUtilities
Properties
IsLegacyXRActive
Checks if an XR SDK plug-in is installed that disables legacy VR. Returns false if so.
Declaration
public static bool IsLegacyXRActive { get; }
Property Value
Type | Description |
---|---|
Boolean |
LegacyXREnabled
Gets or sets the legacy virtual reality supported property in the player settings.
Declaration
public static bool LegacyXREnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Returns true if legacy XR is disabled due to XR SDK in Unity 2019.3+.