文档

Unity Engine

Unity Engine

MakeEllipseShape(Shape, Vector2, float, float)

Builds an ellipse shape.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void MakeEllipseShape(Shape ellipseShape, Vector2 pos, float radiusX, float radiusY)

Parameters

ellipseShape

The shape object that will be filled with an ellipse.

The position of the circle, relative to its center.

radiusX

The x component of the radius of the circle.

radiusY

The y component of the radius of the circle.