Set

Set

Windows
MacOS
Linux
On this page

Actions

Add

Adds item to set

Target is Blueprint Set Library

Add Items

Adds all elements from an Array to a Set

Target is Blueprint Set Library

Clear

Clear a set, removes all content.

Target is Blueprint Set Library

Contains Item

Returns true if the set contains the given item.

Target is Blueprint Set Library

Difference

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.

Target is Blueprint Set Library

Intersection

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.

Target is Blueprint Set Library

Length

Get the number of items in a set.

Target is Blueprint Set Library

Make Set

Create a set from a series of items.

Remove

Remove item from set. Output value indicates if something was actually removed. False indicates no equivalent item was found.

Target is Blueprint Set Library

Remove Items

Removes all elements in an Array from a set.

Target is Blueprint Set Library

To Array

Outputs an Array containing copies of the entries of a Set.

Target is Blueprint Set Library

Union

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.

Target is Blueprint Set Library

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