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)
setSize(width, height)
Sets the size of the view rectangle given the width and height in parameters.
| Name | Type | Description |
|---|---|---|
width | number | The desired width. |
height | number | The desired height. |
Please login to continue.