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

55 lines
1.7 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module PhysicsJointGear
-- @extend PhysicsJoint
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- Set the ratio.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGear] setRatio
-- @param self
-- @param #float ratchet
-- @return PhysicsJointGear#PhysicsJointGear self (return value: cc.PhysicsJointGear)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get the angular offset of the two bodies.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGear] getPhase
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Set the angular offset of the two bodies.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGear] setPhase
-- @param self
-- @param #float phase
-- @return PhysicsJointGear#PhysicsJointGear self (return value: cc.PhysicsJointGear)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#PhysicsJointGear] createConstraints
-- @param self
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get the ratio.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGear] getRatio
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Create a gear 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 angular offset of the two bodies.<br>
-- param ratio Ratio is always measured in absolute terms.<br>
-- return A object pointer.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGear] construct
-- @param self
-- @param #cc.PhysicsBody a
-- @param #cc.PhysicsBody b
-- @param #float phase
-- @param #float ratio
2014-03-10 14:04:58 +08:00
-- @return PhysicsJointGear#PhysicsJointGear ret (return value: cc.PhysicsJointGear)
return nil