Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: ModelLoadGate ​

ts
type ModelLoadGate = {
  requestModelLoad: void;
};

Defined in: factories/objects/ModelFactory.ts:103

Something that decides when a model starts loading: the streaming system, which holds back models out of range and starts the rest nearest first. start begins the load.

Methods ​

requestModelLoad() ​

ts
requestModelLoad(entityId, start): void;

Defined in: factories/objects/ModelFactory.ts:104

Parameters ​

ParameterType
entityIdnumber
start() => void

Returns ​

void