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
[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)
Allows a feature to add to a list of validation rules which your feature will evaluate at build time. Details of the validation results can be found in OpenXRProjectValidation.
Declaration
protected override void GetValidationChecks(List<OpenXRFeature.ValidationRule> rules, BuildTargetGroup targetGroup)
Parameters
Type | Name | Description |
---|---|---|
List<OpenXRFeature.ValidationRule> | rules | Your feature will check the rules in this list at build time. Add rules that you want your feature to check, and remove rules that you want your feature to ignore. |
BuildTargetGroup | targetGroup | Build target group these validation rules will be evaluated for. |