Variable VIEWPORT_ONRESIZEConst

VIEWPORT_ONRESIZE: string = "viewport.onresize"

Event for when the viewport is resized
(this usually follows a WINDOW_ONRESIZE event, when using the flex scaling mode is used and after the viewport was updated).
Data passed : {number} viewport width
Data passed : {number} viewport height
Data passed : {Camera2d} a reference to the camera viewport being resized

VIEWPORT_ONRESIZE

event

event.on