diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
commit | 8fefb8f3e100976235dc83d6ae3785952d11c710 (patch) | |
tree | 459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.Physics3D6DofConstraint.lua | |
parent | b6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff) | |
download | lua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip |
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.Physics3D6DofConstraint.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc.Physics3D6DofConstraint.lua | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.Physics3D6DofConstraint.lua b/meta/3rd/Cocos4.0/library/cc.Physics3D6DofConstraint.lua new file mode 100644 index 00000000..7101db2d --- /dev/null +++ b/meta/3rd/Cocos4.0/library/cc.Physics3D6DofConstraint.lua @@ -0,0 +1,61 @@ +---@meta + +---@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 |