diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.Waves.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/cc.Waves.lua | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.Waves.lua b/meta/3rd/Cocos4.0/cc.Waves.lua new file mode 100644 index 00000000..88f71bdd --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.Waves.lua @@ -0,0 +1,68 @@ + +---@class cc.Waves :cc.Grid3DAction +local Waves={ } +cc.Waves=Waves + + + + +---* 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 Waves:setAmplitudeRate (amplitudeRate) end +---* brief Initializes the action with amplitude, horizontal sin, vertical sin, grid size, waves count and duration.<br> +---* param duration Specify the duration of the Waves 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 Waves action.<br> +---* param amplitude Specify the amplitude of the Waves action.<br> +---* param horizontal Specify whether waves on horizontal.<br> +---* param vertical Specify whether waves on vertical.<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 +---@param horizontal boolean +---@param vertical boolean +---@return boolean +function Waves:initWithDuration (duration,gridSize,waves,amplitude,horizontal,vertical) end +---* brief Get the amplitude of the effect.<br> +---* return Return the amplitude of the effect. +---@return float +function Waves:getAmplitude () end +---* brief Get the amplitude rate of the effect.<br> +---* return Return the amplitude rate of the effect. +---@return float +function Waves: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 Waves:setAmplitude (amplitude) end +---* brief Create the action with amplitude, horizontal sin, vertical sin, grid size, waves count and duration.<br> +---* param duration Specify the duration of the Waves 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 Waves action.<br> +---* param amplitude Specify the amplitude of the Waves action.<br> +---* param horizontal Specify whether waves on horizontal.<br> +---* param vertical Specify whether waves on vertical.<br> +---* return If the creation success, return a pointer of Waves action; otherwise, return nil. +---@param duration float +---@param gridSize size_table +---@param waves unsigned_int +---@param amplitude float +---@param horizontal boolean +---@param vertical boolean +---@return self +function Waves:create (duration,gridSize,waves,amplitude,horizontal,vertical) end +---* +---@return self +function Waves:clone () end +---* +---@param time float +---@return self +function Waves:update (time) end +---* +---@return self +function Waves:Waves () end
\ No newline at end of file |