Navigation
Classes
| Type | Name | Description | |
|---|---|---|---|
| FInternalSurfaceMaterials | Auxiliary structure for FPlanarCells to carry material info | ||
| 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 | |||
| IPlanarCutPlugin | The public interface to this module |
Enums
| Type | Name | Description | |
|---|---|---|---|
| UE::PlanarCut::EBakeAttributes | Different attributes we can bake. | ||
| UE::PlanarCut::ENeighborSelectionMethod | |||
| UE::PlanarCut::ETargetFaces | |||
| UE::PlanarCut::EUseMaterials | Note: prefer ETargetFaces below. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AddCollisionSampleVertices
(
double TargetSpacing, |
Scatter additional vertices (w/ no associated triangle) as needed to satisfy minimum point spacing | |
| 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. | |
| void | ConvertToMeshDescription
(
FMeshDescription& OutputMesh, |
Convert chosen Geometry groups inside a GeometryCollection to a single Mesh Description. | |
| void | CreateCuttingSurfacePreview
(
const FPlanarCells& Cells, |
Generate cutting mesh surfaces as a single mesh Useful for creating a preview of the cut surface. | |
| 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. | |
| 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. | |
| 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. | |
| int32 | CutWithMesh
(
const FMeshDescription* CuttingMesh, |
||
| 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. | |
| void | FilterBonesByVolume
(
const FGeometryCollection& Collection, |
Populate an array of transform indices w/ those that match a custom volume-based filter | |
| void | FindBoneVolumes
(
FGeometryCollection& Collection, |
Populate an array of transform indices w/ those that are smaller than a threshold volume | |
| void | FindSmallBones
(
const FGeometryCollection& Collection, |
Populate an array of transform indices w/ those that are smaller than a threshold volume | |
| void | MergeAllSelectedBones
(
FGeometryCollection& Collection, |
Merge all chosen nodes into a single node. | |
| int32 | MergeBones
(
FGeometryCollection& Collection, |
Merge chosen geometry into neighboring geometry. | |
| void | MergeClusters
(
FGeometryCollection& Collection, |
Merge chosen bones into neighboring clusters. | |
| 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) | |
| int32 | SplitIslands
(
FGeometryCollection& Collection, |
Split the geometry at the given transforms into their connected components | |
| bool | UE::PlanarCut::BoxProjectUVs
(
int32 TargetUVLayer, |
Use the BoxProjectUVs variant that takes ETargetFaces instead | |
| bool | UE::PlanarCut::UVLayout
(
int32 TargetUVLayer, |
Use the UVLayout variant that takes ETargetFaces instead |