diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
commit | 8fefb8f3e100976235dc83d6ae3785952d11c710 (patch) | |
tree | 459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.WavesTiles3D.lua | |
parent | b6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff) | |
download | lua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip |
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.WavesTiles3D.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc.WavesTiles3D.lua | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.WavesTiles3D.lua b/meta/3rd/Cocos4.0/library/cc.WavesTiles3D.lua new file mode 100644 index 00000000..4b404e0b --- /dev/null +++ b/meta/3rd/Cocos4.0/library/cc.WavesTiles3D.lua @@ -0,0 +1,61 @@ +---@meta + +---@class cc.WavesTiles3D :cc.TiledGrid3DAction +local WavesTiles3D={ } +cc.WavesTiles3D=WavesTiles3D + + + + +---* brief Set the amplitude rate of the effect.<br> +---* param amplitudeRate The value of amplitude rate will be set. +---@param amplitudeRate float +---@return self +function WavesTiles3D:setAmplitudeRate (amplitudeRate) end +---* brief Initializes an action with duration, grid size, waves count and amplitude.<br> +---* param duration Specify the duration of the WavesTiles3D action. It's a value in seconds.<br> +---* param gridSize Specify the size of the grid.<br> +---* param waves Specify the waves count of the WavesTiles3D action.<br> +---* param amplitude Specify the amplitude of the WavesTiles3D action.<br> +---* return If the initialization success, return true; otherwise, return false. +---@param duration float +---@param gridSize size_table +---@param waves unsigned_int +---@param amplitude float +---@return boolean +function WavesTiles3D:initWithDuration (duration,gridSize,waves,amplitude) end +---* brief Get the amplitude of the effect.<br> +---* return Return the amplitude of the effect. +---@return float +function WavesTiles3D:getAmplitude () end +---* brief Get the amplitude rate of the effect.<br> +---* return Return the amplitude rate of the effect. +---@return float +function WavesTiles3D:getAmplitudeRate () end +---* brief Set the amplitude to the effect.<br> +---* param amplitude The value of amplitude will be set. +---@param amplitude float +---@return self +function WavesTiles3D:setAmplitude (amplitude) end +---* brief Create the action with a number of waves, the waves amplitude, the grid size and the duration.<br> +---* param duration Specify the duration of the WavesTiles3D action. It's a value in seconds.<br> +---* param gridSize Specify the size of the grid.<br> +---* param waves Specify the waves count of the WavesTiles3D action.<br> +---* param amplitude Specify the amplitude of the WavesTiles3D action.<br> +---* return If the creation success, return a pointer of WavesTiles3D action; otherwise, return nil. +---@param duration float +---@param gridSize size_table +---@param waves unsigned_int +---@param amplitude float +---@return self +function WavesTiles3D:create (duration,gridSize,waves,amplitude) end +---* +---@return self +function WavesTiles3D:clone () end +---* +---@param time float +---@return self +function WavesTiles3D:update (time) end +---* +---@return self +function WavesTiles3D:WavesTiles3D () end
\ No newline at end of file |