Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Changes
Inheritance Hierarchy
- FChange
- 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>
class TIndexedValuesChange : public FToolCommandChange
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< int32 > | Indices | ||
| TArray< ValueType > | NewValues | ||
| TArray< ValueType > | OldValues |