Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / isAssetLoaded

Function: isAssetLoaded() ​

ts
function isAssetLoaded(source): boolean;

Defined in: assets/runtimeAssets.ts:339

Whether a file has finished loading, by this API or by a model entity.

Parameters ​

ParameterType
sourceAssetSource

Returns ​

boolean