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

This commit is contained in:
MihailRis 2026-09-08 19:42:09 +03:00
parent b98bfcc135
commit 8c37d0860c
2 changed files with 20 additions and 0 deletions

View file

@ -37,6 +37,16 @@ assets.parse_model(
skeleton_name: string skeleton_name: string
) )
-- Parses and loads animation
assets.parse_animation(
-- Animation file format (vca)
format: string,
-- Animation file content
content: string,
-- Animation name after loading
name: string
)
-- Creates a Canvas from a loaded texture. -- Creates a Canvas from a loaded texture.
assets.to_canvas( assets.to_canvas(
-- The name of the loaded texture. -- The name of the loaded texture.

View file

@ -38,6 +38,16 @@ assets.parse_model(
skeleton_name: string skeleton_name: string
) )
-- Парсит и загружает анимацию
assets.parse_animation(
-- Формат файла анимации (vca)
format: string,
-- Содержимое файла анимации
content: string,
-- Имя анимации после загрузки
name: string
)
-- Создаёт холст (Canvas) из загруженной текстуры -- Создаёт холст (Canvas) из загруженной текстуры
assets.to_canvas( assets.to_canvas(
-- Имя загруженной текстуры. -- Имя загруженной текстуры.