Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UBlueprintSetLibrary
Description
Assigns Result to the union of two sets, A and B. That is, Result will contain all elements that are in Set A and in addition all elements in Set B. Note that a Set is a collection of unique elements, so duplicates will be eliminated.
| Name | Set_Union |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintSetLibrary.h |
| Include Path | #include "Kismet/BlueprintSetLibrary.h" |
UFUNCTION (BlueprintCallable, CustomThunk,
Meta=(DisplayName="Union", CompactNodeTitle="UNION", SetParam="A|B|Result"),
Category="Utilities|Set")
static void Set_Union
(
const TSet < int32 > & A,
const TSet < int32 > & B,
TSet < int32 > & Result
)
Parameters
| Name | Remarks |
|---|---|
| A | One set to union |
| B | Another set to union |
| Result | Set to store results in |