Edit

Share via


XRSettingsUtilities Class

Definition

Utilities that abstract XR settings functionality

public ref class XRSettingsUtilities abstract sealed
public static class XRSettingsUtilities
type XRSettingsUtilities = class
Public Class XRSettingsUtilities
Inheritance
XRSettingsUtilities

Properties

IsLegacyXRActive
Obsolete.

Checks if an XR SDK plugin is installed that disables legacy XR. Returns false if so. Also returns false in Unity 2020 and above where Legacy XR has been removed.

LegacyXRAvailable

Checks if an XR SDK plugin is installed that disables legacy XR. Returns false if so. Also returns false in Unity 2020 and above where Legacy XR has been removed.

LegacyXREnabled

Gets or sets (in Unity 2019.4 or earlier) the legacy virtual reality supported property in the player settings.

MicrosoftOpenXREnabled

Checks whether the Microsoft OpenXR plugin is enabled.

MicrosoftOpenXRPresent

Checks whether the Microsoft OpenXR plugin is present in the project.

OpenXREnabled

Checks whether the Unity OpenXR plugin is enabled.

XREnabled

Is either LegacyXR pipeline or XRSDK pipeline enabled?

XRManagementPresent

Checks whether the Unity XR Management plugin is present in the project.

XRSDKEnabled

Checks whether the XRSDK pipeline is properly set up to enable XR.

Applies to