diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/ccs.ActionFrame.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/ccs.ActionFrame.lua | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/ccs.ActionFrame.lua b/meta/3rd/Cocos4.0/ccs.ActionFrame.lua new file mode 100644 index 00000000..029ab3c1 --- /dev/null +++ b/meta/3rd/Cocos4.0/ccs.ActionFrame.lua @@ -0,0 +1,58 @@ + +---@class ccs.ActionFrame :cc.Ref +local ActionFrame={ } +ccs.ActionFrame=ActionFrame + + + + +---@overload fun(float:float,ccs.ActionFrame:ccs.ActionFrame):self +---@overload fun(float:float):self +---@param duration float +---@param srcFrame ccs.ActionFrame +---@return cc.ActionInterval +function ActionFrame:getAction (duration,srcFrame) end +---* Gets the type of action frame<br> +---* return the type of action frame +---@return int +function ActionFrame:getFrameType () end +---* Changes the time of action frame<br> +---* param fTime the time of action frame +---@param fTime float +---@return self +function ActionFrame:setFrameTime (fTime) end +---* Changes the easing type.<br> +---* param easingType the easing type. +---@param easingType int +---@return self +function ActionFrame:setEasingType (easingType) end +---* Gets the time of action frame<br> +---* return fTime the time of action frame +---@return float +function ActionFrame:getFrameTime () end +---* Gets the index of action frame<br> +---* return the index of action frame +---@return int +function ActionFrame:getFrameIndex () end +---* Changes the type of action frame<br> +---* param frameType the type of action frame +---@param frameType int +---@return self +function ActionFrame:setFrameType (frameType) end +---* Changes the index of action frame<br> +---* param index the index of action frame +---@param index int +---@return self +function ActionFrame:setFrameIndex (index) end +---* Set the ActionInterval easing parameter.<br> +---* param parameter the parameter for frame ease +---@param parameter array_table +---@return self +function ActionFrame:setEasingParameter (parameter) end +---* Gets the easing type.<br> +---* return the easing type. +---@return int +function ActionFrame:getEasingType () end +---* Default constructor +---@return self +function ActionFrame:ActionFrame () end
\ No newline at end of file |