API reference

SpatialScene Composable

Compatibility overload for callers that select a platform directly. New platform integrations should assign the platform from configure.

Signature

@Composable
fun SpatialScene(
    theme: @Composable (@Composable () -> Unit) -> Unit = { it() },
    platform: PlatformSpec?,
    configure: @Composable SceneConfigScope.() -> Unit = {},
    content: @Composable () -> Unit,
)

Parameters

theme: @Composable (@Composable () -> Unit) -> Unit
platform: PlatformSpec?
configure: @Composable SceneConfigScope.() -> Unit
content: @Composable () -> Unit