Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/ExtrudeMesh.h |
Include |
#include "Operations/ExtrudeMesh.h" |
class FExtrudeMesh
FExtrudeMesh implements a full-mesh extrusion of a mesh. This happens in two stages: 1) all triangles of input mesh are duplicated and offset 2) base and offset border loops are stitched together with triangulated quads Step 2 does not occur if there are no boundary loops (ie for a closed input mesh)
Each quad of the border loop is assigned it's own normal and UVs (ie each is a separate UV-island)
Name | Description | ||
---|---|---|---|
|
double |
DefaultExtrudeDistance |
If no Extrude function is set, we will displace by DefaultExtrudeDistance*Normal |
|
ExtrudedPositionFunc |
This function is called to generate the offset vertex position. |
|
|
Extrusions |
List of extrusion regions, one per connected component of input |
|
|
IsPositiveOffset |
If Extrusion is "negative" (ie negative distance, inset, etc) then this value must be set to false or the output will have incorrect winding orientation |
|
|
FDynamicMesh3 &... |
Mesh |
InputsThe mesh that we are modifying |
|
float |
UVScaleFactor |
Quads on the stitch loop are planar-projected and scaled by this amount |
Name | Description | |
---|---|---|
|
FExtrudeMesh ( |
Name | Description | |
---|---|---|
|
~FExtrudeMesh() |
Name | Description | ||
---|---|---|---|
|
Apply() |
Apply the Extrude operation to the input mesh. |
|
|
ApplyExtrude ( |
||
|
EOperationVa... |
Validate() |
Name |
Description |
|
---|---|---|
|
FExtrusionInfo |
Outputs FExtrusionInfo stores info about extrusion for a single mesh connected component. |