FDynamicMeshEditResult

[FDynamicMeshEditResult](API\Plugins\DynamicMesh\FDynamicMeshEditResult) is used to return information about new mesh elements created by mesh changes, primarily in [FDynamicMeshEditor](API\Plugins\DynamicMesh\FDynamicMeshEditor)

Choose your operating system:

Windows

macOS

Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshEditor.h

Include

#include "DynamicMeshEditor.h"

Syntax

struct FDynamicMeshEditResult

Remarks

FDynamicMeshEditResult is used to return information about new mesh elements created by mesh changes, primarily in FDynamicMeshEditor

Variables

Name Description

Public variable

TArray< int32 >

 

NewColorOverlayElements

New color overlay elements

Public variable

TArray< int >

 

NewGroups

New triangle groups created by an edit

Public variable

TArray< TArray<...

 

NewNormalOverlayElements

New normal overlay elements

Public variable

TArray< TArray<...

 

NewPolygons

New polygons created by an edit, where each polygon is a list of triangle IDs

Public variable

TArray< FIndex2...

 

NewQuads

New quads created by an edit, where each quad is a pair of triangle IDs

Public variable

TArray< int >

 

NewTriangles

New triangles created by an edit.

Public variable

TArray< int >

 

NewVertices

New vertices created by an edit

Functions

Name Description

Public function Const

void

 

GetAllTriangles

(
    TArray< int >& TrianglesOut
)

Flatten the triangle/quad/polygon lists into a single list of all triangles

Public function

void

 

Reset()

Clear this data structure