TMeshSimplification::FastCollapsePass

Does N rounds of collapsing edges longer than fMinEdgeLength.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshSimplification.h

Include

#include "MeshSimplification.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/MeshSimplification.cpp

Syntax

virtual void FastCollapsePass
(
    double MinEdgeLength,
    int Rounds,
    bool bMeshIsClosedHint
)

Remarks

Does N rounds of collapsing edges longer than fMinEdgeLength. Does not use Quadrics or priority queue. This is a quick way to get triangle count down on huge meshes (eg like marching cubes output).

Parameters

Parameter

Description

MinEdgeLength

collapse any edge longer than this

Rounds

number of collapse rounds

MeshIsClosedHint

if you know the mesh is closed, this pass this true to avoid some precomputes

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