Update docs/maps/api-camera.md
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
parent
2708384354
commit
66da11f854
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
WA.camera.onCameraUpdate(callback: WasCameraUpdatedEventCallback): void
|
||||
```
|
||||
|
||||
Listens to the updating of the camera linked to the player. It will trigger for every update of the camera's properties (position or scale for instance). An event will then be sent.
|
||||
Listens to updates of the camera viewport. It will trigger for every update of the camera's properties (position or scale for instance). An event will be sent.
|
||||
|
||||
The event has the following attributes :
|
||||
* **x (number):** coordinate X of the camera's world view (the area looked at by the camera).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue