diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 21:05:36 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 21:05:36 +0800 |
commit | 52097b6ee7cc8f5a770eb851902560b5b8592218 (patch) | |
tree | 6dcbb53ac0104912e950747a37aac6b25039e862 /meta/3rd/Cocos4.0/cc.ShatteredTiles3D.lua | |
parent | 6839cd530c53387df4d5db61f0cb2e5ed1a87298 (diff) | |
download | lua-language-server-52097b6ee7cc8f5a770eb851902560b5b8592218.zip |
add meta/3rd with acknowledgement
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.ShatteredTiles3D.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/cc.ShatteredTiles3D.lua | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.ShatteredTiles3D.lua b/meta/3rd/Cocos4.0/cc.ShatteredTiles3D.lua new file mode 100644 index 00000000..e1f2735c --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.ShatteredTiles3D.lua @@ -0,0 +1,42 @@ + +---@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
\ No newline at end of file |