nixos/lua-lsp/meta/3rd/Cocos4.0/library/cc/Skeleton3D.lua

44 lines
973 B
Lua
Raw Normal View History

---@meta
---@class cc.Skeleton3D :cc.Ref
local Skeleton3D={ }
cc.Skeleton3D=Skeleton3D
---* remove all bones
---@return self
function Skeleton3D:removeAllBones () end
---* add bone
---@param bone cc.Bone3D
---@return self
function Skeleton3D:addBone (bone) end
---*
---@param id string
---@return cc.Bone3D
function Skeleton3D:getBoneByName (id) end
---*
---@param index int
---@return cc.Bone3D
function Skeleton3D:getRootBone (index) end
---* refresh bone world matrix
---@return self
function Skeleton3D:updateBoneMatrix () end
---* get bone
---@param index unsigned_int
---@return cc.Bone3D
function Skeleton3D:getBoneByIndex (index) end
---* get & set root bone
---@return int
function Skeleton3D:getRootCount () end
---* get bone index
---@param bone cc.Bone3D
---@return int
function Skeleton3D:getBoneIndex (bone) end
---* get total bone count
---@return int
function Skeleton3D:getBoneCount () end
---*
---@return self
function Skeleton3D:Skeleton3D () end