Choose your operating system:
Windows
macOS
Linux
| IMeshSpatial::FindNearestHitTriangle()
|
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/Spatial/MeshAABBTree3.h |
Include |
#include "Spatial/MeshAABBTree3.h" |
virtual int FindNearestHitTriangle
(
const FRay3d & Ray,
const FQueryOptions & Options
) const
ID of triangle intersected by ray within MaxDistance, or InvalidID if not found
Parameter |
Description |
---|---|
Ray |
query ray |
Options |
Query options (ex. max distance) |