Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UBlueprintSetLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintSetLibrary.h |
Include | #include "Kismet/BlueprintSetLibrary.h" |
static void Set_Difference
&40;
const TSet< int32 > & A,
const TSet< int32 > & B,
TSet< int32 > & Result
&41;
Remarks
Assigns Result to the relative difference of two sets, A and B. That is, Result will contain all elements that are in Set A but are not found in Set B. Note that the difference between two sets is not commutative. The Set whose elements you wish to preserve should be the first (top) parameter. Also called the relative complement.
Parameters
Name | Description |
---|---|
A | Starting set |
B | Set of elements to remove from set A |
Result | Set containing all elements in A that are not found in B |