summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/Shaky3D.lua
blob: 187c10cde76f34961764a96c22179a504b752a6f (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.Shaky3D :cc.Grid3DAction
local Shaky3D={ }
cc.Shaky3D=Shaky3D




---* brief Initializes the action with a range, shake Z vertices, grid size and duration.<br>
---* param duration Specify the duration of the Shaky3D action. It's a value in seconds.<br>
---* param gridSize Specify the size of the grid.<br>
---* param range Specify the range of the shaky effect.<br>
---* param shakeZ 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 shakeZ boolean
---@return boolean
function Shaky3D:initWithDuration (duration,gridSize,range,shakeZ) end
---* brief Create the action with a range, shake Z vertices, a grid and duration.<br>
---* param initWithDuration Specify the duration of the Shaky3D action. It's a value in seconds.<br>
---* param gridSize Specify the size of the grid.<br>
---* param range Specify the range of the shaky effect.<br>
---* param shakeZ Specify whether shake on the z axis.<br>
---* return If the creation success, return a pointer of Shaky3D action; otherwise, return nil.
---@param initWithDuration float
---@param gridSize size_table
---@param range int
---@param shakeZ boolean
---@return self
function Shaky3D:create (initWithDuration,gridSize,range,shakeZ) end
---* 
---@return self
function Shaky3D:clone () end
---* 
---@param time float
---@return self
function Shaky3D:update (time) end
---* 
---@return self
function Shaky3D:Shaky3D () end