FDynamicMeshAttributeSetChangeTracker

[FDynamicMeshAttributeSetChangeTracker](API\Plugins\DynamicMesh\FDynamicMeshAttributeSetChangeTr-) constructs a well-formed set of [TDynamicMeshAttributeChange](API\Plugins\DynamicMesh\TDynamicMeshAttributeChange) objects (stored in a [FDynamicMeshAttributeChangeSet](API\Plugins\DynamicMesh\FDynamicMeshAttributeChangeSet)).

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

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

Include

#include "DynamicMeshChangeTracker.h"

Syntax

class FDynamicMeshAttributeSetChangeTracker

Remarks

FDynamicMeshAttributeSetChangeTracker constructs a well-formed set of TDynamicMeshAttributeChange objects (stored in a FDynamicMeshAttributeChangeSet). You should not use this class directly, it is intended to be used via FDynamicMeshChangeTracker

Variables

Name Description

Protected variable

const FDynamicM...

 

Attribs

Protected variable

FDynamicMeshAtt...

 

Change

Protected variable

TArray< FElemen...

 

NormalStates

Protected variable

TArray< FElemen...

 

UVStates

Constructors

Functions

Name Description

Public function

void

 

BeginChange()

Start tracking a change

Public function

TUniquePtr< ...

 

EndChange()

End the change transaction and get the resulting change object

Protected function

void

 

SaveElement

(
    int ElementID,
    FElementState& State,
    const AttribOverlayType* Overl...,
    AttribChangeType& ChangeIn
)

Public function

void

 

SaveInitialTriangle

(
    int TriangleID
)

Store the initial state of a triangle

Public function

void

 

SaveInitialVertex

(
    int VertexID
)

Store the initial state of a vertex

Public function

void

 

StoreAllFinalTriangles

(
    const TArray< int >& TriangleIDs
)

Store the final state of a set of triangles

Public function

void

 

StoreAllFinalVertices

(
    const TArray< int >& VertexIDs
)

Store the final state of a set of vertices

Classes

Name

Description

Protected struct

FElementState

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