Start native apps faster with the Composables CLI ->
Class

SpatialGltfModelStatus

An object that describes and contains information relevant to the current loading state of the glTF model.

Source set: Android
public abstract class SpatialGltfModelStatus private constructor()

An object that describes and contains information relevant to the current loading state of the glTF model.

Members

Loaded

Source set: Android
@ExperimentalSpatialGltfModelApi public object Loaded : SpatialGltfModelStatus()

The glTF model is fully loaded and ready to be displayed.

Loading

Source set: Android
@ExperimentalSpatialGltfModelApi public object Loading : SpatialGltfModelStatus()

The glTF model is currently loading and is not ready to be displayed.

Failed

Source set: Android
public class Failed(public val exception: Throwable) : SpatialGltfModelStatus()

The glTF model has failed to load properly.

The exception can be inspected to understand why the glTF model has failed to load.

Parameters

exception thrown when the glTF model tried to load.

Functions

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int