Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/FMeshSceneAdapter
Description
Generate a new mesh that "caps" the mesh scene on the bottom. This can be used in cases where the geometry is open on the base, to fill in the hole, which allows things like mesh-solidification to work better. The base mesh is a polygon which can be optionally extruded. Currently the closing mesh is a convex hull, todo: implement a better option
| Name | GenerateBaseClosingMesh |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Scene/MeshSceneAdapter.h |
| Include Path | #include "Scene/MeshSceneAdapter.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Scene/MeshSceneAdapter.cpp |
void GenerateBaseClosingMesh
(
double BaseHeight,
double ExtrudeHeight
)
Parameters
| Name | Remarks |
|---|---|
| BaseHeight | the height in world units from the bounding-box MinZ to consider as part of the "base". |
| ExtrudeHeight | height in world units to extrude the generated base. Positive is in +Z direction. If zero, an open-boundary polygon is generated instead. |