FVector2ClosestPoint(FVector2, ListFArea) 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<FArea> areas
)

Parameters

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

Return Value

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

See Also