Constructor Configuration
Configuration(ConfigurationDescriptor, Feature)
Constructs a Configuration.
Declaration
public Configuration(ConfigurationDescriptor descriptor, Feature features)
Parameters
Type | Name | Description |
---|---|---|
ConfigurationDescriptor | descriptor | A ConfigurationDescriptor for this configuration. |
Feature | features | A set of Feature(s) that should be enabled for this configuration.
You can only enable exactly zero or one camera modes (see UserFacingCamera and WorldFacingCamera).
If zero camera modes are enabled, no camera texture will be available. Some platforms might support a configuration that does
not provide camera textures, which can be more performant if they are not necessary.
All |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if multiple camera modes are enabled. |
InvalidOperationException | Thrown if multiple tracking modes are enabled. |
NotSupportedException | Thrown if the |