FSmallListSet::Replace

Search the list at ListIndex for a value where PredicateFunc(value) returns true, and replace it with NewValue

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/SmallListSet.h

Include

#include "Util/SmallListSet.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Private/Util/SmallListSet.cpp

Syntax

bool Replace
(
    int32 ListIndex,
    const TFunction< bool)> & PredicateFunc,
    int32 NewValue
)

Remarks

Search the list at ListIndex for a value where PredicateFunc(value) returns true, and replace it with NewValue

Returns

true if the value was found and replaced

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