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

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




---* brief Initializes the action with a range, shatter Z vertices, grid size and duration.<br>
---* param duration Specify the duration of the ShatteredTiles3D action. It's a value in seconds.<br>
---* param gridSize Specify the size of the grid.<br>
---* param range Specify the range of the shatter effect.<br>
---* param shatterZ Specify whether shake on the z axis.<br>
---* return If the Initialization success, return true; otherwise, return false.
---@param duration float
---@param gridSize size_table
---@param range int
---@param shatterZ boolean
---@return boolean
function ShatteredTiles3D:initWithDuration (duration,gridSize,range,shatterZ) end
---* brief Create the action with a range, whether of not to shatter Z vertices, grid size and duration.<br>
---* param duration Specify the duration of the ShatteredTiles3D action. It's a value in seconds.<br>
---* param gridSize Specify the size of the grid.<br>
---* param range Specify the range of the shatter effect.<br>
---* param shatterZ Specify whether shatter on the z axis.<br>
---* return If the creation success, return a pointer of ShatteredTiles3D action; otherwise, return nil.
---@param duration float
---@param gridSize size_table
---@param range int
---@param shatterZ boolean
---@return self
function ShatteredTiles3D:create (duration,gridSize,range,shatterZ) end
---* 
---@return self
function ShatteredTiles3D:clone () end
---* 
---@param time float
---@return self
function ShatteredTiles3D:update (time) end
---* 
---@return self
function ShatteredTiles3D:ShatteredTiles3D () end