FLineIntersect(FVector2, FVector2, FVector2, Single) Method
Given line AB that has one point nearer than the Point C vector
magnitude and one point further away, return Point D where vector C
intersects line AB.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.2820.4317
public static FVector2 Intersect(
FVector2 pointA,
FVector2 pointB,
FVector2 vector,
float magnitude
)
Public Shared Function Intersect (
pointA As FVector2,
pointB As FVector2,
vector As FVector2,
magnitude As Single
) As FVector2
No code example is currently available or this language may not be supported.
- pointA FVector2
-
Reference to point A in line AB.
- pointB FVector2
-
Reference to point B in line AB.
- vector FVector2
-
Reference to the vector C point.
- magnitude Single
-
The magnitude of vector C.
FVector2
Reference to point D where vector C intersects line AB, if a
point could be matched. Otherwise, null.