SpatialCapabilities

interface SpatialCapabilities


Provides information and functionality related to the spatial capabilities of the application.

Summary

Public companion functions

SpatialCapabilities
getOrCreate(session: Session)

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 functions

getOrCreate

Added in 1.0.0-alpha01
fun getOrCreate(session: Session): SpatialCapabilities

Public properties

isAppEnvironmentEnabled

Added in 1.0.0-alpha01
val isAppEnvironmentEnabledBoolean

Indicates whether the application may set the environment.

This is a State-based value that should trigger recomposition in composable functions.

isContent3dEnabled

Added in 1.0.0-alpha01
val isContent3dEnabledBoolean

Indicates whether the application may create 3D objects.

This is a State-based value that should trigger recomposition in composable functions.

isPassthroughControlEnabled

Added in 1.0.0-alpha01
val isPassthroughControlEnabledBoolean

Indicates whether the application may control the passthrough state.

This is a State-based value that should trigger recomposition in composable functions.

isSpatialAudioEnabled

Added in 1.0.0-alpha01
val isSpatialAudioEnabledBoolean

Indicates whether the application may use spatial audio.

This is a State-based value that should trigger recomposition in composable functions.

isSpatialUiEnabled

Added in 1.0.0-alpha01
val isSpatialUiEnabledBoolean

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.