Class OpenXRFeatureSetManager
API for finding and managing feature sets for OpenXR.
Inherited Members
Namespace: UnityEditor.XR.OpenXR.Features
Assembly: solution.dll
Syntax
public static class OpenXRFeatureSetManager
Fields
| Name | Description |
|---|---|
| activeBuildTarget | The current active build target. Used to handle callbacks from enabled into CanFeatureBeDisabled(string) to determine if a feature can currently be disabled. |
Methods
| Name | Description |
|---|---|
| CanFeatureBeDisabled(string, BuildTargetGroup) | Tell the user if the feature with passed in feature id can be disabled based on the build target group. |
| FeatureSetsForBuildTarget(BuildTargetGroup) | Returns the list of all OpenXRFeatureSetManager.FeatureSet for the given build target group. |
| GetFeatureSetWithId(BuildTargetGroup, string) | Returns a specific OpenXRFeatureSetManager.FeatureSet instance that matches the input. |
| InitializeFeatureSets() | Initializes all currently known feature sets. This will do two initialization passes:
|
| SetFeaturesFromEnabledFeatureSets(BuildTargetGroup) | Given the current enabled state of the feature sets that match for a build target group, enable and disable the features associated with each feature set. Features that overlap sets of varying enabled states will maintain their enabled setting. |