From 52097b6ee7cc8f5a770eb851902560b5b8592218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 22 Feb 2021 21:05:36 +0800 Subject: add meta/3rd with acknowledgement --- meta/3rd/Cocos4.0/cc.Shaky3D.lua | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 meta/3rd/Cocos4.0/cc.Shaky3D.lua (limited to 'meta/3rd/Cocos4.0/cc.Shaky3D.lua') diff --git a/meta/3rd/Cocos4.0/cc.Shaky3D.lua b/meta/3rd/Cocos4.0/cc.Shaky3D.lua new file mode 100644 index 00000000..1666e504 --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.Shaky3D.lua @@ -0,0 +1,42 @@ + +---@class cc.Shaky3D :cc.Grid3DAction +local Shaky3D={ } +cc.Shaky3D=Shaky3D + + + + +---* brief Initializes the action with a range, shake Z vertices, grid size and duration.
+---* param duration Specify the duration of the Shaky3D action. It's a value in seconds.
+---* param gridSize Specify the size of the grid.
+---* param range Specify the range of the shaky effect.
+---* param shakeZ Specify whether shake on the z axis.
+---* 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.
+---* param initWithDuration Specify the duration of the Shaky3D action. It's a value in seconds.
+---* param gridSize Specify the size of the grid.
+---* param range Specify the range of the shaky effect.
+---* param shakeZ Specify whether shake on the z axis.
+---* 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 \ No newline at end of file -- cgit v1.2.3