FPathGetCenter Method

Return the center of the polygon.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2714.4042
C#
public static FVector2 GetCenter(
	List<FVector2> path
)

Parameters

path  ListFVector2
List of points to inspect.

Return Value

FVector2
Reference to the point at the center the aggregate of points in the path.

See Also