summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/ccs.SkeletonNode.lua
blob: 33442fb3c3f2c75c9c18d06bd8f1a14221a7915b (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

---@class ccs.SkeletonNode :ccs.BoneNode
local SkeletonNode={ }
ccs.SkeletonNode=SkeletonNode




---* get bonenode in skeleton node by bone name
---@param boneName string
---@return ccs.BoneNode
function SkeletonNode:getBoneNode (boneName) end
---@overload fun(map_table0:string):self
---@overload fun(map_table:map_table):self
---@param boneSkinNameMap map_table
---@return self
function SkeletonNode:changeSkins (boneSkinNameMap) end
---* brief: add a boneSkinNameMap as a SkinGroup named groupName<br>
---* param: groupName, key<br>
---* param: boneSkinNameMap, map <name of bone, name of skin to display which added to bone>
---@param groupName string
---@param boneSkinNameMap map_table
---@return self
function SkeletonNode:addSkinGroup (groupName,boneSkinNameMap) end
---* get All bones in this skeleton, <bone's name, BoneNode>
---@return map_table
function SkeletonNode:getAllSubBonesMap () end
---* 
---@return self
function SkeletonNode:create () end
---* 
---@return rect_table
function SkeletonNode:getBoundingBox () end
---* 
---@return boolean
function SkeletonNode:init () end
---* 
---@return self
function SkeletonNode:SkeletonNode () end