Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMeshOctree3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 FindNearestHitObject
(
const FRay3d& Ray, |
Find the nearest triangle of the mesh that is hit by the ray | DynamicMesh/DynamicMeshOctree3.h | |
int32 FindNearestHitObject
(
const FRay3d& Ray, |
Find the nearest triangle of the mesh that is hit by the ray | DynamicMesh/DynamicMeshOctree3.h |
FindNearestHitObject(const FRay3d &, double)
Description
Find the nearest triangle of the mesh that is hit by the ray
| Name | FindNearestHitObject |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshOctree3.h |
| Include Path | #include "DynamicMesh/DynamicMeshOctree3.h" |
int32 FindNearestHitObject
(
const FRay3d & Ray,
double MaxDistance
) const
FindNearestHitObject(const FRay3d &, TFunctionRef< bool(int)>, double)
Description
Find the nearest triangle of the mesh that is hit by the ray
| Name | FindNearestHitObject |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshOctree3.h |
| Include Path | #include "DynamicMesh/DynamicMeshOctree3.h" |
int32 FindNearestHitObject
(
const FRay3d & Ray,
TFunctionRef < bool> IncludeTriangleIDFunc,
double MaxDistance
) const
Parameters
| Name | Remarks |
|---|---|
| IncludeTriangleIDFunc | predicate function that must return true for given TriangleID for it to be considered |