Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/ShapeApproximation > API/Plugins/DynamicMesh/ShapeApproximation/FMeshSimpleShapeApproximation
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/ShapeApproximation/MeshSimpleShapeApproximation.h |
| Include | #include "ShapeApproximation/MeshSimpleShapeApproximation.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/ShapeApproximation/MeshSimpleShapeApproximation.cpp |
void Generate_ProjectedHulls
&40;
FSimpleShapeSet3d & ShapeSetOut,
EProjectedHullAxisMode AxisMode
&41;
Remarks
Calculate Projected Convex Hulls for each input mesh and store in ShapeSetOut. A Projected Hull is computed by first projecting all the mesh vertices to a plane, computing a 2D convex hull polygon, and then sweeping the polygon in 3D to contain all the mesh vertices. The 2D convex hull polygons are optionally simplified if bSimplifyHulls=true.
Parameters
| Name | Description |
|---|---|
| AxisMode | which axis to use for the planar projection |