Class FeatureHelpers
Editor OpenXR Feature helpers.
Inherited Members
Namespace: UnityEditor.XR.OpenXR.Features
Assembly: solution.dll
Syntax
public static class FeatureHelpers
Methods
Name | Description |
---|---|
GetFeatureWithIdForActiveBuildTarget(string) | Given a feature id, returns the first instance of OpenXRFeature associated with that id. |
GetFeatureWithIdForBuildTarget(BuildTargetGroup, string) | Given a feature id, returns the first OpenXRFeature associated with that id. |
GetFeaturesWithIdsForActiveBuildTarget(string[]) | Given an array of feature ids, returns an array of matching OpenXRFeature instances. |
GetFeaturesWithIdsForBuildTarget(BuildTargetGroup, string[]) | Given an array of feature ids, returns an array of matching OpenXRFeature instances that match. |
RefreshFeatures(BuildTargetGroup) | Discovers all features in project and ensures that OpenXRSettings.Instance.features is up to date for selected build target group. |