Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Implicit > API/Runtime/GeometryCore/Implicit/TSparseNarrowBandMeshSDF
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Implicit/SparseNarrowBandMeshSDF.h |
| Include | #include "Implicit/SparseNarrowBandMeshSDF.h" |
static bool ShouldUseSpatial
&40;
int32 ExactCells,
double CellSize,
double AvgEdgeLen
&41;
Remarks
Encodes heuristic for deciding whether it will be faster to use
- NarrowBand_SpatialFloodFill
- Or NarrowBandOnly The heuristic is to use the Spatial method unless you have relatively long edges relative to the width of the narrow band. For a 1-cell wide band, or one where few triangles interact w/ each cell in the band the spatial overhead will probably not be worthwhile. TODO: test and tune this ...