FMeshSimpleShapeApproximation::Generate_Capsules

Fit containing approximate-minimum-volume capsules to each input mesh and store in ShapeSetOut

Windows
MacOS
Linux

Warnings

  • the capsule is fit by first fitting a line to the vertices, and then containing the points, so the fit can deviate quite a bit from a truly "minimal" capsule

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_Capsules
(
    FSimpleShapeSet3d & ShapeSetOut
)

Remarks

Fit containing approximate-minimum-volume capsules to each input mesh and store in ShapeSetOut

the capsule is fit by first fitting a line to the vertices, and then containing the points, so the fit can deviate quite a bit from a truly "minimal" capsule

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