Class OpenXRFeatureSetAttribute
Attribute used to describe a feature set to the OpenXR Editor components.
Inherited Members
Namespace: UnityEditor.XR.OpenXR.Features
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public sealed class OpenXRFeatureSetAttribute : Attribute, _Attribute
Fields
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[] DefaultFeatureIds
Field Value
Type | Description |
---|---|
String[] |
Description
Description of the feature set.
Declaration
public string Description
Field Value
Type | Description |
---|---|
String |
FeatureIds
The list of feature ids that this feature set can enable or disable.
Declaration
public string[] FeatureIds
Field 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 FeatureSetId
Field 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[] RequiredFeatureIds
Field Value
Type | Description |
---|---|
String[] |
SupportedBuildTargets
The list of build targets that this feature set supports.
Declaration
public BuildTargetGroup[] SupportedBuildTargets
Field Value
Type | Description |
---|---|
BuildTargetGroup[] |
UiName
The string used to represent the feature set in the UI.
Declaration
public string UiName
Field Value
Type | Description |
---|---|
String |