ui
namespaceFunctions
ui.texture(path)
Picture from a png file in the calling mod's folder for ui.Image, loaded once; a picture under 64 pixels is drawn without smoothing
| path | string | Path inside the mod folder, as "gui/flame.png" |
returns Texture2D?
ui.thumbnail(block)
Rendered picture of a block for ui.Image, made once and kept; nil where nothing can be rendered
| block | StaticBlock | Block to picture |
returns RenderTexture?