diff options
author | carsakiller <carsakiller@gmail.com> | 2023-10-27 20:42:06 -0400 |
---|---|---|
committer | carsakiller <carsakiller@gmail.com> | 2023-10-27 20:42:06 -0400 |
commit | d288cd1e6d0bb9fd4c05e6afa3e26bb7e0658839 (patch) | |
tree | 880f19aba4af55508874028df47c515d80b4874f /meta/3rd/Cocos4.0/library/cc/Physics3DComponent.lua | |
parent | 1536fa32dc84f386663035ab5d51db6af2cff5e8 (diff) | |
download | lua-language-server-d288cd1e6d0bb9fd4c05e6afa3e26bb7e0658839.zip |
refactor: replace Cocos4.0 with LuaCATS submodule
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/Physics3DComponent.lua')
m--------- | meta/3rd/Cocos4.0 | 0 | ||||
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc/Physics3DComponent.lua | 49 |
2 files changed, 0 insertions, 49 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/Physics3DComponent.lua b/meta/3rd/Cocos4.0/library/cc/Physics3DComponent.lua deleted file mode 100644 index 62dc9de9..00000000 --- a/meta/3rd/Cocos4.0/library/cc/Physics3DComponent.lua +++ /dev/null @@ -1,49 +0,0 @@ ----@meta - ----@class cc.Physics3DComponent :cc.Component -local Physics3DComponent={ } -cc.Physics3DComponent=Physics3DComponent - - - - ----* synchronize node transformation to physics ----@return self -function Physics3DComponent:syncNodeToPhysics () end ----* add this component to physics world, called by scene ----@param world cc.Physics3DWorld ----@return self -function Physics3DComponent:addToPhysicsWorld (world) end ----* synchronize physics transformation to node ----@return self -function Physics3DComponent:syncPhysicsToNode () end ----* get physics object ----@return cc.Physics3DObject -function Physics3DComponent:getPhysics3DObject () end ----* set Physics object to the component ----@param physicsObj cc.Physics3DObject ----@return self -function Physics3DComponent:setPhysics3DObject (physicsObj) end ----* synchronization between node and physics is time consuming, you can skip some synchronization using this function ----@param syncFlag int ----@return self -function Physics3DComponent:setSyncFlag (syncFlag) end ----* get the component name, it is used to find whether it is Physics3DComponent ----@return string -function Physics3DComponent:getPhysics3DComponentName () end ----* set it enable or not ----@param b boolean ----@return self -function Physics3DComponent:setEnabled (b) end ----* ----@return boolean -function Physics3DComponent:init () end ----* ----@return self -function Physics3DComponent:onEnter () end ----* ----@return self -function Physics3DComponent:onExit () end ----* ----@return self -function Physics3DComponent:Physics3DComponent () end
\ No newline at end of file |