focusOnXY(x, y)
Move the camera focus on a location instantly.
Parameters
Name | Type | Description |
---|---|---|
x | number | X position. |
y | number | Y position. |
- Source code: core/Camera.js (Line 346)
focusOnXY(x, y)
Move the camera focus on a location instantly.
Name | Type | Description |
---|---|---|
x | number | X position. |
y | number | Y position. |
Please login to continue.