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

31 lines
1,005 B
Lua

---@meta
---@class cc.EaseRateAction :cc.ActionEase
local EaseRateAction={ }
cc.EaseRateAction=EaseRateAction
---* brief Set the rate value for the ease rate action.<br>
---* param rate The value will be set.
---@param rate float
---@return self
function EaseRateAction:setRate (rate) end
---* brief Initializes the action with the inner action and the rate parameter.<br>
---* param pAction The pointer of the inner action.<br>
---* param fRate The value of the rate parameter.<br>
---* return Return true when the initialization success, otherwise return false.
---@param pAction cc.ActionInterval
---@param fRate float
---@return boolean
function EaseRateAction:initWithAction (pAction,fRate) end
---* brief Get the rate value of the ease rate action.<br>
---* return Return the rate value of the ease rate action.
---@return float
function EaseRateAction:getRate () end
---*
---@param action cc.ActionInterval
---@param rate float
---@return self
function EaseRateAction:create (action,rate) end