Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Arc(Vector2, float, Angle, Angle, ArcDirection)

Adds an arc to the current sub-path to the provided position, radius and angles.
Read time 1 minuteLast updated 12 days ago

Definition

public void Arc(Vector2 center, float radius, Angle startAngle, Angle endAngle, ArcDirection direction = ArcDirection.Clockwise)

Parameters

center

The center position of the arc.

radius

The radius of the arc.

startAngle

The starting angle the arc.

endAngle

The ending angle of the arc.

direction