setSize(width, height)
Sets the size of the view rectangle given the width and height in parameters.
Parameters
Name | Type | Description |
---|---|---|
width | number | The desired width. |
height | number | The desired height. |
- Source code: core/Camera.js (Line 745)
Please login to continue.