diff options
author | CppCXY <812125110@qq.com> | 2024-02-22 20:29:13 +0800 |
---|---|---|
committer | CppCXY <812125110@qq.com> | 2024-02-22 20:29:13 +0800 |
commit | 9b6df71d97a70ee7179949ef9f15368cbf29dcbd (patch) | |
tree | bf7a7e62ed7c164a12bdce437c17262a5235bcec /meta/3rd/Cocos4.0/library/cc/PhysicsJointRotarySpring.lua | |
parent | 483fe246b6ae8c25d433aa15e43f04f0e71a74d5 (diff) | |
parent | 3e6fd3ce1f2f0528336ded939d776a29bbfaf2eb (diff) | |
download | lua-language-server-9b6df71d97a70ee7179949ef9f15368cbf29dcbd.zip |
Merge branch 'master' of github.com:CppCXY/lua-language-server
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/PhysicsJointRotarySpring.lua')
m--------- | meta/3rd/Cocos4.0 | 0 | ||||
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc/PhysicsJointRotarySpring.lua | 45 |
2 files changed, 0 insertions, 45 deletions
diff --git a/meta/3rd/Cocos4.0 b/meta/3rd/Cocos4.0 new file mode 160000 +Subproject c0b2259e0d367561fd4563ae114b029b4dfe3a8 diff --git a/meta/3rd/Cocos4.0/library/cc/PhysicsJointRotarySpring.lua b/meta/3rd/Cocos4.0/library/cc/PhysicsJointRotarySpring.lua deleted file mode 100644 index 94884149..00000000 --- a/meta/3rd/Cocos4.0/library/cc/PhysicsJointRotarySpring.lua +++ /dev/null @@ -1,45 +0,0 @@ ----@meta - ----@class cc.PhysicsJointRotarySpring :cc.PhysicsJoint -local PhysicsJointRotarySpring={ } -cc.PhysicsJointRotarySpring=PhysicsJointRotarySpring - - - - ----* Get the spring soft constant. ----@return float -function PhysicsJointRotarySpring:getDamping () end ----* Set the relative angle in radians from the body a to b. ----@param restAngle float ----@return self -function PhysicsJointRotarySpring:setRestAngle (restAngle) end ----* Get the spring constant. ----@return float -function PhysicsJointRotarySpring:getStiffness () end ----* ----@return boolean -function PhysicsJointRotarySpring:createConstraints () end ----* Set the spring constant. ----@param stiffness float ----@return self -function PhysicsJointRotarySpring:setStiffness (stiffness) end ----* Set the spring soft constant. ----@param damping float ----@return self -function PhysicsJointRotarySpring:setDamping (damping) end ----* Get the relative angle in radians from the body a to b. ----@return float -function PhysicsJointRotarySpring:getRestAngle () end ----* Create a damped rotary spring joint.<br> ----* param a A is the body to connect.<br> ----* param b B is the body to connect.<br> ----* param stiffness It's the spring constant.<br> ----* param damping It's how soft to make the damping of the spring.<br> ----* return A object pointer. ----@param a cc.PhysicsBody ----@param b cc.PhysicsBody ----@param stiffness float ----@param damping float ----@return self -function PhysicsJointRotarySpring:construct (a,b,stiffness,damping) end
\ No newline at end of file |