Navigation
API > API/Plugins > API/Plugins/ModelingComponents
TIndexedValuesChange stores a change of values at a set of indices. For example if you were changing positions of vertices of a mesh, you could use this change to store the new and old positions.
This is an abstract base class, you must provide suitable Apply/Revert implementations. The TCustomIndexedValuesChange subclass will allow you to do this with lambdas.
| Name | TIndexedValuesChange |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Changes/IndexedAttributeChange.h |
| Include Path | #include "Changes/IndexedAttributeChange.h" |
Syntax
template<typename ValueType>
class TIndexedValuesChange : public FToolCommandChange
Inheritance Hierarchy
- FChange → FCommandChange → FToolCommandChange → TIndexedValuesChange
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Indices | TArray< int32 > | Changes/IndexedAttributeChange.h | ||
| NewValues | TArray< ValueType > | Changes/IndexedAttributeChange.h | ||
| OldValues | TArray< ValueType > | Changes/IndexedAttributeChange.h |
Functions
Public
Overridden from FChange
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Apply
(
UObject* Object |
Changes/IndexedAttributeChange.h | ||
void Revert
(
UObject* Object |
Changes/IndexedAttributeChange.h | ||
virtual FString ToString() |
Changes/IndexedAttributeChange.h |