@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / AssetLoadProgress
Type Alias: AssetLoadProgress ​
ts
type AssetLoadProgress = {
loaded: number;
total: number;
fraction: number;
};Defined in: assets/runtimeAssets.ts:29
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
loaded | number | Files finished, of total. | assets/runtimeAssets.ts:31 |
total | number | - | assets/runtimeAssets.ts:32 |
fraction | number | 0 to 1, for a loading bar. Never steps backwards. | assets/runtimeAssets.ts:34 |

