mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
update doc/*/scripting/builtins/libassets.md
This commit is contained in:
parent
878d824548
commit
340b469b40
2 changed files with 16 additions and 0 deletions
|
|
@ -25,4 +25,12 @@ assets.parse_model(
|
|||
-- Model name after loading
|
||||
name: str
|
||||
)
|
||||
|
||||
-- Creates a Canvas from a loaded texture.
|
||||
assets.to_canvas(
|
||||
-- The name of the loaded texture.
|
||||
-- Both standalone textures ("texture_name") and
|
||||
-- those in an atlas ("atlas:texture_name") are supported
|
||||
name: str
|
||||
) --> Canvas
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue