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

---@class cc.CardinalSplineTo :cc.ActionInterval
local CardinalSplineTo={ }
cc.CardinalSplineTo=CardinalSplineTo




---*  Return a PointArray.<br>
---* return A PointArray.
---@return point_table
function CardinalSplineTo:getPoints () end
---*  It will update the target position and change the _previousPosition to newPos<br>
---* param newPos The new position.
---@param newPos vec2_table
---@return self
function CardinalSplineTo:updatePosition (newPos) end
---* Initializes the action with a duration and an array of points.<br>
---* param duration In seconds.<br>
---* param points An PointArray.<br>
---* param tension Goodness of fit.
---@param duration float
---@param points point_table
---@param tension float
---@return boolean
function CardinalSplineTo:initWithDuration (duration,points,tension) end
---* 
---@param target cc.Node
---@return self
function CardinalSplineTo:startWithTarget (target) end
---* 
---@return self
function CardinalSplineTo:clone () end
---* 
---@return self
function CardinalSplineTo:reverse () end
---* param time In seconds.
---@param time float
---@return self
function CardinalSplineTo:update (time) end
---* js ctor<br>
---* lua NA
---@return self
function CardinalSplineTo:CardinalSplineTo () end