FVector2DistanceTo Method
Return the distance between the source and target points.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 26.3006.2520
public static float DistanceTo(
FVector2 source,
FVector2 target
)
Public Shared Function DistanceTo (
source As FVector2,
target As FVector2
) As Single
No code example is currently available or this language may not be supported.
- source FVector2
-
Reference to the source point to consider.
- target FVector2
-
Reference to the target point to consider.
Single
The distance between the two given points, if valid. Otherwise,
0.