Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UBlueprintSetLibrary
Description
Assigns Result to the intersection of Set A and Set B. That is, Result will contain all elements that are in both Set A and Set B. To intersect with the empty set use Clear.
| Name | Set_Intersection |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintSetLibrary.h |
| Include Path | #include "Kismet/BlueprintSetLibrary.h" |
UFUNCTION (BlueprintCallable, CustomThunk,
Meta=(DisplayName="Intersection", CompactNodeTitle="INTERSECTION", SetParam="A|B|Result"),
Category="Utilities|Set")
static void Set_Intersection
(
const TSet< int32 > & A,
const TSet< int32 > & B,
TSet< int32 > & Result
)
Parameters
| Name | Remarks |
|---|---|
| A | One set to intersect |
| B | Another set to intersect |
| Result | Set to store results in |