Navigation
| Name | PlanarCut |
| Type | Plugin |
| Part of Plugins | Planar Cut |
| Location | /Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/ |
| Module Build Rules | PlanarCut.Build.cs |
Structs
| Name | Remarks |
|---|---|
| FInternalSurfaceMaterials | Auxiliary structure for FPlanarCells to carry material info |
| FMergeIslandSettings | |
| FNoiseOffsets | Offsets to randomize where Perlin noise is sampled for each dimension of a noise vector. |
| FNoiseSettings | |
| FPlanarCells | Stores planar facets that divide space into cells. |
| FTextureAttributeSettings |
Interfaces
| Name | Remarks |
|---|---|
| IPlanarCutPlugin | The public interface to this module |
Enums
Public
| Name | Remarks |
|---|---|
| UE::PlanarCut::EBakeAttributes | Different attributes we can bake. |
| UE::PlanarCut::ENeighborSelectionMethod | |
| UE::PlanarCut::ETargetFaces | |
| UE::PlanarCut::EUseMaterials | Note: prefer ETargetFaces below. |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddCollisionSampleVertices
(
double TargetSpacing, |
Scatter additional vertices (w/ no associated triangle) as needed to satisfy minimum point spacing | PlanarCut.h | |
void ConvertGeometryCollectionToDynamicMesh
(
UE::Geometry::FDynamicMesh3& OutputMesh, |
Convert chosen Geometry groups inside a GeometryCollection to a single Dynamic Mesh. | PlanarCut.h | |
UE::Geometry::FDynamicMesh3 ConvertMeshDescriptionToCuttingDynamicMesh
(
const FMeshDescription* CuttingMesh, |
Convert a mesh description to a dynamic mesh specifically augmented / designed for cutting geometry collections, to be passed to CutWithMesh. | PlanarCut.h | |
void ConvertToMeshDescription
(
FMeshDescription& OutputMesh, |
Convert chosen Geometry groups inside a GeometryCollection to a single Mesh Description. | PlanarCut.h | |
void ConvertToMeshDescription
(
FMeshDescription& OutputMesh, |
Convert chosen Geometry groups inside a GeometryCollection to a single Mesh Description. | PlanarCut.h | |
void CreateCuttingSurfacePreview
(
const FPlanarCells& Cells, |
Generate cutting mesh surfaces as a single mesh Useful for creating a preview of the cut surface. | PlanarCut.h | |
int32 CutMultipleWithMultiplePlanes
(
const TArrayView< const FPlane >& Planes, |
Cut multiple Geometry groups inside a GeometryCollection with Planes, and add each cut cell back to the GeometryCollection as a new child of their source Geometry. | PlanarCut.h | |
int32 CutMultipleWithPlanarCells
(
FPlanarCells& Cells, |
Cut multiple Geometry groups inside a GeometryCollection with PlanarCells, and add each cut cell back to the GeometryCollection as a new child of their source Geometry. | PlanarCut.h | |
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 | ||
int32 CutWithPlanarCells
(
FPlanarCells& Cells, |
Cut a Geometry inside a GeometryCollection with PlanarCells, and add each cut cell back to the GeometryCollection as a new child of the input Geometry. | PlanarCut.h | |
void FilterBonesByVolume
(
const FGeometryCollection& Collection, |
Populate an array of transform indices w/ those that match a custom volume-based filter | PlanarCut.h | |
void FindBoneVolumes
(
FGeometryCollection& Collection, |
Populate an array of transform indices w/ those that are smaller than a threshold volume | PlanarCut.h | |
void FindSmallBones
(
const FGeometryCollection& Collection, |
Populate an array of transform indices w/ those that are smaller than a threshold volume | PlanarCut.h | |
void MergeAllSelectedBones
(
FGeometryCollection& Collection, |
Merge all chosen nodes into a single node. | PlanarCut.h | |
int32 MergeBones
(
FGeometryCollection& Collection, |
Merge chosen geometry into neighboring geometry. | PlanarCut.h | |
void MergeClusters
(
FGeometryCollection& Collection, |
Merge chosen bones into neighboring clusters. | PlanarCut.h | |
void RecomputeNormalsAndTangents
(
bool bOnlyTangents, |
Recompute normals and tangents of selected geometry, optionally restricted to faces with odd or given material IDs (i.e. to target internal faces) | PlanarCut.h | |
int32 SplitIslands
(
FGeometryCollection& Collection, |
Split the geometry at the given transforms into their connected components | PlanarCut.h | |
bool UE::PlanarCut::BoxProjectUVs
(
int32 TargetUVLayer, |
Box project UVs | FractureAutoUV.h | |
bool UE::PlanarCut::UVLayout
(
int32 TargetUVLayer, |
Make a UV atlas of non-overlapping UV charts for a geometry collection | FractureAutoUV.h |