resizeWindow

View sourceresizeWindow(world: World): void

Synchronizes browser canvas sizes with their Window components.

An entity is skipped when its Windows entry is not an HTMLCanvasElement. When the rounded displayed dimensions differ, the system updates the backing canvas, updates the component, and dispatches one WindowResize event.

Parameters

NameDescriptionDefault
world——