We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class XRSettingsUtilities

    Utilities that abstract XR settings functionality so that the MRTK need not know which implementation is being used.

    Inheritance
    Object
    XRSettingsUtilities
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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+.

    In This Article
    Back to top Generated by DocFX