Minetest:Drawtype: Difference between revisions
From Rabbi Blog
m (Created page with "__TOC__ =Drawtypes= List of drawtype as defined in scriptapi.cpp with examples on the right. Reference images uses File:Drawtype example.png as the texture. {|class="wiki...") |
(No difference)
|
Latest revision as of 22:11, 26 February 2012
Drawtypes
List of drawtype as defined in scriptapi.cpp with examples on the right. Reference images uses as the texture.
Name | Effect | Screenshot |
---|---|---|
airlike | ||
glasslike | Wraps six sides | File:Glasslike.jpg |
torchlike | Centers within node | |
signlike | Places to outer node wall | |
plantlike | Places along x,y axis from center (doubles image) | |
fencelike | Wraps around the center axis | |
raillike | Places on the node's bottom |
Usage
drawtype = "signlike",
Needs Updated Info
The following elements were listed in scriptapi.cpp and their usage is unknown to me at this time (untested):
- {NDT_NORMAL, "normal"},
- {NDT_LIQUID, "liquid"},
- {NDT_FLOWINGLIQUID, "flowingliquid"},
- {NDT_ALLFACES, "allfaces"},
- {NDT_ALLFACES_OPTIONAL, "allfaces_optional"},
- {0, NULL},