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
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
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<OpenXRFeature.ValidationRule> | rules | |
| BuildTargetGroup | targetGroup |