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)

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