mirror of https://github.com/axmolengine/axmol.git
44 lines
1.3 KiB
Lua
44 lines
1.3 KiB
Lua
|
|
--------------------------------
|
|
-- @module PhysicsShapeCircle
|
|
-- @extend PhysicsShape
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShapeCircle] getRadius
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShapeCircle] create
|
|
-- @param self
|
|
-- @param #float float
|
|
-- @param #cc.PhysicsMaterial physicsmaterial
|
|
-- @param #cc.math::Vector2 array
|
|
-- @return PhysicsShapeCircle#PhysicsShapeCircle ret (return value: cc.PhysicsShapeCircle)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShapeCircle] calculateArea
|
|
-- @param self
|
|
-- @param #float float
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShapeCircle] calculateMoment
|
|
-- @param self
|
|
-- @param #float float
|
|
-- @param #float float
|
|
-- @param #cc.math::Vector2 array
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShapeCircle] getOffset
|
|
-- @param self
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShapeCircle] calculateDefaultMoment
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
return nil
|