CircleGetVertices Method

Return a list of vertices for a circle of the specified size centered at the provided location.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2714.4042
C#
public static List<FVector2> GetVertices(
	FVector2 center,
	float radius,
	int vertexCount,
	float thetaOffset = 0f
)

Parameters

center  FVector2
Reference to the point at which the circle is centered.
radius  Single
Radius of the circle.
vertexCount  Int32
Count of vertices to return.
thetaOffset  Single  (Optional)
The optional rotation of the shape, in radians.

Return Value

ListFVector2
Reference to a list of evenly-spaced vertices around the edge of the indicated circle, if valid. Otherwise, an empty list.

See Also