Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Changes
Inheritance Hierarchy
- FCommandChange
- FToolCommandChange
- TIndexedValuesChange
- TCustomIndexedValuesChange
- FMeshAttributePaintChange
- FMeshVertexColorPaintChange
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Changes/IndexedAttributeChange.h |
| Include | #include "Changes/IndexedAttributeChange.h" |
Syntax
template<typename ValueType, typename CustomDataType>
class TCustomIndexedValuesChange : public TIndexedValuesChange< ValueType >
Remarks
TCustomIndexedValuesChange is an implementation of TIndexedValuesChange that allows you to provide the Apply() And Revert() implementations via lambdas, as well as specify a custom data element to be stored with the Change. For example if this is a change to an attribute array, you could store the attribute identifier in the CustomData.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniqueFunction< void(UObject *, const CustomDataType &Data, const TArray< int32 > &, const TArr... | ApplyFunction | ||
| CustomDataType | CustomData | ||
| TUniqueFunction< void(UObject *, const CustomDataType &Data, const TArray< int32 > &, const TArr... | RevertFunction |
Overridden from TIndexedValuesChange
Typedefs
| Name | Description |
|---|---|
| BaseType |