blob: 467f0887ae5c72dc83320c832643abc2812ef75b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
---@meta
---@class cc.PhysicsJointRotaryLimit :cc.PhysicsJoint
local PhysicsJointRotaryLimit={ }
cc.PhysicsJointRotaryLimit=PhysicsJointRotaryLimit
---* Get the max rotation limit.
---@return float
function PhysicsJointRotaryLimit:getMax () end
---*
---@return boolean
function PhysicsJointRotaryLimit:createConstraints () end
---* Set the min rotation limit.
---@param min float
---@return self
function PhysicsJointRotaryLimit:setMin (min) end
---* Set the max rotation limit.
---@param max float
---@return self
function PhysicsJointRotaryLimit:setMax (max) end
---* Get the min rotation limit.
---@return float
function PhysicsJointRotaryLimit:getMin () end
---@overload fun(cc.PhysicsBody:cc.PhysicsBody,cc.PhysicsBody:cc.PhysicsBody):self
---@overload fun(cc.PhysicsBody:cc.PhysicsBody,cc.PhysicsBody:cc.PhysicsBody,float:float,float:float):self
---@param a cc.PhysicsBody
---@param b cc.PhysicsBody
---@param min float
---@param max float
---@return self
function PhysicsJointRotaryLimit:construct (a,b,min,max) end
|