update doc/*/scripting/builtins/libassets.md

This commit is contained in:
MihailRis
2025-11-05 20:59:35 +03:00
parent 878d824548
commit 340b469b40
2 changed files with 16 additions and 0 deletions
+8
View File
@@ -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
```