Navigation
API > API/Runtime > API/Runtime/GeometryCore
Compute intersection between 3D ray and 3D triangle
| Name | TIntrRay3Triangle3 |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntrRay3Triangle3.h |
| Include Path | #include "Intersection/IntrRay3Triangle3.h" |
Syntax
template<typename Real, typename RayType>
class TIntrRay3Triangle3
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TIntrRay3Triangle3
(
const RayType& RayIn, |
Intersection/IntrRay3Triangle3.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IntersectionType | EIntersectionType | Intersection/IntrRay3Triangle3.h | ||
| Ray | RayType | Input. | Intersection/IntrRay3Triangle3.h | |
| RayParameter | Real | Output. | Intersection/IntrRay3Triangle3.h | |
| Triangle | TTriangle3< Real > | Intersection/IntrRay3Triangle3.h | ||
| TriangleBaryCoords | FVector3d | Intersection/IntrRay3Triangle3.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Find() |
Intersection/IntrRay3Triangle3.h | ||
bool Test() |
Intersection/IntrRay3Triangle3.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool FindIntersection
(
const TRay< Real >& InRay, |
Find intersection point | Intersection/IntrRay3Triangle3.h | |
static bool FindIntersection
(
const TWatertightRay3< Real >& InRay, |
Find intersection point in a 'consistent' way, such that rays should not 'leak' between adjacent triangles. | Intersection/IntrRay3Triangle3.h | |
static bool FindWatertightIntersectionInternal
(
const TWatertightRay3< Real >& InRay, |
Watertight raycast implementation. | Intersection/IntrRay3Triangle3.h | |
static bool TestIntersection
(
const TWatertightRay3< Real >& InRay, |
Watertight intersection test | Intersection/IntrRay3Triangle3.h | |
static bool TestIntersection
(
const TRay< Real >& InRay, |
Intersection/IntrRay3Triangle3.h |