SpatialCapabilities
interface SpatialCapabilities
Provides information and functionality related to the spatial capabilities of the application.
Summary
Public companion properties |
|
|---|---|
SpatialCapabilities |
Public properties |
|
|---|---|
Boolean |
Indicates whether the application may set the environment. |
Boolean |
Indicates whether the application may create 3D objects. |
Boolean |
Indicates whether the application may control the passthrough state. |
Boolean |
Indicates whether the application may use spatial audio. |
Boolean |
Indicates whether the application may create spatial UI elements (e.g. SpatialPanel). |
Public companion properties
Public properties
isAppEnvironmentEnabled
val isAppEnvironmentEnabled: Boolean
Indicates whether the application may set the environment.
This is a State-based value that should trigger recomposition in composable functions.
isContent3dEnabled
val isContent3dEnabled: Boolean
Indicates whether the application may create 3D objects.
This is a State-based value that should trigger recomposition in composable functions.
isPassthroughControlEnabled
val isPassthroughControlEnabled: Boolean
Indicates whether the application may control the passthrough state.
This is a State-based value that should trigger recomposition in composable functions.
isSpatialAudioEnabled
val isSpatialAudioEnabled: Boolean
Indicates whether the application may use spatial audio.
This is a State-based value that should trigger recomposition in composable functions.
isSpatialUiEnabled
val isSpatialUiEnabled: Boolean
Indicates whether the application may create spatial UI elements (e.g. SpatialPanel).
This is a State-based value that should trigger recomposition in composable functions.