diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 21:05:36 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 21:05:36 +0800 |
commit | 52097b6ee7cc8f5a770eb851902560b5b8592218 (patch) | |
tree | 6dcbb53ac0104912e950747a37aac6b25039e862 /meta/3rd/Cocos4.0/cc.Physics3DPointToPointConstraint.lua | |
parent | 6839cd530c53387df4d5db61f0cb2e5ed1a87298 (diff) | |
download | lua-language-server-52097b6ee7cc8f5a770eb851902560b5b8592218.zip |
add meta/3rd with acknowledgement
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.Physics3DPointToPointConstraint.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/cc.Physics3DPointToPointConstraint.lua | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.Physics3DPointToPointConstraint.lua b/meta/3rd/Cocos4.0/cc.Physics3DPointToPointConstraint.lua new file mode 100644 index 00000000..8350f658 --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.Physics3DPointToPointConstraint.lua @@ -0,0 +1,41 @@ + +---@class cc.Physics3DPointToPointConstraint :cc.Physics3DConstraint +local Physics3DPointToPointConstraint={ } +cc.Physics3DPointToPointConstraint=Physics3DPointToPointConstraint + + + + +---* get pivot point in A's local space +---@return vec3_table +function Physics3DPointToPointConstraint:getPivotPointInA () end +---* get pivot point in B's local space +---@return vec3_table +function Physics3DPointToPointConstraint:getPivotPointInB () end +---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody:cc.Physics3DRigidBody,vec3_table:vec3_table,vec3_table:vec3_table):self +---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody1:vec3_table):self +---@param rbA cc.Physics3DRigidBody +---@param rbB cc.Physics3DRigidBody +---@param pivotPointInA vec3_table +---@param pivotPointInB vec3_table +---@return boolean +function Physics3DPointToPointConstraint:init (rbA,rbB,pivotPointInA,pivotPointInB) end +---* set pivot point in A's local space +---@param pivotA vec3_table +---@return self +function Physics3DPointToPointConstraint:setPivotPointInA (pivotA) end +---* set pivot point in B's local space +---@param pivotB vec3_table +---@return self +function Physics3DPointToPointConstraint:setPivotPointInB (pivotB) end +---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody:cc.Physics3DRigidBody,vec3_table:vec3_table,vec3_table:vec3_table):self +---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody1:vec3_table):self +---@param rbA cc.Physics3DRigidBody +---@param rbB cc.Physics3DRigidBody +---@param pivotPointInA vec3_table +---@param pivotPointInB vec3_table +---@return self +function Physics3DPointToPointConstraint:create (rbA,rbB,pivotPointInA,pivotPointInB) end +---* +---@return self +function Physics3DPointToPointConstraint:Physics3DPointToPointConstraint () end
\ No newline at end of file |