TIndexedValuesChange

[TIndexedValuesChange](API\Plugins\ModelingComponents\Changes\TIndexedValuesChange) stores a change of values at a set of indices.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

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

Name Description

Public variable

TArray< int32 >

 

Indices

Public variable

TArray< ValueTy...

 

NewValues

Public variable

TArray< ValueTy...

 

OldValues

Overridden from FChange

Name Description

Public function

void

 

Apply

(
    UObject* Object
)

Makes the change to the object

Public function

void

 

Revert

(
    UObject* Object
)

Reverts change to the object

Public function Virtual Const

FString

 

ToString()

Describes this change (for debugging)