TIndexedValuesChange

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

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss