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

70 lines
2.3 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module PhysicsJointGroove
-- @extend PhysicsJoint
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- Set the anchor point on body b.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGroove] setAnchr2
-- @param self
-- @param #vec2_table anchr2
-- @return PhysicsJointGroove#PhysicsJointGroove self (return value: cc.PhysicsJointGroove)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Set the line begin position
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGroove] setGrooveA
-- @param self
-- @param #vec2_table grooveA
-- @return PhysicsJointGroove#PhysicsJointGroove self (return value: cc.PhysicsJointGroove)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Set the line end position
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGroove] setGrooveB
-- @param self
-- @param #vec2_table grooveB
-- @return PhysicsJointGroove#PhysicsJointGroove self (return value: cc.PhysicsJointGroove)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get the line begin position
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGroove] getGrooveA
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get the line end position
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGroove] getGrooveB
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get the anchor point on body b.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGroove] getAnchr2
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#PhysicsJointGroove] createConstraints
-- @param self
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Create a groove joint.<br>
-- param a A is the body to connect.<br>
-- param b B is the body to connect.<br>
-- param grooveA The line begin position.<br>
-- param grooveB The line end position.<br>
-- param anchr2 Anchr2 is the anchor point on body b.<br>
-- return A object pointer.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsJointGroove] construct
-- @param self
-- @param #cc.PhysicsBody a
-- @param #cc.PhysicsBody b
-- @param #vec2_table grooveA
-- @param #vec2_table grooveB
-- @param #vec2_table anchr2
2014-03-10 14:04:58 +08:00
-- @return PhysicsJointGroove#PhysicsJointGroove ret (return value: cc.PhysicsJointGroove)
return nil