Skip to main content

Interface: Loader

Information about the loading state of the 3D scene.

This interface provides details about what's currently being loaded in the 3D scene, including status indicators and descriptive messages. This can be used to show loading progress and status to users.

Properties

isLoadingScene3d

isLoadingScene3d: boolean

Indicates whether the 3D scene is currently loading.

When true, the scene is in the process of loading assets and initializing, and is not yet fully interactive.


messages

messages: LoaderMessage[]

Descriptive messages about the current loading operations.

These messages provide human-readable descriptions of what's currently being loaded, which can be displayed to users during loading.


stack

stack: string[]

A stack of loading operations currently in progress.

This array contains identifiers for the various loading operations that are currently ongoing, which can be used to track progress.