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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
---@meta
---@class ccs.BoneNode :cc.Node@all parent class: Node,BlendProtocol
local BoneNode={ }
ccs.BoneNode=BoneNode
---*
---@return float
function BoneNode:getDebugDrawWidth () end
---@overload fun():self
---@overload fun():self
---@return array_table
function BoneNode:getChildBones () end
---*
---@return cc.BlendFunc
function BoneNode:getBlendFunc () end
---* brief: get all bones in this bone tree
---@return array_table
function BoneNode:getAllSubBones () end
---*
---@param blendFunc cc.BlendFunc
---@return self
function BoneNode:setBlendFunc (blendFunc) end
---*
---@param isDebugDraw boolean
---@return self
function BoneNode:setDebugDrawEnabled (isDebugDraw) end
---* get displayings rect in self transform
---@return rect_table
function BoneNode:getVisibleSkinsRect () end
---* brief: get all skins in this bone tree
---@return array_table
function BoneNode:getAllSubSkins () end
---@overload fun(cc.Node0:string,boolean:boolean):self
---@overload fun(cc.Node:cc.Node,boolean:boolean):self
---@param skin cc.Node
---@param hideOthers boolean
---@return self
function BoneNode:displaySkin (skin,hideOthers) end
---*
---@return boolean
function BoneNode:isDebugDrawEnabled () end
---@overload fun(cc.Node:cc.Node,boolean:boolean,boolean:boolean):self
---@overload fun(cc.Node:cc.Node,boolean:boolean):self
---@param skin cc.Node
---@param display boolean
---@param hideOthers boolean
---@return self
function BoneNode:addSkin (skin,display,hideOthers) end
---*
---@return ccs.SkeletonNode
function BoneNode:getRootSkeletonNode () end
---*
---@param length float
---@return self
function BoneNode:setDebugDrawLength (length) end
---@overload fun():self
---@overload fun():self
---@return array_table
function BoneNode:getSkins () end
---*
---@return array_table
function BoneNode:getVisibleSkins () end
---*
---@param width float
---@return self
function BoneNode:setDebugDrawWidth (width) end
---*
---@return float
function BoneNode:getDebugDrawLength () end
---*
---@param color color4f_table
---@return self
function BoneNode:setDebugDrawColor (color) end
---*
---@return color4f_table
function BoneNode:getDebugDrawColor () end
---@overload fun(int:int):self
---@overload fun():self
---@param length int
---@return self
function BoneNode:create (length) end
---@overload fun(cc.Node:cc.Node,int:int,string2:int):self
---@overload fun(cc.Node:cc.Node,int:int,string:string):self
---@param child cc.Node
---@param localZOrder int
---@param name string
---@return self
function BoneNode:addChild (child,localZOrder,name) end
---*
---@param renderer cc.Renderer
---@param transform mat4_table
---@param flags unsigned_int
---@return self
function BoneNode:draw (renderer,transform,flags) end
---*
---@param name string
---@return self
function BoneNode:setName (name) end
---*
---@param anchorPoint vec2_table
---@return self
function BoneNode:setAnchorPoint (anchorPoint) end
---*
---@param localZOrder int
---@return self
function BoneNode:setLocalZOrder (localZOrder) end
---*
---@param child cc.Node
---@param cleanup boolean
---@return self
function BoneNode:removeChild (child,cleanup) end
---*
---@return boolean
function BoneNode:init () end
---*
---@return rect_table
function BoneNode:getBoundingBox () end
---*
---@param contentSize size_table
---@return self
function BoneNode:setContentSize (contentSize) end
---*
---@param visible boolean
---@return self
function BoneNode:setVisible (visible) end
---*
---@return self
function BoneNode:BoneNode () end
|