From 04fa96b7c0abba4d7cca03ed12ff3b65b3912e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sat, 13 Aug 2022 01:23:32 +0800 Subject: fix #1431 --- meta/3rd/Cocos4.0/library/cc/RotateBy.lua | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 meta/3rd/Cocos4.0/library/cc/RotateBy.lua (limited to 'meta/3rd/Cocos4.0/library/cc/RotateBy.lua') diff --git a/meta/3rd/Cocos4.0/library/cc/RotateBy.lua b/meta/3rd/Cocos4.0/library/cc/RotateBy.lua new file mode 100644 index 00000000..1e4a156e --- /dev/null +++ b/meta/3rd/Cocos4.0/library/cc/RotateBy.lua @@ -0,0 +1,42 @@ +---@meta + +---@class cc.RotateBy :cc.ActionInterval +local RotateBy={ } +cc.RotateBy=RotateBy + + + + +---@overload fun(float:float,float:float,float:float):self +---@overload fun(float:float,float:float):self +---@overload fun(float:float,float1:vec3_table):self +---@param duration float +---@param deltaAngleZ_X float +---@param deltaAngleZ_Y float +---@return boolean +function RotateBy:initWithDuration (duration,deltaAngleZ_X,deltaAngleZ_Y) end +---@overload fun(float:float,float:float,float:float):self +---@overload fun(float:float,float:float):self +---@overload fun(float:float,float1:vec3_table):self +---@param duration float +---@param deltaAngleZ_X float +---@param deltaAngleZ_Y float +---@return self +function RotateBy:create (duration,deltaAngleZ_X,deltaAngleZ_Y) end +---* +---@param target cc.Node +---@return self +function RotateBy:startWithTarget (target) end +---* +---@return self +function RotateBy:clone () end +---* +---@return self +function RotateBy:reverse () end +---* param time In seconds. +---@param time float +---@return self +function RotateBy:update (time) end +---* +---@return self +function RotateBy:RotateBy () end \ No newline at end of file -- cgit v1.2.3