Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FTriangleMesh
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool PointClosestTriangleQuery
(
const TSpatialHashType< T >& SpatialHash, |
Chaos/TriangleMesh.h | ||
bool PointClosestTriangleQuery
(
const TSpatialHashType< T >& SpatialHash, |
Uses GetPosition lambda function to query point position instead of Points array | Chaos/TriangleMesh.h |
PointClosestTriangleQuery(const TSpatialHashType< T > &, const TConstArrayView< TVec3< T > > &, const int32, const TVec3< T > &, const T, const T, TFunctionRef< bool(const int32 PointIndex, const int32 TriangleIndex)>, TArray< TTriangleCollisionPoint< T > > &)
| Name | PointClosestTriangleQuery |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/TriangleMesh.h |
| Include Path | #include "Chaos/TriangleMesh.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/TriangleMesh.cpp |
template<typename T>
bool PointClosestTriangleQuery
(
const TSpatialHashType< T > & SpatialHash,
const TConstArrayView< TVec3< T > > & Points,
const int32 PointIndex,
const TVec3< T > & PointPosition,
const T PointThickness,
const T ThisThickness,
TFunctionRef < bool> BroadphaseTest,
TArray < TTriangleCollisionPoint < T > > & Result
) const
PointClosestTriangleQuery(const TSpatialHashType< T > &, TFunctionRef< const TVec3< T > &(int32 PointIndex)>, const int32, const TVec3< T > &, const T, const T, TFunctionRef< bool(const int32 PointIndex, const int32 TriangleIndex)>, TArray< TTriangleCollisionPoint< T > > &)
Description
Uses GetPosition lambda function to query point position instead of Points array
| Name | PointClosestTriangleQuery |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/TriangleMesh.h |
| Include Path | #include "Chaos/TriangleMesh.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/TriangleMesh.cpp |
template<typename T>
bool PointClosestTriangleQuery
(
const TSpatialHashType< T > & SpatialHash,
TFunctionRef < const TVec3< T > &> GetPosition,
const int32 PointIndex,
const TVec3< T > & PointPosition,
const T PointThickness,
const T ThisThickness,
TFunctionRef < bool> BroadphaseTest,
TArray < TTriangleCollisionPoint < T > > & Result
) const