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
133
134
135
136
137
138
139
140
141
142
143
144
145
|
---@class cc.MotionStreak3D :cc.Node@all parent class: Node,TextureProtocol
local MotionStreak3D={ }
cc.MotionStreak3D=MotionStreak3D
---* Remove all living segments of the ribbon.
---@return self
function MotionStreak3D:reset () end
---*
---@param texture cc.Texture2D
---@return self
function MotionStreak3D:setTexture (texture) end
---*
---@return cc.Texture2D
function MotionStreak3D:getTexture () end
---* Color used for the tint.<br>
---* param colors The color used for the tint.
---@param colors color3b_table
---@return self
function MotionStreak3D:tintWithColor (colors) end
---* Get the direction of sweeping line segment
---@return vec3_table
function MotionStreak3D:getSweepAxis () end
---* js NA<br>
---* lua NA
---@param blendFunc cc.BlendFunc
---@return self
function MotionStreak3D:setBlendFunc (blendFunc) end
---* Sets the starting position initialized or not.<br>
---* param bStartingPositionInitialized True if initialized the starting position.
---@param bStartingPositionInitialized boolean
---@return self
function MotionStreak3D:setStartingPositionInitialized (bStartingPositionInitialized) end
---* js NA<br>
---* lua NA
---@return cc.BlendFunc
function MotionStreak3D:getBlendFunc () end
---* Is the starting position initialized or not.<br>
---* return True if the starting position is initialized.
---@return boolean
function MotionStreak3D:isStartingPositionInitialized () end
---* Get stroke.<br>
---* return float stroke.
---@return float
function MotionStreak3D: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 MotionStreak3D:initWithFade (fade,minSeg,stroke,color,path) end
---* Set the direction of sweeping line segment.<br>
---* param sweepAxis Direction of sweeping line segment
---@param sweepAxis vec3_table
---@return self
function MotionStreak3D:setSweepAxis (sweepAxis) end
---* Set stroke.<br>
---* param stroke The width of stroke.
---@param stroke float
---@return self
function MotionStreak3D: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 fade float
---@param minSeg float
---@param stroke float
---@param color color3b_table
---@param path string
---@return self
function MotionStreak3D:create (fade,minSeg,stroke,color,path) end
---* js NA<br>
---* lua NA
---@param renderer cc.Renderer
---@param transform mat4_table
---@param flags unsigned_int
---@return self
function MotionStreak3D:draw (renderer,transform,flags) end
---*
---@param value boolean
---@return self
function MotionStreak3D:setOpacityModifyRGB (value) end
---*
---@param y float
---@return self
function MotionStreak3D:setPositionY (y) end
---*
---@param rotation vec3_table
---@return self
function MotionStreak3D:setRotation3D (rotation) end
---*
---@param x float
---@return self
function MotionStreak3D:setPositionX (x) end
---*
---@param position vec3_table
---@return self
function MotionStreak3D:setPosition3D (position) end
---*
---@return float
function MotionStreak3D:getPositionY () end
---*
---@return float
function MotionStreak3D:getPositionX () end
---*
---@return vec3_table
function MotionStreak3D:getPosition3D () end
---*
---@param opacity unsigned_char
---@return self
function MotionStreak3D:setOpacity (opacity) end
---* lua NA
---@param delta float
---@return self
function MotionStreak3D:update (delta) end
---*
---@param quat cc.Quaternion
---@return self
function MotionStreak3D:setRotationQuat (quat) end
---*
---@return unsigned_char
function MotionStreak3D:getOpacity () end
---@overload fun(float:float,float:float):self
---@overload fun(float0:vec2_table):self
---@param x float
---@param y float
---@return self
function MotionStreak3D:setPosition (x,y) end
---@overload fun(float:float,float:float):self
---@overload fun():self
---@param x float
---@param y float
---@return self
function MotionStreak3D:getPosition (x,y) end
---*
---@return boolean
function MotionStreak3D:isOpacityModifyRGB () end
---*
---@return self
function MotionStreak3D:MotionStreak3D () end
|