closeWindow

View sourcecloseWindow(entity: EntityHandle, world: World): void

Removes the DOM canvas registered for a window entity and clears its Windows entry. If the entity has no registered canvas, this function does nothing.

Parameters

NameDescriptionDefault
entity——
world——