TMeshAABBTree3::FindNearestHitTriangle

Windows
MacOS
Linux

Override Hierarchy

IMeshSpatial::FindNearestHitTriangle()

TMeshAABBTree3::FindNearestHitTriangle()

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Spatial/MeshAABBTree3.h

Include

#include "Spatial/MeshAABBTree3.h"

Syntax

virtual int FindNearestHitTriangle
(
    const FRay3d & Ray,
    double MaxDistance
)

Returns

ID of triangle intersected by ray within MaxDistance, or InvalidID if not found

Parameters

Parameter

Description

Ray

query ray

MaxDistance

maximum hit distance

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss