aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>2012-10-24 22:10:05 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-11-25 18:14:15 +0200
commit9c8ba427503cbf73f0263495a791656b905c2efc (patch)
tree098f163a19b5cedd11e040e68bfc5b920e21c51b /doc
parentf9675bd2b4d48b9517cd4939a5cfe1ea9c775b6c (diff)
downloadminetest-9c8ba427503cbf73f0263495a791656b905c2efc.tar.gz
minetest-9c8ba427503cbf73f0263495a791656b905c2efc.tar.bz2
minetest-9c8ba427503cbf73f0263495a791656b905c2efc.zip
Get the mesh working through the memory cache properly. Most credit goes to celeron55 for the help on this code
Get the texture from memory as well Add .x to the list of supported formats Update LUA API documentation
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 500b514d9..84c86061f 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1227,8 +1227,9 @@ Object Properties
physical = true,
weight = 5,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
- visual = "cube"/"sprite"/"upright_sprite",
+ visual = "cube"/"sprite"/"upright_sprite"/"mesh",
visual_size = {x=1, y=1},
+ mesh = "model",
textures = {}, -- number of required textures depends on visual
spritediv = {x=1, y=1},
initial_sprite_basepos = {x=0, y=0},