summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.Skeleton3D.lua
blob: c5bd2fe7fdd9a8b277de4244c830ab93f23e1f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---@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