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

---@class cc.FadeOutTRTiles :cc.TiledGrid3DAction
local FadeOutTRTiles={ }
cc.FadeOutTRTiles=FadeOutTRTiles




---* brief Show the tile at specified position.<br>
---* param pos The position index of the tile should be shown.
---@param pos vec2_table
---@return self
function FadeOutTRTiles:turnOnTile (pos) end
---* brief Hide the tile at specified position.<br>
---* param pos The position index of the tile should be hide.
---@param pos vec2_table
---@return self
function FadeOutTRTiles:turnOffTile (pos) end
---* brief Show part of the tile.<br>
---* param pos The position index of the tile should be shown.<br>
---* param distance The percentage that the tile should be shown.
---@param pos vec2_table
---@param distance float
---@return self
function FadeOutTRTiles:transformTile (pos,distance) end
---* brief Calculate the percentage a tile should be shown.<br>
---* param pos The position index of the tile.<br>
---* param time The current percentage of the action.<br>
---* return Return the percentage the tile should be shown.
---@param pos size_table
---@param time float
---@return float
function FadeOutTRTiles:testFunc (pos,time) end
---* brief Create the action with the grid size and the duration.<br>
---* param duration Specify the duration of the FadeOutTRTiles action. It's a value in seconds.<br>
---* param gridSize Specify the size of the grid.<br>
---* return If the creation success, return a pointer of FadeOutTRTiles action; otherwise, return nil.
---@param duration float
---@param gridSize size_table
---@return self
function FadeOutTRTiles:create (duration,gridSize) end
---* 
---@return self
function FadeOutTRTiles:clone () end
---* 
---@param time float
---@return self
function FadeOutTRTiles:update (time) end
---* 
---@return self
function FadeOutTRTiles:FadeOutTRTiles () end