FMeshReplacementChange

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

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FChange

FCommandChange

FToolCommandChange

FMeshReplacementChange

References

Module

GeometryFramework

Header

/Engine/Source/Runtime/GeometryFramework/Public/Changes/MeshReplacementChange.h

Include

#include "Changes/MeshReplacementChange.h"

Syntax

class FMeshReplacementChange : public FToolCommandChange

Remarks

FMeshReplacementChange represents an undoable complete change to a FDynamicMesh3. Currently only valid to call Apply/Revert when the Object is a UDynamicMeshComponent

Variables

Name Description

Public variable

TFunction< void...

 

OnChangeAppliedFunc

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

Constructors

Name Description

Public function

FMeshReplacementChange()

Public function

FMeshReplacementChange

(
    TSharedPtr< const FDynamicMesh3, ES...,
    TSharedPtr< const FDynamicMesh3, ES...
)

Functions

Name Description

Public function Const

const TShare...

 

GetMesh

(
    bool bRevert
)

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)