mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 18:09:46 +00:00
Merge branch 'dev' into upgrade-vca
This commit is contained in:
commit
371b8baed1
9 changed files with 39 additions and 13 deletions
|
|
@ -41,8 +41,14 @@ skeleton:is_visible([optional] index: int) -> bool
|
|||
skeleton:set_visible([optional] index: int, status: bool)
|
||||
|
||||
-- Returns the color of the entity
|
||||
skeleton:get_color() -> vec3
|
||||
skeleton:get_color() -> vec4
|
||||
|
||||
-- Returns the color of the bone
|
||||
skeleton:get_color(index: int) -> vec4
|
||||
|
||||
-- Sets the color of the entity
|
||||
skeleton:set_color(color: vec3)
|
||||
skeleton:set_color(color: vec4)
|
||||
|
||||
-- Sets the color of the bone
|
||||
skeleton:set_color(color: vec4, bone: int)
|
||||
```
|
||||
|
|
|
|||
|
|
@ -42,8 +42,14 @@ skeleton:is_visible([опционально] index: int) -> boolean
|
|||
skeleton:set_visible([опционально] index: int, status: boolean)
|
||||
|
||||
-- Возвращает цвет сущности
|
||||
skeleton:get_color() -> vec3
|
||||
skeleton:get_color() -> vec4
|
||||
|
||||
-- Возвращает цвет кости
|
||||
skeleton:get_color(index: int) -> vec4
|
||||
|
||||
-- Устанавливает цвет сущности
|
||||
skeleton:set_color(color: vec3)
|
||||
```
|
||||
skeleton:set_color(color: vec4)
|
||||
|
||||
-- Устанавливает цвет кости
|
||||
skeleton:set_color(color: vec4, index: int)
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue