TCustomIndexedValuesChange

[TCustomIndexedValuesChange](API\Plugins\ModelingComponents\Changes\TCustomIndexedValuesChange) is an implementation of [TIndexedValuesChange](API\Plugins\ModelingComponents\Changes\TIndexedValuesChange) that allows you to provide the [Apply()](API\Plugins\ModelingComponents\Changes\TCustomIndexedValuesChange\Apply) And [Revert()](API\Plugins\ModelingComponents\Changes\TCustomIndexedValuesChange\Revert) implementations via lambdas, as well as specify a custom data element to be stored with the Change.

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, 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

Name Description

Public variable

TUniqueFunction...

 

ApplyFunction

Public variable

CustomDataType

 

CustomData

Public variable

TUniqueFunction...

 

RevertFunction

Overridden from FChange

Name Description

Public function Virtual

void

 

Apply

(
    UObject* Object
)

Makes the change to the object

Public function Virtual

void

 

Revert

(
    UObject* Object
)

Reverts change to the object

Typedefs

Name

Description

BaseType