From 52097b6ee7cc8f5a770eb851902560b5b8592218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 22 Feb 2021 21:05:36 +0800 Subject: add meta/3rd with acknowledgement --- meta/3rd/Cocos4.0/cc.Physics3D6DofConstraint.lua | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 meta/3rd/Cocos4.0/cc.Physics3D6DofConstraint.lua (limited to 'meta/3rd/Cocos4.0/cc.Physics3D6DofConstraint.lua') diff --git a/meta/3rd/Cocos4.0/cc.Physics3D6DofConstraint.lua b/meta/3rd/Cocos4.0/cc.Physics3D6DofConstraint.lua new file mode 100644 index 00000000..896e5969 --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.Physics3D6DofConstraint.lua @@ -0,0 +1,60 @@ + +---@class cc.Physics3D6DofConstraint :cc.Physics3DConstraint +local Physics3D6DofConstraint={ } +cc.Physics3D6DofConstraint=Physics3D6DofConstraint + + + + +---* set linear lower limit +---@param linearLower vec3_table +---@return self +function Physics3D6DofConstraint:setLinearLowerLimit (linearLower) end +---* get linear lower limit +---@return vec3_table +function Physics3D6DofConstraint:getLinearLowerLimit () end +---* get angular upper limit +---@return vec3_table +function Physics3D6DofConstraint:getAngularUpperLimit () end +---* access for UseFrameOffset +---@return boolean +function Physics3D6DofConstraint:getUseFrameOffset () end +---* get linear upper limit +---@return vec3_table +function Physics3D6DofConstraint:getLinearUpperLimit () end +---* set angular lower limit +---@param angularLower vec3_table +---@return self +function Physics3D6DofConstraint:setAngularLowerLimit (angularLower) end +---* is limited?
+---* param limitIndex first 3 are linear, next 3 are angular +---@param limitIndex int +---@return boolean +function Physics3D6DofConstraint:isLimited (limitIndex) end +---* set use frame offset +---@param frameOffsetOnOff boolean +---@return self +function Physics3D6DofConstraint:setUseFrameOffset (frameOffsetOnOff) end +---* set linear upper limit +---@param linearUpper vec3_table +---@return self +function Physics3D6DofConstraint:setLinearUpperLimit (linearUpper) end +---* get angular lower limit +---@return vec3_table +function Physics3D6DofConstraint:getAngularLowerLimit () end +---* set angular upper limit +---@param angularUpper vec3_table +---@return self +function Physics3D6DofConstraint:setAngularUpperLimit (angularUpper) end +---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody1:mat4_table,mat4_table2:boolean):self +---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody:cc.Physics3DRigidBody,mat4_table:mat4_table,mat4_table:mat4_table,boolean:boolean):self +---@param rbA cc.Physics3DRigidBody +---@param rbB cc.Physics3DRigidBody +---@param frameInA mat4_table +---@param frameInB mat4_table +---@param useLinearReferenceFrameA boolean +---@return self +function Physics3D6DofConstraint:create (rbA,rbB,frameInA,frameInB,useLinearReferenceFrameA) end +---* +---@return self +function Physics3D6DofConstraint:Physics3D6DofConstraint () end \ No newline at end of file -- cgit v1.2.3