mirror of https://github.com/axmolengine/axmol.git
153 lines
4.4 KiB
Lua
153 lines
4.4 KiB
Lua
|
|
--------------------------------
|
|
-- @module PhysicsShape
|
|
-- @extend Ref
|
|
|
|
--------------------------------
|
|
-- @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 #cc.math::Vector2 array
|
|
-- @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 PhysicsShape::Type#PhysicsShape::Type ret (return value: cc.PhysicsShape::Type)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShape] getContactTestBitmask
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShape] getCenter
|
|
-- @param self
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
|
|
|
--------------------------------
|
|
-- @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 math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
|
|
|
--------------------------------
|
|
-- @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
|