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)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback