FVector3IntersectRay Method
Return the intersection of the caller's ray and face.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.2414.4032
public static IntersectionStatusEnum IntersectRay(
FVector3 rayBase,
FVector3 rayLengths,
List<FVector3> faceCoordinates,
out FVector3 result
)
Public Shared Function IntersectRay (
rayBase As FVector3,
rayLengths As FVector3,
faceCoordinates As List(Of FVector3),
<OutAttribute> ByRef result As FVector3
) As IntersectionStatusEnum
No code example is currently available or this language may not be supported.
- rayBase FVector3
-
Starting coordinate of the ray.
- rayLengths FVector3
-
Lengths in each direction from point A to point B.
- faceCoordinates ListFVector3
-
Coordinates of the face to test for.
- result FVector3
-
An output parameter containing the coordinate of the face where
intersected by the ray, if found. Otherwise, null.
IntersectionStatusEnum
The status of the intersection operation.
In this version, the face coordinates can contain a single triangle
or a single quad. In the case of a quad, the shape is triangulated and
both triangles are tested.