FMeshChange

[FMeshChange](API\Plugins\ModelingComponents\Changes\FMeshChange) represents an undoable change to a [FDynamicMesh3](API\Plugins\DynamicMesh\FDynamicMesh3).

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Changes/MeshChange.h

Include

#include "Changes/MeshChange.h"

Syntax

class FMeshChange : public FToolCommandChange

Remarks

FMeshChange represents an undoable change to a FDynamicMesh3. Currently only valid to call Apply/Revert when the Object is a one of several components backed by FDynamicMesh: USimpleDynamicMeshComponent, UOctreeDynamicMeshComponent, UPreviewMesh

Variables

Name Description

Public variable

TUniquePtr< FDy...

 

DynamicMeshChange

Public variable

TFunction< void...

 

OnChangeAppliedFunc

This function is called on Apply and Revert (last argument is true on Apply)

Constructors

Name Description

Public function

FMeshChange()

Public function

FMeshChange

(
    TUniquePtr< FDynamicMeshChange > Dy...
)

Overridden from FChange

Name Description

Public function Virtual

void

 

Apply

(
    UObject* Object
)

Makes the change to the object

Public function Virtual

void

 

Revert

(
    UObject* Object
)

Reverts change to the object

Public function Virtual Const

FString

 

ToString()

Describes this change (for debugging)

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