Class ConfigurationChooser
The base class for configuration choosers, which determines which configuration a session will use. Used by DetermineConfiguration(Feature). Use configurationChooser to get or set the session's configuration choosers.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public abstract class ConfigurationChooser
Methods
ChooseConfiguration(NativeSlice<ConfigurationDescriptor>, Feature)
Chooses a configuration given a set of ConfigurationDescriptors and requested Features.
Declaration
public abstract Configuration ChooseConfiguration(NativeSlice<ConfigurationDescriptor> descriptors, Feature requestedFeatures)
Parameters
Type | Name | Description |
---|---|---|
NativeSlice<ConfigurationDescriptor> | descriptors | The set of available configurations supported by the session. |
Feature | requestedFeatures | The set of requested Features. |
Returns
Type | Description |
---|---|
Configuration | A Configuration the session should use. See Configuration(ConfigurationDescriptor, Feature) for restrictions on the selected configuration. |