TDynamicMeshOverlay::SplitVerticesWithPredicate

Refine an existing overlay topology.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

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

Include

#include "DynamicMeshOverlay.h"

Source

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

Syntax

void SplitVerticesWithPredicate
(
    TFunctionRef< bool> ShouldSplitOutVertex,
    TFunctionRef< void> GetNewElementValue
)

Remarks

Refine an existing overlay topology. For any element on a given triangle, if the predicate returns true, it gets topologically split out so it isn't shared by any other triangle. Used for creating sharp vertices in the normals overlay.

Parameters

Parameter

Description

ShouldSplitOutVertex

predicate returns true of the element should be split out and not shared w/ any other triangle

GetNewElementValue

function to assign a new value to any element that is split out

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