Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/TMeshAABBTree3
- IMeshSpatial::FindAllHitTriangles()
- TMeshAABBTree3::FindAllHitTriangles()
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/MeshAABBTree3.h |
| Include | #include "Spatial/MeshAABBTree3.h" |
virtual bool FindAllHitTriangles
&40;
const FRay3d & Ray,
TArray< MeshIntersection::FHitIntersectionResult > & OutHits,
const FQueryOptions & Options
&41; const
Remarks
Find all triangles intersected by the given ray sorted by distance true if hit, false if no hit found
Parameters
| Name | Description |
|---|---|
| Ray | query ray |
| OutHits | returned-by-reference hit infos sorted by distance |
| Options | Query options (ex. max distance) |