FDynamicMeshOctree3::FindNearestHitObject

Find the nearest triangle of the mesh that is hit by the ray

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshOctree3.h

Include

#include "DynamicMesh/DynamicMeshOctree3.h"

Syntax

int32 FindNearestHitObject
(
    const FRay3d & Ray,
    double MaxDistance
) const

Remarks

Find the nearest triangle of the mesh that is hit by the ray