mirror of https://github.com/axmolengine/axmol.git
38 lines
1.1 KiB
Lua
38 lines
1.1 KiB
Lua
|
|
--------------------------------
|
|
-- @module PhysicsContact
|
|
-- @extend EventCustom
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- Get contact data.
|
|
-- @function [parent=#PhysicsContact] getContactData
|
|
-- @param self
|
|
-- @return PhysicsContactData#PhysicsContactData ret (return value: cc.PhysicsContactData)
|
|
|
|
--------------------------------
|
|
-- Get the event code
|
|
-- @function [parent=#PhysicsContact] getEventCode
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- Get previous contact data
|
|
-- @function [parent=#PhysicsContact] getPreContactData
|
|
-- @param self
|
|
-- @return PhysicsContactData#PhysicsContactData ret (return value: cc.PhysicsContactData)
|
|
|
|
--------------------------------
|
|
-- Get contact shape A.
|
|
-- @function [parent=#PhysicsContact] getShapeA
|
|
-- @param self
|
|
-- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape)
|
|
|
|
--------------------------------
|
|
-- Get contact shape B.
|
|
-- @function [parent=#PhysicsContact] getShapeB
|
|
-- @param self
|
|
-- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape)
|
|
|
|
return nil
|