TDynamicMeshOverlay::CreateFromPredicate

Build overlay topology from a predicate function, e.g. to build topology for sharp normals

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 CreateFromPredicate
(
    TFunctionRef< bool> TrisCanShareVertexPredicate,
    RealType InitElementValue
)

Remarks

Build overlay topology from a predicate function, e.g. to build topology for sharp normals

Parameters

Parameter

Description

TrisCanShareVertexPredicate

Indicator function returns true if the given vertex can be shared for the given pair of triangles Note if a vertex can be shared between tris A and B, and B and C, it will be shared between all three

InitElementValue

Initial element value, copied into all created elements

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