FMeshSimpleShapeApproximation::Generate_ProjectedHulls

Calculate Projected Convex Hulls for each input mesh and store in ShapeSetOut.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/ShapeApproximation/MeshSimpleShapeApproximation.h

Include

#include "ShapeApproximation/MeshSimpleShapeApproximation.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/ShapeApproximation/MeshSimpleShapeApproximation.cpp

Syntax

void Generate_ProjectedHulls
(
    FSimpleShapeSet3d & ShapeSetOut,
    EProjectedHullAxisMode AxisMode
)

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

Parameter

Description

AxisMode

which axis to use for the planar projection

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss