TSimpleValueLambdaChange

[TSimpleValueLambdaChange](API\Plugins\ModelingComponents\Changes\TSimpleValueLambdaChange) is a generic [FToolCommandChange](API\Runtime\InteractiveToolsFramework\FToolCommandChange) that swaps between two (template-type) Values.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FChange

FCommandChange

FToolCommandChange

TSimpleValueLambdaChange

References

Module

ModelingComponents

Header

/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Changes/BasicChanges.h

Include

#include "Changes/BasicChanges.h"

Syntax

template<typename ValueType>
class TSimpleValueLambdaChange : public FToolCommandChange

Remarks

TSimpleValueLambdaChange is a generic FToolCommandChange that swaps between two (template-type) Values. The swap is applied via a lambda provided by the creator.

Variables

Name Description

Public variable

ValueType

 

FromValue

Public variable

ValueType

 

ToValue

Public variable

TUniqueFunction...

 

ValueChangeFunc

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