Source set: Android
public val LocalSpatialConfiguration: ProvidableCompositionLocal<SpatialConfiguration> =
compositionLocalWithComputedDefaultOf {
LocalComposeXrOwners.currentValue.spatialConfiguration
?: ContextOnlySpatialConfiguration(LocalContext.currentValue)
}
Provides the current SpatialConfiguration.
The behavior of the configuration object will depend on whether the system XR Spatial feature is enabled.