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/Physics3DWorld.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/Physics3DWorld.lua')
m--------- | meta/3rd/Cocos4.0 | 0 | ||||
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc/Physics3DWorld.lua | 66 |
2 files changed, 0 insertions, 66 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/Physics3DWorld.lua b/meta/3rd/Cocos4.0/library/cc/Physics3DWorld.lua deleted file mode 100644 index 42e24fc0..00000000 --- a/meta/3rd/Cocos4.0/library/cc/Physics3DWorld.lua +++ /dev/null @@ -1,66 +0,0 @@ ----@meta - ----@class cc.Physics3DWorld :cc.Ref -local Physics3DWorld={ } -cc.Physics3DWorld=Physics3DWorld - - - - ----* set gravity for the physics world ----@param gravity vec3_table ----@return self -function Physics3DWorld:setGravity (gravity) end ----* Simulate one frame. ----@param dt float ----@return self -function Physics3DWorld:stepSimulate (dt) end ----* ----@return boolean -function Physics3DWorld:needCollisionChecking () end ----* ----@return self -function Physics3DWorld:collisionChecking () end ----* ----@return self -function Physics3DWorld:setGhostPairCallback () end ----* Remove all Physics3DObjects. ----@return self -function Physics3DWorld:removeAllPhysics3DObjects () end ----* Check debug drawing is enabled. ----@return boolean -function Physics3DWorld:isDebugDrawEnabled () end ----* Remove all Physics3DConstraint. ----@return self -function Physics3DWorld:removeAllPhysics3DConstraints () end ----* get current gravity ----@return vec3_table -function Physics3DWorld:getGravity () end ----* Remove a Physics3DConstraint. ----@param constraint cc.Physics3DConstraint ----@return self -function Physics3DWorld:removePhysics3DConstraint (constraint) end ----* Add a Physics3DObject. ----@param physicsObj cc.Physics3DObject ----@return self -function Physics3DWorld:addPhysics3DObject (physicsObj) end ----* Enable or disable debug drawing. ----@param enableDebugDraw boolean ----@return self -function Physics3DWorld:setDebugDrawEnable (enableDebugDraw) end ----* Remove a Physics3DObject. ----@param physicsObj cc.Physics3DObject ----@return self -function Physics3DWorld:removePhysics3DObject (physicsObj) end ----* Add a Physics3DConstraint. ----@param constraint cc.Physics3DConstraint ----@param disableCollisionsBetweenLinkedObjs boolean ----@return self -function Physics3DWorld:addPhysics3DConstraint (constraint,disableCollisionsBetweenLinkedObjs) end ----* Internal method, the updater of debug drawing, need called each frame. ----@param renderer cc.Renderer ----@return self -function Physics3DWorld:debugDraw (renderer) end ----* ----@return self -function Physics3DWorld:Physics3DWorld () end
\ No newline at end of file |