summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.Physics3D6DofConstraint.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.Physics3D6DofConstraint.lua')
-rw-r--r--meta/3rd/Cocos4.0/cc.Physics3D6DofConstraint.lua60
1 files changed, 60 insertions, 0 deletions
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?<br>
+---* 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