Class OculusQuestFeature
Enables the Oculus mobile OpenXR Loader for Android, and modifies the AndroidManifest to be compatible with Quest.
Inherited Members
Namespace: UnityEngine .XR.OpenXR .Features.OculusQuestSupport
Assembly: Unity.XR.OpenXR.Features.OculusQuestSupport.dll
Syntax
[OpenXRFeature(UiName = "Oculus Quest Support", Desc = "Necessary to deploy an Oculus Quest compatible app.", Company = "Unity", DocumentationLink = "https://developer.oculus.com/downloads/package/oculus-openxr-mobile-sdk/", OpenxrExtensionStrings = "XR_OCULUS_android_initialize_loader", Version = "1.0.0", BuildTargetGroups = new BuildTargetGroup[] { BuildTargetGroup.Android }, CustomRuntimeLoaderBuildTargets = new BuildTarget[] { BuildTarget.Android }, FeatureId = "com.unity.openxr.feature.oculusquest", Hidden = true)]
[Obsolete("OpenXR.Features.OculusQuestSupport.OculusQuestFeature is deprecated. Please use OpenXR.Features.MetaQuestSupport.MetaQuestFeature instead.", false)]
public class OculusQuestFeature : OpenXRFeature
Fields
featureId
The feature id string. This is used to give the feature a well known id for reference.
Declaration
public const string featureId = "com.unity.openxr.feature.oculusquest"
Field Value
Type | Description |
---|---|
string |
targetQuest
Adds a Quest entry to the supported devices list in the Android manifest.
Declaration
public bool targetQuest
Field Value
Type | Description |
---|---|
bool |
targetQuest2
Adds a Quest 2 entry to the supported devices list in the Android manifest.
Declaration
public bool targetQuest2
Field Value
Type | Description |
---|---|
bool |
Methods
GetValidationChecks(List<ValidationRule>, BuildTargetGroup)
Declaration
protected override void GetValidationChecks(List<OpenXRFeature.ValidationRule> rules, BuildTargetGroup targetGroup)
Parameters
Type | Name | Description |
---|---|---|
List<Open |
rules | |
Build |
targetGroup |