optimize animator

This commit is contained in:
Andrey Tazetdinov 2026-10-14 16:35:21 +02:00
parent 17bdbb1a38
commit fd17ce32ab
11 changed files with 294 additions and 2 deletions

View file

@ -191,6 +191,10 @@ rig:set_visible(status: bool)
-- Sets the visibility status of a bone by index
rig:set_visible(index: int, status: bool)
-- Checks if the entity is out of the camera view in this frame
-- (updated before on_render)
rig:is_culled() -> bool
-- Returns the color of the entity
rig:get_color() -> vec4
-- Return the color of the bone by index

View file

@ -180,6 +180,10 @@ rig:set_visible(status: bool)
-- Устанавливает статус видимости кости по индексу
rig:set_visible(index: int, status: bool)
-- Проверяет, находится ли сущность вне поля зрения камеры в этом кадре
-- (обновляется перед on_render)
rig:is_culled() -> bool
-- Возвращает цвет сущности
rig:get_color() -> vec4
-- Возвращает цвет кости по индексу