mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 07:21:51 +00:00
update doc/*/scripting/ecs.md
This commit is contained in:
parent
3c7755f61b
commit
446b6edd03
2 changed files with 8 additions and 4 deletions
|
|
@ -185,9 +185,11 @@ rig:index(name: str) -> int
|
||||||
-- or the skeleton if no index is specified
|
-- or the skeleton if no index is specified
|
||||||
rig:is_visible([optional] index: int) -> bool
|
rig:is_visible([optional] index: int) -> bool
|
||||||
|
|
||||||
|
-- Sets the visibility status of the skeleton
|
||||||
|
rig:set_visible(status: bool)
|
||||||
|
|
||||||
-- Sets the visibility status of a bone by index
|
-- Sets the visibility status of a bone by index
|
||||||
-- or the skeleton if no index is specified
|
rig:set_visible(index: int, status: bool)
|
||||||
rig:set_visible([optional] index: int, status: bool)
|
|
||||||
|
|
||||||
-- Returns the color of the entity
|
-- Returns the color of the entity
|
||||||
rig:get_color() -> vec4
|
rig:get_color() -> vec4
|
||||||
|
|
|
||||||
|
|
@ -174,9 +174,11 @@ rig:index(name: str) -> int
|
||||||
-- или всего скелета, если индекс не указан
|
-- или всего скелета, если индекс не указан
|
||||||
rig:is_visible([optional] index: int) -> bool
|
rig:is_visible([optional] index: int) -> bool
|
||||||
|
|
||||||
|
-- Устанавливает статус видимости всего скелета
|
||||||
|
rig:set_visible(status: bool)
|
||||||
|
|
||||||
-- Устанавливает статус видимости кости по индексу
|
-- Устанавливает статус видимости кости по индексу
|
||||||
-- или всего скелета, если индекс не указан
|
rig:set_visible(index: int, status: bool)
|
||||||
rig:set_visible([optional] index: int, status: bool)
|
|
||||||
|
|
||||||
-- Возвращает цвет сущности
|
-- Возвращает цвет сущности
|
||||||
rig:get_color() -> vec4
|
rig:get_color() -> vec4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue