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.Vec2 vec2
|
|
-- @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.Vec2 vec2
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShapeCircle] getOffset
|
|
-- @param self
|
|
-- @return Vec2#Vec2 ret (return value: cc.Vec2)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#PhysicsShapeCircle] calculateDefaultMoment
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
return nil
|