resize(width, height)
Resizes the webGL view to the specified width and height.
Parameters
Name | Type | Description |
---|---|---|
width | Number | the new width of the webGL view |
height | Number | the new height of the webGL view |
- Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 315)
Please login to continue.