blob: 58f978bf5f1119d1e58c1c3a276b2d00b9b1c091 (
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
|
---@meta
---@class ccs.Tween
local Tween={ }
ccs.Tween=Tween
---*
---@return ccs.ArmatureAnimation
function Tween:getAnimation () end
---*
---@param frameIndex int
---@return self
function Tween:gotoAndPause (frameIndex) end
---* Start the Process<br>
---* param movementBoneData the MovementBoneData include all FrameData<br>
---* param durationTo the number of frames changing to this animation needs.<br>
---* param durationTween the number of frames this animation actual last.<br>
---* param loop whether the animation is loop<br>
---* loop < 0 : use the value from MovementData get from Action Editor<br>
---* loop = 0 : this animation is not loop<br>
---* loop > 0 : this animation is loop<br>
---* param tweenEasing tween easing is used for calculate easing effect<br>
---* TWEEN_EASING_MAX : use the value from MovementData get from Action Editor<br>
---* -1 : fade out<br>
---* 0 : line<br>
---* 1 : fade in<br>
---* 2 : fade in and out
---@param movementBoneData ccs.MovementBoneData
---@param durationTo int
---@param durationTween int
---@param loop int
---@param tweenEasing int
---@return self
function Tween:play (movementBoneData,durationTo,durationTween,loop,tweenEasing) end
---*
---@param frameIndex int
---@return self
function Tween:gotoAndPlay (frameIndex) end
---* Init with a Bone<br>
---* param bone the Bone Tween will bind to
---@param bone ccs.Bone
---@return boolean
function Tween:init (bone) end
---*
---@param animation ccs.ArmatureAnimation
---@return self
function Tween:setAnimation (animation) end
---* Create with a Bone<br>
---* param bone the Bone Tween will bind to
---@param bone ccs.Bone
---@return self
function Tween:create (bone) end
---*
---@return self
function Tween:Tween () end
|