Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MakeEllipseShape(Shape, Vector2, float, float)

Builds an ellipse shape.
Read time 1 minuteLast updated 8 days ago

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.