TIndexedValuesChangeBuilder

[TIndexedValuesChangeBuilder](API\Plugins\ModelingComponents\Changes\TIndexedValuesChangeBuilder) incrementally builds up a [TIndexedValuesChange](API\Plugins\ModelingComponents\Changes\TIndexedValuesChange) instance/subclass.

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Changes/IndexedAttributeChange.h

Include

#include "Changes/IndexedAttributeChange.h"

Syntax

template<typename ValueType, typename ChangeClassType>
class TIndexedValuesChangeBuilder

Remarks

TIndexedValuesChangeBuilder incrementally builds up a TIndexedValuesChange instance/subclass. The ChangeClassType template parameter should be the name of the TIndexedValuesChange-derived class.

Variables

Name Description

Public variable

TUniquePtr< Cha...

 

Change

Public variable

TMap< int32, in...

 

SavedIndices

Constructors

Functions

Name Description

Public function

void

 

BeginNewChange()

Allocate a new change and start tracking

Public function

TUniquePtr< ...

 

ExtractResult()

Complete the change construction and return it

Public function

void

 

UpdateValue

(
    int32 Index,
    const ValueType& OldValue,
    const ValueType& NewValue
)

Modify the value at an Index. Changes will be tracked as necessary.

Public function

void

 

UpdateValues

(
    const TArray< int32 >& Indices,
    const TArray< ValueType >& OldValu...,
    const TArray< ValueType >& NewValu...
)

Modify a set of values

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