summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.MotionStreak.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
commit8fefb8f3e100976235dc83d6ae3785952d11c710 (patch)
tree459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.MotionStreak.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.MotionStreak.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc.MotionStreak.lua124
1 files changed, 124 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.MotionStreak.lua b/meta/3rd/Cocos4.0/library/cc.MotionStreak.lua
new file mode 100644
index 00000000..7aecbd2f
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/cc.MotionStreak.lua
@@ -0,0 +1,124 @@
+---@meta
+
+---@class cc.MotionStreak :cc.Node@all parent class: Node,TextureProtocol
+local MotionStreak={ }
+cc.MotionStreak=MotionStreak
+
+
+
+
+---* Remove all living segments of the ribbon.
+---@return self
+function MotionStreak:reset () end
+---* js NA<br>
+---* lua NA
+---@return cc.BlendFunc
+function MotionStreak:getBlendFunc () end
+---* js NA<br>
+---* lua NA
+---@param blendFunc cc.BlendFunc
+---@return self
+function MotionStreak:setBlendFunc (blendFunc) end
+---* Color used for the tint.<br>
+---* param colors The color used for the tint.
+---@param colors color3b_table
+---@return self
+function MotionStreak:tintWithColor (colors) end
+---*
+---@return cc.Texture2D
+function MotionStreak:getTexture () end
+---* Sets the starting position initialized or not.<br>
+---* param bStartingPositionInitialized True if initialized the starting position.
+---@param bStartingPositionInitialized boolean
+---@return self
+function MotionStreak:setStartingPositionInitialized (bStartingPositionInitialized) end
+---*
+---@param texture cc.Texture2D
+---@return self
+function MotionStreak:setTexture (texture) end
+---* Is the starting position initialized or not.<br>
+---* return True if the starting position is initialized.
+---@return boolean
+function MotionStreak:isStartingPositionInitialized () end
+---* When fast mode is enabled, new points are added faster but with lower precision. <br>
+---* return True if fast mode is enabled.
+---@return boolean
+function MotionStreak:isFastMode () end
+---* Get stroke.<br>
+---* return float stroke.
+---@return float
+function MotionStreak:getStroke () end
+---@overload fun(float:float,float:float,float:float,color3b_table:color3b_table,string4:cc.Texture2D):self
+---@overload fun(float:float,float:float,float:float,color3b_table:color3b_table,string:string):self
+---@param fade float
+---@param minSeg float
+---@param stroke float
+---@param color color3b_table
+---@param path string
+---@return boolean
+function MotionStreak:initWithFade (fade,minSeg,stroke,color,path) end
+---* Sets fast mode or not.<br>
+---* param bFastMode True if enabled fast mode.
+---@param bFastMode boolean
+---@return self
+function MotionStreak:setFastMode (bFastMode) end
+---* Set stroke.<br>
+---* param stroke The width of stroke.
+---@param stroke float
+---@return self
+function MotionStreak:setStroke (stroke) end
+---@overload fun(float:float,float:float,float:float,color3b_table:color3b_table,string4:cc.Texture2D):self
+---@overload fun(float:float,float:float,float:float,color3b_table:color3b_table,string:string):self
+---@param timeToFade float
+---@param minSeg float
+---@param strokeWidth float
+---@param strokeColor color3b_table
+---@param imagePath string
+---@return self
+function MotionStreak:create (timeToFade,minSeg,strokeWidth,strokeColor,imagePath) end
+---*
+---@return boolean
+function MotionStreak:isOpacityModifyRGB () end
+---*
+---@param opacity unsigned_char
+---@return self
+function MotionStreak:setOpacity (opacity) end
+---*
+---@param y float
+---@return self
+function MotionStreak:setPositionY (y) end
+---*
+---@param x float
+---@return self
+function MotionStreak:setPositionX (x) end
+---*
+---@return float
+function MotionStreak:getPositionY () end
+---*
+---@return float
+function MotionStreak:getPositionX () end
+---*
+---@return vec3_table
+function MotionStreak:getPosition3D () end
+---*
+---@param value boolean
+---@return self
+function MotionStreak:setOpacityModifyRGB (value) end
+---*
+---@return unsigned_char
+function MotionStreak:getOpacity () end
+---@overload fun(float:float,float:float):self
+---@overload fun(float0:vec2_table):self
+---@param x float
+---@param y float
+---@return self
+function MotionStreak:setPosition (x,y) end
+---@overload fun(float:float,float:float):self
+---@overload fun():self
+---@param x float
+---@param y float
+---@return self
+function MotionStreak:getPosition (x,y) end
+---*
+---@return self
+function MotionStreak:MotionStreak () end \ No newline at end of file