Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshSimpleShapeApproximation
Type/Mode for deciding 3D axis to use in Generate_ProjectedHulls()
| Name | EProjectedHullAxisMode |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/ShapeApproximation/MeshSimpleShapeApproximation.h |
| Include Path | #include "ShapeApproximation/MeshSimpleShapeApproximation.h" |
Syntax
enum EProjectedHullAxisMode
{
X = 0,
Y = 1,
Z = 2,
SmallestBoxDimension = 3,
SmallestVolume = 4,
}
Values
| Name | Remarks |
|---|---|
| X | Use Unit X axis |
| Y | Use Unit Y axis |
| Z | Use Unit Z axis |
| SmallestBoxDimension | Use X/Y/Z axis with smallest axis-aligned-bounding-box dimension |
| SmallestVolume | Compute projected hull for each of X/Y/Z axes and use the one that has the smallest volume |