Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / components / ModelLoadState

Type Alias: ModelLoadState ​

ts
type ModelLoadState = "loading" | "loaded" | "error" | "unloaded";

Defined in: components/Model.ts:10

Load progress of a ModelComponent's asset. "unloaded": streamed out of memory because the player is far away (see StreamingComponent); it loads again when they come back.