nixos/lua-lsp/meta/3rd/Cocos4.0/library/cc/ShakyTiles3D.lua

43 lines
1.6 KiB
Lua
Raw Normal View History

---@meta
---@class cc.ShakyTiles3D :cc.TiledGrid3DAction
local ShakyTiles3D={ }
cc.ShakyTiles3D=ShakyTiles3D
---* brief Initializes the action with a range, shake Z vertices, grid size and duration.<br>
---* param duration Specify the duration of the ShakyTiles3D 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 ShakyTiles3D:initWithDuration (duration,gridSize,range,shakeZ) end
---* brief Create the action with a range, shake Z vertices, a grid and duration.<br>
---* param duration Specify the duration of the ShakyTiles3D 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 ShakyTiles3D action; otherwise, return nil.
---@param duration float
---@param gridSize size_table
---@param range int
---@param shakeZ boolean
---@return self
function ShakyTiles3D:create (duration,gridSize,range,shakeZ) end
---*
---@return self
function ShakyTiles3D:clone () end
---*
---@param time float
---@return self
function ShakyTiles3D:update (time) end
---*
---@return self
function ShakyTiles3D:ShakyTiles3D () end