add g/s pitch and make_screenshot in lua api
This commit is contained in:
parent
60a9ff6fff
commit
6efa8a7582
@ -1083,6 +1083,8 @@ Passed to `HTTPApiTable.fetch` callback. Returned by
|
|||||||
* returns the exact position on the surface of a pointed node
|
* returns the exact position on the surface of a pointed node
|
||||||
* `minetest.global_exists(name)`
|
* `minetest.global_exists(name)`
|
||||||
* Checks if a global variable has been set, without triggering a warning.
|
* Checks if a global variable has been set, without triggering a warning.
|
||||||
|
* `minetest.make_screenshot()`
|
||||||
|
* Triggers the MT makeScreenshot functionality
|
||||||
|
|
||||||
### UI
|
### UI
|
||||||
* `minetest.ui.minimap`
|
* `minetest.ui.minimap`
|
||||||
@ -1175,6 +1177,10 @@ Methods:
|
|||||||
* returns the yaw (degrees)
|
* returns the yaw (degrees)
|
||||||
* `set_yaw(yaw)`
|
* `set_yaw(yaw)`
|
||||||
* sets the yaw (degrees)
|
* sets the yaw (degrees)
|
||||||
|
* `get_pitch()`
|
||||||
|
* returns the pitch (degrees)
|
||||||
|
* `set_pitch(pitch)`
|
||||||
|
* sets the pitch (degrees)
|
||||||
* `get_velocity()`
|
* `get_velocity()`
|
||||||
* returns player speed vector
|
* returns player speed vector
|
||||||
* `set_velocity(vel)`
|
* `set_velocity(vel)`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user