Composable Function

rememberSpatialGltfModelState

Remembers a SpatialGltfModelState object for use with the SpatialGltfModel API.

rememberSpatialGltfModelState

Source set: Android
@Composable
public fun rememberSpatialGltfModelState(source: SpatialGltfModelSource): SpatialGltfModelState

Remembers a SpatialGltfModelState object for use with the SpatialGltfModel API.

Parameters

source The SpatialGltfModelSource that defines where to load the 3D model from.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: