mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-22 02:19:44 +00:00
optimize animator
This commit is contained in:
parent
17bdbb1a38
commit
fd17ce32ab
11 changed files with 294 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
-- Возвращает цвет кости по индексу
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue