TSet::AddByHash

Adds an element to the set.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Set.h

Include

#include "Containers/Set.h"

Syntax

FSetElementId AddByHash
(
    uint32 KeyHash,
    const InElementType & InElement,
    bool * bIsAlreadyInSetPtr
)

Remarks

Adds an element to the set.

Returns

A handle to the element stored in the set

Parameters

Parameter

Description

InElement

Element to add to set

bIsAlreadyInSetPtr

[out] Optional pointer to bool that will be set depending on whether element is already in set

See Also

Class documentation section on ByHash() functions

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