Module |
|
Header |
/Engine/Source/Runtime/Experimental/Voronoi/Public/Voronoi/Voronoi.h |
Include |
#include "Voronoi/Voronoi.h" |
Source |
/Engine/Source/Runtime/Experimental/Voronoi/Private/Voronoi/Voronoi.cpp |
FVoronoiDiagram
(
const TArrayView< const FVector > & Sites,
const FBox & Bounds,
float ExtraBoundingSpace,
float SquaredDistSkipPtThreshold
)
Parameter |
Description |
---|---|
Sites |
Voronoi sites for the diagram |
Bounds |
Bounding box within which to compute the Voronoi diagram |
ExtraBoundingSpace |
Voronoi diagram will be computed within the input Bounds + this amount of extra space in each dimension |
SquaredDistSkipPtThreshold |
A safety threshold to avoid creating invalid cells: sites that are within this distance of an already-added site will not be added. (If you know there will be no duplicate sites, can set to zero for faster perf.) |