Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Changes
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
| Type | Name | Description | |
|---|---|---|---|
| ValueType | FromValue | ||
| ValueType | ToValue | ||
| TUniqueFunction< void(UObject *, const ValueType &From, const ValueType &To, bool bIsRevert)> | ValueChangeFunc |