summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/sp.SkeletonRenderer.lua
blob: c8a618d7ba214efd760b34979dd669885956b348 (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
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
---@meta

---@class sp.SkeletonRenderer :cc.Node@all parent class: Node,BlendProtocol
local SkeletonRenderer={ }
sp.SkeletonRenderer=SkeletonRenderer




---* 
---@param scale float
---@return self
function SkeletonRenderer:setTimeScale (scale) end
---* 
---@return boolean
function SkeletonRenderer:getDebugSlotsEnabled () end
---* 
---@return self
function SkeletonRenderer:setBonesToSetupPose () end
---* 
---@param skeletonData spSkeletonData
---@param ownsSkeletonData boolean
---@return self
function SkeletonRenderer:initWithData (skeletonData,ownsSkeletonData) end
---* 
---@param enabled boolean
---@return self
function SkeletonRenderer:setDebugSlotsEnabled (enabled) end
---@overload fun(string:string,spAtlas1:string,float:float):self
---@overload fun(string:string,spAtlas:spAtlas,float:float):self
---@param skeletonDataFile string
---@param atlas spAtlas
---@param scale float
---@return self
function SkeletonRenderer:initWithJsonFile (skeletonDataFile,atlas,scale) end
---* 
---@return self
function SkeletonRenderer:setSlotsToSetupPose () end
---@overload fun(string:string,spAtlas1:string,float:float):self
---@overload fun(string:string,spAtlas:spAtlas,float:float):self
---@param skeletonDataFile string
---@param atlas spAtlas
---@param scale float
---@return self
function SkeletonRenderer:initWithBinaryFile (skeletonDataFile,atlas,scale) end
---* 
---@return self
function SkeletonRenderer:setToSetupPose () end
---* 
---@param enabled boolean
---@return self
function SkeletonRenderer:setDebugMeshesEnabled (enabled) end
---* 
---@return boolean
function SkeletonRenderer:isTwoColorTint () end
---* 
---@return cc.BlendFunc
function SkeletonRenderer:getBlendFunc () end
---* 
---@return self
function SkeletonRenderer:initialize () end
---* 
---@param enabled boolean
---@return self
function SkeletonRenderer:setDebugBonesEnabled (enabled) end
---* 
---@return boolean
function SkeletonRenderer:getDebugBonesEnabled () end
---* 
---@return float
function SkeletonRenderer:getTimeScale () end
---* 
---@param enabled boolean
---@return self
function SkeletonRenderer:setTwoColorTint (enabled) end
---* 
---@return boolean
function SkeletonRenderer:getDebugMeshesEnabled () end
---* 
---@param blendFunc cc.BlendFunc
---@return self
function SkeletonRenderer:setBlendFunc (blendFunc) end
---* 
---@param effect spVertexEffect
---@return self
function SkeletonRenderer:setVertexEffect (effect) end
---@overload fun(string0:char):self
---@overload fun(string:string):self
---@param skinName string
---@return boolean
function SkeletonRenderer:setSkin (skinName) end
---* 
---@return spSkeleton
function SkeletonRenderer:getSkeleton () end
---@overload fun(string:string,spAtlas1:string,float:float):self
---@overload fun(string:string,spAtlas:spAtlas,float:float):self
---@param skeletonDataFile string
---@param atlas spAtlas
---@param scale float
---@return self
function SkeletonRenderer:createWithFile (skeletonDataFile,atlas,scale) end
---* 
---@return self
function SkeletonRenderer:create () end
---* 
---@return self
function SkeletonRenderer:onEnter () end
---* 
---@return self
function SkeletonRenderer:onExit () end
---* 
---@param value boolean
---@return self
function SkeletonRenderer:setOpacityModifyRGB (value) end
---* 
---@return rect_table
function SkeletonRenderer:getBoundingBox () end
---* 
---@return boolean
function SkeletonRenderer:isOpacityModifyRGB () end
---@overload fun(string0:spSkeletonData,string1:boolean):self
---@overload fun():self
---@overload fun(string:string,string1:spAtlas,float:float):self
---@overload fun(string:string,string:string,float:float):self
---@param skeletonDataFile string
---@param atlasFile string
---@param scale float
---@return self
function SkeletonRenderer:SkeletonRenderer (skeletonDataFile,atlasFile,scale) end