| IMeshSpatial::FindNearestHitTriangle()
|
Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Spatial/MeshAABBTree3.h |
Include |
#include "Spatial/MeshAABBTree3.h" |
Find nearest triangle from the given ray
true if hit, false if no hit found
Parameter |
Description |
---|---|
Ray |
query ray |
NearestT |
returned-by-reference parameter of the nearest hit |
TID |
returned-by-reference ID of triangle intersected by ray within MaxDistance, or InvalidID if not found |
MaxDistance |
maximum hit distance |