InterfacesScreenResizeEventOn this pageScreenResizeEvent Fires when the screen resizes, useful if you have logic that needs to be aware of resolution/viewport constraintsIndex PropertiesresolutionviewportProperties resolutionresolution: ScreenDimensionCurrent resolution in world pixels of the screenviewportviewport: ScreenDimensionCurrent viewport in css pixels of the screen
Fires when the screen resizes, useful if you have logic that needs to be aware of resolution/viewport constraints