Navigation
API > API/Runtime > API/Runtime/GeometryCore
IMeshSpatial is an extension of ISpatial specifically for meshes
| Name | IMeshSpatial |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SpatialInterfaces.h |
| Include Path | #include "Spatial/SpatialInterfaces.h" |
Syntax
class IMeshSpatial : public UE::Geometry::ISpatial
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IMeshSpatial() |
Spatial/SpatialInterfaces.h |
Structs
| Name | Remarks |
|---|---|
| FQueryOptions | Standard shared options for all mesh spatial queries |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool FindAllHitTriangles
(
const FRay3d& Ray, |
Find all triangles intersected by the given ray sorted by distance | Spatial/SpatialInterfaces.h | |
virtual int FindNearestHitTriangle
(
const FRay3d& Ray, |
Spatial/SpatialInterfaces.h | ||
virtual bool FindNearestHitTriangle
(
const FRay3d& Ray, |
Find nearest triangle from the given ray | Spatial/SpatialInterfaces.h | |
bool FindNearestHitTriangle
(
const FRay3d& Ray, |
Find nearest triangle from the given ray | Spatial/SpatialInterfaces.h | |
int FindNearestTriangle
(
const FVector3d& Point, |
Spatial/SpatialInterfaces.h | ||
bool SupportsNearestTriangle() |
Spatial/SpatialInterfaces.h | ||
bool SupportsTriangleRayIntersection() |
Spatial/SpatialInterfaces.h |