mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
update doc/*/scripting/libassets.md
This commit is contained in:
parent
a9a5d177d5
commit
be080f90f7
2 changed files with 10 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -31,7 +31,11 @@ assets.parse_model(
|
|||
-- Содержимое файла модели
|
||||
content: string,
|
||||
-- Имя модели после загрузки
|
||||
name: string
|
||||
name: string,
|
||||
-- Имя скелета после загрузки. Может совпадать с именем модели.
|
||||
-- Модель будет разделена по именованным костям.
|
||||
[опционально]
|
||||
skeleton_name: string
|
||||
)
|
||||
|
||||
-- Создаёт холст (Canvas) из загруженной текстуры
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue