Property

LocalSpatialConfiguration

Provides the current SpatialConfiguration.

Source set: Android
public val LocalSpatialConfiguration: ProvidableCompositionLocal<SpatialConfiguration>

Provides the current SpatialConfiguration.

The behavior of the configuration object will depend on whether the system XR Spatial feature is enabled. For example, if the feature is not enabled, attempting to request different mode types cause an exception.

Last updated: