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

154 lines
4.3 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module PhysicsShape
-- @extend Ref
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#PhysicsShape] getFriction
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PhysicsShape] setGroup
-- @param self
-- @param #int int
--------------------------------
-- @function [parent=#PhysicsShape] setDensity
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#PhysicsShape] getMass
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PhysicsShape] getMaterial
-- @param self
-- @return PhysicsMaterial#PhysicsMaterial ret (return value: cc.PhysicsMaterial)
--------------------------------
-- @function [parent=#PhysicsShape] getCollisionBitmask
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#PhysicsShape] getArea
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PhysicsShape] setCategoryBitmask
-- @param self
-- @param #int int
--------------------------------
-- @function [parent=#PhysicsShape] getGroup
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#PhysicsShape] setMoment
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#PhysicsShape] containsPoint
-- @param self
-- @param #vec2_table vec2
2014-03-10 14:04:58 +08:00
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#PhysicsShape] getCategoryBitmask
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#PhysicsShape] getType
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#PhysicsShape] getContactTestBitmask
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#PhysicsShape] getCenter
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#PhysicsShape] getDensity
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PhysicsShape] setMass
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#PhysicsShape] getTag
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#PhysicsShape] calculateDefaultMoment
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PhysicsShape] setCollisionBitmask
-- @param self
-- @param #int int
--------------------------------
-- @function [parent=#PhysicsShape] getMoment
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PhysicsShape] getOffset
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#PhysicsShape] getRestitution
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PhysicsShape] setFriction
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#PhysicsShape] setMaterial
-- @param self
-- @param #cc.PhysicsMaterial physicsmaterial
--------------------------------
-- @function [parent=#PhysicsShape] setTag
-- @param self
-- @param #int int
--------------------------------
-- @function [parent=#PhysicsShape] setContactTestBitmask
-- @param self
-- @param #int int
--------------------------------
-- @function [parent=#PhysicsShape] setRestitution
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#PhysicsShape] getBody
-- @param self
-- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody)
return nil