FLineGetCenter Method

Return the center point of the specified line.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
C#
public static FVector2 GetCenter(
	FLine line
)

Parameters

line  FLine
Reference to the line to be inspected.

Return Value

FVector2
Reference to the center point of the provided line, if legitimate. Otherwise, null.

See Also