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

This commit is contained in:
MihailRis 2026-10-14 13:03:05 +03:00
parent 0643909efd
commit 8a8119e0c2
2 changed files with 24 additions and 4 deletions

View file

@ -25,10 +25,10 @@ assets.load_texture(
-- Parses and loads a 3D model
assets.parse_model(
-- Model file format (xml / vcm)
-- Model file format (xml / vcm / obj / vec3)
format: str,
-- Contents of the model file
content: str,
content: str | Bytearray (.vec3),
-- Model name after loading
name: str,
-- The skeleton name after loading. May be the same as the model name.
@ -37,6 +37,16 @@ assets.parse_model(
skeleton_name: string
)
-- Parses and loads a skeleton definition
assets.parse_skeleton(
-- Skeleton file format (json / vcm / xml)
format: str,
-- Contents of the skeleton file
content: str,
-- Skeleton name after loading
name: str
)
-- Parses and loads animation
assets.parse_animation(
-- Animation file format (vca)