Function: createSceneHost()
function createSceneHost(world: World): IwsdkSceneHost;
Defined in: packages/iwsdk-uiextensions/src/scene-host.ts:118
The host for a world: built on the first call, and the same instance every
call after that. Call AFTER registerUIExtensions(world).
One host per world is deliberate. A host owns an ECS system, the record of which documents it has already announced, and the panel upgrade pass, so a second independent host on the same world would run a second copy of all three. Two modules can each ask for the host without coordinating, exactly as they do for the window manager registry.
Parameters
| Parameter | Type |
|---|---|
world | World |