update doc/*/scripting/ecs.md, doc/*/scripting/builtins/libgfx-skeletons.md

This commit is contained in:
MihailRis 2026-10-18 14:46:31 +03:00
parent 01a0215903
commit ddf8395d85
4 changed files with 14 additions and 0 deletions

View file

@ -26,6 +26,10 @@ skeleton:get_matrix(index: int) -> mat4
-- Sets the transformation matrix of the bone with the specified index
skeleton:set_matrix(index: int, matrix: mat4)
-- Returns the offset of the bone with the specified index relative to its parent
-- (as defined in the skeleton config)
skeleton:get_bone_offset(index: int) -> vec3
-- Returns the texture by key (dynamically assigned textures - '$name')
skeleton:get_texture(key: str) -> str

View file

@ -172,6 +172,9 @@ rig:get_matrix(index: int) -> mat4
-- Sets the bone transformation matrix at the specified index
rig:set_matrix(index: int, matrix: mat4)
-- Returns the bone offset relative to its parent (from the skeleton config)
rig:get_bone_offset(index: int) -> vec3
-- Returns the texture by key (dynamically assigned textures - '$name')
rig:get_texture(key: str) -> str