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

38 lines
1.1 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module PhysicsContact
-- @extend EventCustom
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get contact data.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContact] getContactData
-- @param self
-- @return PhysicsContactData#PhysicsContactData ret (return value: cc.PhysicsContactData)
--------------------------------
-- Get the event code
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContact] getEventCode
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get previous contact data
-- @function [parent=#PhysicsContact] getPreContactData
-- @param self
-- @return PhysicsContactData#PhysicsContactData ret (return value: cc.PhysicsContactData)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get contact shape A.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContact] getShapeA
-- @param self
-- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape)
--------------------------------
-- Get contact shape B.
2014-03-10 14:04:58 +08:00
-- @function [parent=#PhysicsContact] getShapeB
-- @param self
-- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape)
return nil