diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
commit | 8fefb8f3e100976235dc83d6ae3785952d11c710 (patch) | |
tree | 459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/sp.SkeletonRenderer.lua | |
parent | b6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff) | |
download | lua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip |
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/sp.SkeletonRenderer.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/sp.SkeletonRenderer.lua | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/sp.SkeletonRenderer.lua b/meta/3rd/Cocos4.0/library/sp.SkeletonRenderer.lua new file mode 100644 index 00000000..c8a618d7 --- /dev/null +++ b/meta/3rd/Cocos4.0/library/sp.SkeletonRenderer.lua @@ -0,0 +1,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
\ No newline at end of file |