Navigation
API > API/Plugins > API/Plugins/PlanarCut
References
| Module | PlanarCut |
| Header | /Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/PlanarCut.h |
| Include | #include "PlanarCut.h" |
| Source | /Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Private/PlanarCut.cpp |
void CreateCuttingSurfacePreview
&40;
const FPlanarCells & Cells,
const FBox & Bounds,
double Grout,
int32 RandomSeed,
UE::Geometry::FDynamicMesh3 & OutCuttingMeshes,
TFunctionRef< bool(int)> FilterCellsFunc,
const TOptional< FTransform > & TransformCollection,
FProgressCancel &42; Progress,
FVector CellsOrigin
&41;
Remarks
Generate cutting mesh surfaces as a single mesh Useful for creating a preview of the cut surface.
Parameters
| Name | Description |
|---|---|
| Cells | Defines the cutting planes and division of space |
| Grout | Separation to leave between cutting cells |
| RandomSeed | Seed to be used for random noise displacement |
| OutCuttingMeshes | Dynamic mesh representing the preview surface |
| FilterCellsFunc | Filter which cells should be included in the preview |
| TransformCollection | Optional transform that would be applied to the to-cut surface; if unset, defaults to Identity |
| Progress | Optionally tracks progress and supports early-cancel |
| CellsOrigin | Optionally provide a local origin of the cutting Cells |