Navigation
API > API/Plugins > API/Plugins/PlanarCut
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 CutWithMesh
(
const UE::Geometry::FDynamicMesh3& CuttingMesh, |
Cut multiple Geometry groups inside a GeometryCollection with a mesh, and add each cut cell back to the GeometryCollection as a new child of their source Geometry. | PlanarCut.h | |
int32 CutWithMesh
(
const FMeshDescription* CuttingMesh, |
PlanarCut.h |
CutWithMesh(const UE::Geometry::FDynamicMesh3 &, FTransform, FInternalSurfaceMaterials &, FGeometryCollection &, const TArrayView< const int32 > &, double, const TOptional< FTransform > &, bool, FProgressCancel *, bool)
Description
Cut multiple Geometry groups inside a GeometryCollection with a mesh, and add each cut cell back to the GeometryCollection as a new child of their source Geometry. For geometries that would not be cut, nothing is added.
| Name | CutWithMesh |
| Type | function |
| Header File | /Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/PlanarCut.h |
| Include Path | #include "PlanarCut.h" |
| Source | /Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Private/PlanarCut.cpp |
int32 CutWithMesh
(
const UE::Geometry::FDynamicMesh3 & CuttingMesh,
FTransform CuttingMeshTransform,
FInternalSurfaceMaterials & InternalSurfaceMaterials,
FGeometryCollection & Collection,
const TArrayView < const int32 > & TransformIndices,
double CollisionSampleSpacing,
const TOptional < FTransform > & TransformCollection,
bool bSetDefaultInternalMaterialsFromCollection,
FProgressCancel * Progress,
bool bSplitIslands
)
index of first new geometry in the Output GeometryCollection, or -1 if no geometry was added
Parameters
| Name | Remarks |
|---|---|
| CuttingMesh | Mesh to be used to cut the geometry collection |
| CuttingMeshTransform | Position of cutting mesh |
| InternalSurfaceMaterials | Defines material properties for any added internal surfaces |
| Collection | The collection to be cut |
| TransformIndices | Which transform groups inside the collection to cut |
| CollisionSampleSpacing | Target spacing between collision sample vertices |
| TransformCollection | Optional transform of the collection; if unset, defaults to Identity |
| Progress | Optionally tracks progress and supports early-cancel |
| bSplitIslands | Whether to detect connected components and split them apart after the cut |
CutWithMesh(const FMeshDescription , FTransform, FInternalSurfaceMaterials &, FGeometryCollection &, const TArrayView< const int32 > &, double, const TOptional< FTransform > &, bool, FProgressCancel , bool)
| Name | CutWithMesh |
| Type | function |
| Header File | /Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/PlanarCut.h |
| Include Path | #include "PlanarCut.h" |
int32 CutWithMesh
(
const FMeshDescription * CuttingMesh,
FTransform CuttingMeshTransform,
FInternalSurfaceMaterials & InternalSurfaceMaterials,
FGeometryCollection & Collection,
const TArrayView < const int32 > & TransformIndices,
double CollisionSampleSpacing,
const TOptional < FTransform > & TransformCollection,
bool bSetDefaultInternalMaterialsFromCollection,
FProgressCancel * Progress,
bool bSplitIslands
)