FVector2ClosestPoint(FVector2, ListFVector2) Method

Return the closest point to the check-point.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2714.4042
C#
public static FVector2 ClosestPoint(
	FVector2 checkPoint,
	List<FVector2> points
)

Parameters

checkPoint  FVector2
The check point to which the closest point in the list will be found.
points  ListFVector2
Reference to a list of vectors to be compared.

Return Value

FVector2
A vector corresponding to the location of the closest point in the list.

See Also