diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-08-13 01:23:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-08-13 01:23:32 +0800 |
commit | 04fa96b7c0abba4d7cca03ed12ff3b65b3912e01 (patch) | |
tree | c0c8a2c0e92d0580280f838ba475875c7f82a73c /meta/3rd/Cocos4.0/library/cc.PhysicsShapeCircle.lua | |
parent | c30c5c2e267f6917600afe4f19e1e0d674bad9c6 (diff) | |
download | lua-language-server-04fa96b7c0abba4d7cca03ed12ff3b65b3912e01.zip |
fix #1431
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.PhysicsShapeCircle.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc.PhysicsShapeCircle.lua | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.PhysicsShapeCircle.lua b/meta/3rd/Cocos4.0/library/cc.PhysicsShapeCircle.lua deleted file mode 100644 index c8bfc811..00000000 --- a/meta/3rd/Cocos4.0/library/cc.PhysicsShapeCircle.lua +++ /dev/null @@ -1,47 +0,0 @@ ----@meta - ----@class cc.PhysicsShapeCircle :cc.PhysicsShape -local PhysicsShapeCircle={ } -cc.PhysicsShapeCircle=PhysicsShapeCircle - - - - ----* Get the circle's radius.<br> ----* return A float number. ----@return float -function PhysicsShapeCircle:getRadius () end ----* Creates a PhysicsShapeCircle with specified value.<br> ----* param radius A float number, it is the circle's radius.<br> ----* param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.<br> ----* param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.<br> ----* return An autoreleased PhysicsShapeCircle object pointer. ----@param radius float ----@param material cc.PhysicsMaterial ----@param offset vec2_table ----@return self -function PhysicsShapeCircle:create (radius,material,offset) end ----* Calculate the area of a circle with specified radius.<br> ----* param radius A float number<br> ----* return A float number ----@param radius float ----@return float -function PhysicsShapeCircle:calculateArea (radius) end ----* Calculate the moment of a circle with specified value.<br> ----* param mass A float number<br> ----* param radius A float number<br> ----* param offset A Vec2 object, it is the offset from the body's center of gravity in body local coordinates.<br> ----* return A float number ----@param mass float ----@param radius float ----@param offset vec2_table ----@return float -function PhysicsShapeCircle:calculateMoment (mass,radius,offset) end ----* Get this circle's position offset.<br> ----* return A Vec2 object. ----@return vec2_table -function PhysicsShapeCircle:getOffset () end ----* Calculate the moment for a circle.<br> ----* return A float number. ----@return float -function PhysicsShapeCircle:calculateDefaultMoment () end
\ No newline at end of file |