Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshOctree3.h |
Include |
#include "DynamicMesh/DynamicMeshOctree3.h" |
int32 FindNearestHitObject
(
const FRay3d & Ray,
TFunctionRef< bool> IncludeTriangleIDFunc,
double MaxDistance
) const
Find the nearest triangle of the mesh that is hit by the ray
Parameter |
Description |
---|---|
IncludeTriangleIDFunc |
predicate function that must return true for given TriangleID for it to be considered |