LinearGetLinePoint Method
Return the point on the line relative to a decimal portion of the
distance t between point 0.0 and point 1.0.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.2820.4317
public static FVector2 GetLinePoint(
FVector2 point0,
FVector2 point1,
float t
)
Public Shared Function GetLinePoint (
point0 As FVector2,
point1 As FVector2,
t As Single
) As FVector2
No code example is currently available or this language may not be supported.
- point0 FVector2
-
Reference to the first line point.
- point1 FVector2
-
Reference to the second line point.
- t Single
-
The decimal portion along the line upon which the return point
rests, relative to point 1. In other words, on a line from 0, 0 to
100, 100, a value of t = 1 would yield the point 100, 100.
FVector2
A reference to the point on the line, relative to point 1,
identified by t, if found. Otherwise, null.