axmol/cocos/scripting/lua-bindings/auto/api/PhysicsJointRatchet.lua

68 lines
2.2 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module PhysicsJointRatchet
-- @extend PhysicsJoint
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get the ratchet angle.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointRatchet] getAngle
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Set the ratchet angle.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointRatchet] setAngle
-- @param self
-- @param #float angle
-- @return PhysicsJointRatchet#PhysicsJointRatchet self (return value: cc.PhysicsJointRatchet)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#PhysicsJointRatchet] createConstraints
-- @param self
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Set the initial offset.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointRatchet] setPhase
-- @param self
-- @param #float phase
-- @return PhysicsJointRatchet#PhysicsJointRatchet self (return value: cc.PhysicsJointRatchet)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get the initial offset.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointRatchet] getPhase
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Set the distance between "clicks".
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointRatchet] setRatchet
-- @param self
-- @param #float ratchet
-- @return PhysicsJointRatchet#PhysicsJointRatchet self (return value: cc.PhysicsJointRatchet)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get the distance between "clicks".
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointRatchet] getRatchet
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Create a ratchet joint.<br>
-- param a A is the body to connect.<br>
-- param b B is the body to connect.<br>
-- param phase Phase is the initial offset to use when deciding where the ratchet angles are.<br>
-- param ratchet Ratchet is the distance between "clicks".<br>
-- return A object pointer.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointRatchet] construct
-- @param self
-- @param #cc.PhysicsBody a
-- @param #cc.PhysicsBody b
-- @param #float phase
-- @param #float ratchet
2014-03-10 14:04:58 +08:00
-- @return PhysicsJointRatchet#PhysicsJointRatchet ret (return value: cc.PhysicsJointRatchet)
return nil