update doc/*/scripting/libassets.md

This commit is contained in:
MihailRis 2026-02-22 14:24:18 +03:00
parent a9a5d177d5
commit be080f90f7
2 changed files with 10 additions and 2 deletions

View file

@ -30,7 +30,11 @@ assets.parse_model(
-- Contents of the model file
content: str,
-- Model name after loading
name: str
name: str,
-- The skeleton name after loading. May be the same as the model name.
-- The model will be split by the named bones.
[optional]
skeleton_name: string
)
-- Creates a Canvas from a loaded texture.

View file

@ -31,7 +31,11 @@ assets.parse_model(
-- Содержимое файла модели
content: string,
-- Имя модели после загрузки
name: string
name: string,
-- Имя скелета после загрузки. Может совпадать с именем модели.
-- Модель будет разделена по именованным костям.
[опционально]
skeleton_name: string
)
-- Создаёт холст (Canvas) из загруженной текстуры