aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJean-Patrick Guerrero <kilbith@users.noreply.github.com>2021-03-16 23:28:16 +0100
committerGitHub <noreply@github.com>2021-03-16 23:28:16 +0100
commit285ba74723695c4b51192dac0e1e17c5d8f880db (patch)
tree5b6147a093f28d01d7a6b9da40770e2c434b1641 /doc
parent66b5c086644ac18845731d6f3556d9e7cde4ee28 (diff)
downloadminetest-285ba74723695c4b51192dac0e1e17c5d8f880db.tar.gz
minetest-285ba74723695c4b51192dac0e1e17c5d8f880db.tar.bz2
minetest-285ba74723695c4b51192dac0e1e17c5d8f880db.zip
GUIScene: Clear depth buffer + replace deprecated clearZBuffer calls
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index c09578a15..abbe88f80 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2299,7 +2299,7 @@ Elements
* `frame duration`: Milliseconds between each frame. `0` means the frames don't advance.
* `frame start` (Optional): The index of the frame to start on. Default `1`.
-### `model[<X>,<Y>;<W>,<H>;<name>;<mesh>;<textures>;<rotation X,Y>;<continuous>;<mouse control>;<frame loop range>]`
+### `model[<X>,<Y>;<W>,<H>;<name>;<mesh>;<textures>;<rotation X,Y>;<continuous>;<mouse control>;<frame loop range>;<animation speed>]`
* Show a mesh model.
* `name`: Element name that can be used for styling
@@ -2313,6 +2313,7 @@ Elements
* `frame loop range` (Optional): Range of the animation frames.
* Defaults to the full range of all available frames.
* Syntax: `<begin>,<end>`
+* `animation speed` (Optional): Sets the animation speed. Default 0 FPS.
### `item_image[<X>,<Y>;<W>,<H>;<item name>]`