unreal.Set

class unreal.Set(*args, **kwargs)

Bases: unreal._WrapperBase

Type for all UE4 exposed set instances

__copy__() → Set – copy this Unreal set
add(value) → None – add the given value to this Unreal set if not already present
classmethod cast(type, obj) → Set – cast the given object to this Unreal set type
clear() → None – remove all values from this Unreal set
copy() → Set – copy this Unreal set
difference(...) -> Set -- return the difference between this Unreal set and the other iterables passed for comparison (ie, all values that are in this set but not the others)
difference_update(...) -> None -- make this set the difference between this Unreal set and the other iterables passed for comparison (ie, all values that are in this set but not the others)
discard(value) → None – remove the given value from this Unreal set, or do nothing if not present
intersection(...) -> Set -- return the intersection between this Unreal set and the other iterables passed for comparison (ie, values that are common to all of the sets)
intersection_update(...) -> None -- make this set the intersection between this Unreal set and the other iterables passed for comparison (ie, values that are common to all of the sets)
isdisjoint(other) → bool – return True if there is a null intersection between this Unreal set and another
issubset(other) → bool – return True if another set contains this Unreal set
issuperset(other) → bool – return True if this Unreal set contains another
pop() → value – remove and return an arbitrary value from this Unreal set, or raise KeyError if the set is empty
remove(value) → None – remove the given value from this Unreal set, or raise KeyError if not present
symmetric_difference(other) -> Set -- return the symmetric difference between this Unreal set and another (ie, values that are in exactly one of the sets)
symmetric_difference_update(other) -> None -- make this set the symmetric difference between this Unreal set and another (ie, values that are in exactly one of the sets)
union(...) -> Set -- return the union between this Unreal set and the other iterables passed for comparison (ie, values that are in any set)
update(...) -> None -- make this set the union between this Unreal set and the other iterables passed for comparison (ie, values that are in any set)