FMeshReplacementChange

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

Windows
MacOS
Linux

Inheritance Hierarchy

FChange

FCommandChange

FToolCommandChange

FMeshReplacementChange

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/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 USimpleDynamicMeshComponent

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 > B...,
    TSharedPtr< const FDynamicMesh3 > A...
)

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)

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