FMeshChange

[FMeshChange](API\Runtime\GeometryFramework\Changes\FMeshChange) represents an undoable change to a FDynamicMesh3.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

GeometryFramework

Header

/Engine/Source/Runtime/GeometryFramework/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: UDynamicMeshComponent, UOctreeDynamicMeshComponent, UPreviewMesh

Variables

Name Description

Public variable

TUniquePtr< UE:...

 

DynamicMeshChange

Public variable

TFunction< void...

 

OnChangeAppliedFunc

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

Constructors

Functions

Name Description

Public function Virtual Const

void

 

ApplyChangeToMesh

(
    UE::Geometry::FDynamicMesh3* M...,
    bool bRevert
)

Apply embedded DynamicMeshChange to given Mesh.

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)