Class OpenXRFeatureSetAttribute
Attribute used to describe a feature set to the OpenXR Editor components.
Implements
Inherited Members
Namespace: UnityEditor.XR.OpenXR.Features
Assembly: Unity.XR.OpenXR.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public sealed class OpenXRFeatureSetAttribute : Attribute, _AttributeFields
DefaultFeatureIds
The list of feature ids that this feature set desires (but does not require). The features in this list will be enabled (but the UI will allow them to be disabled) whenever the feature set itself is enabled.
Feature Ids are a subset of FeatureIds. Any feature id in this list and not also in FeatureIds will be ignored.
Declaration
public string[] DefaultFeatureIdsField Value
| Type | Description | 
|---|---|
| string[] | 
Description
Description of the feature set.
Declaration
public string DescriptionField Value
| Type | Description | 
|---|---|
| string | 
FeatureIds
The list of feature ids that this feature set can enable or disable.
Declaration
public string[] FeatureIdsField Value
| Type | Description | 
|---|---|
| string[] | 
FeatureSetId
The id used to uniquely define this feature set. It is recommended to use reverse DNS naming for this id.
Declaration
public string FeatureSetIdField Value
| Type | Description | 
|---|---|
| string | 
RequiredFeatureIds
The list of feature ids that this feature set requires. The features in this list will be enabled (and the UI will not allow them to be disabled) whenever the feature set itself is enabled.
Feature Ids are a subset of FeatureIds. Any feature id in this list and not also in FeatureIds will be ignored.
Declaration
public string[] RequiredFeatureIdsField Value
| Type | Description | 
|---|---|
| string[] | 
SupportedBuildTargets
The list of build targets that this feature set supports.
Declaration
public BuildTargetGroup[] SupportedBuildTargetsField Value
| Type | Description | 
|---|---|
| BuildTargetGroup[] | 
UiName
The string used to represent the feature set in the UI.
Declaration
public string UiNameField Value
| Type | Description | 
|---|---|
| string |