Phaser API Documentation

  Version: 
Event: RESIZE
Phaser.Renderer.WebGL.Pipelines.Events.RESIZE
RESIZE

Description:

The WebGLPipeline Resize Event.

This event is dispatched by a WebGLPipeline when it is resized, usually as a result of the Renderer resizing.

Parameters:

name type description
width number

The new width of the pipeline.

height number

The new height of the pipeline.

pipeline Phaser.Renderer.WebGL.WebGLPipeline

The pipeline that was resized.