Class FeatureExtensions
Extension methods for Feature flags.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public static class FeatureExtensions
Methods
Name | Description |
---|---|
All(Feature, Feature) | Tests whether all the features in |
Any(Feature, Feature) | Tests whether any of the features in |
Cameras(Feature) | Filters just the camera-related Feature flags. |
Count(Feature) | Calculates the number of enabled features in |
Intersection(Feature, Feature) | Computes the intersection of |
LightEstimation(Feature) | Filters just the light estimation related Feature flags. |
None(Feature, Feature) | Tests whether there are any common features between |
SetDifference(Feature, Feature) | Computes the set difference (that is, removes all flags in |
SetEnabled(Feature, Feature, bool) | Sets or removes one or more Feature flags. |
SymmetricDifference(Feature, Feature) | Computes the symmetric difference (that is,
the set of all features that belong to exactly one of |
ToStringList(Feature, string) | Generates a single string representing the list of enabled features separated by |
TrackingModes(Feature) | Filters just the tracking-related Feature flags. |
Union(Feature, Feature) | Computes the union of |
WithoutCameraOrTracking(Feature) | Removes all camera and tracking-related Feature flags. |