TMeshAABBTree3::TestIntersection

Return true if _any_ triangle of TestMesh intersects with our tree.

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/Spatial/MeshAABBTree3.h

Include

#include "Spatial/MeshAABBTree3.h"

Syntax

virtual bool TestIntersection
(
    const TriangleMeshType * TestMesh,
    FAxisAlignedBox3d TestMeshBounds,
    const TFunction< FVector3d &)> & TransformF,
    const FQueryOptions & Options
) const

Remarks

Return true if any triangle of TestMesh intersects with our tree. If TestMeshBounds is not empty, only test collision if the provided bounding box intersects the root AABB box Use TransformF to transform vertices of TestMesh into space of this tree.