diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.PhysicsShapeEdgePolygon.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/cc.PhysicsShapeEdgePolygon.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.PhysicsShapeEdgePolygon.lua b/meta/3rd/Cocos4.0/cc.PhysicsShapeEdgePolygon.lua new file mode 100644 index 00000000..401a90af --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.PhysicsShapeEdgePolygon.lua @@ -0,0 +1,16 @@ + +---@class cc.PhysicsShapeEdgePolygon :cc.PhysicsShape +local PhysicsShapeEdgePolygon={ } +cc.PhysicsShapeEdgePolygon=PhysicsShapeEdgePolygon + + + + +---* Get this polygon's points array count.<br> +---* return An integer number. +---@return int +function PhysicsShapeEdgePolygon:getPointsCount () end +---* Get this polygon's center position.<br> +---* return A Vec2 object. +---@return vec2_table +function PhysicsShapeEdgePolygon:getCenter () end
\ No newline at end of file |