Constructor ArConfig
ArConfig(ArSession)
Creates a new session configuration and initializes it to a sensible default configuration.
Declaration
public ArConfig(ArSession session)
Parameters
Type | Name | Description |
---|---|---|
ArSession | session | A non-null ArSession. |
Remarks
Plane detection and Lighting Estimation are enabled, and blocking update is selected. This configuration is guaranteed to be supported on all devices that support ARCore.
When you no longer need the ArConfig, you should destroy it by calling Dispose(). If you do not dispose it, ARCore will leak memory.