UBlueprintSetLibrary

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintSetLibrary.h

Include

#include "Kismet/BlueprintSetLibrary.h"

Syntax

class UBlueprintSetLibrary : public UBlueprintFunctionLibrary

Functions

Name Description

Public function Static

void

 

GenericSet_Add

(
    const void* TargetSet,
    const FSetProperty* SetPropert...,
    const void* ItemPtr
)

Public function Static

void

 

GenericSet_AddItems

(
    const void* TargetSet,
    const FSetProperty* SetPropert...,
    const void* TargetArray,
    const FArrayProperty* ArrayPro...
)

Public function Static

void

 

GenericSet_Clear

(
    const void* TargetSet,
    const FSetProperty* SetPropert...
)

Public function Static

bool

 

GenericSet_Contains

(
    const void* TargetSet,
    const FSetProperty* SetPropert...,
    const void* ItemToFind
)

Public function Static

void

 

GenericSet_Difference

(
    const void* SetA,
    const FSetProperty* SetPropert...,
    const void* SetB,
    const FSetProperty* SetPropert...,
    const void* SetResult,
    const FSetProperty* SetPropert...
)

Public function Static

void

 

GenericSet_Intersect

(
    const void* SetA,
    const FSetProperty* SetPropert...,
    const void* SetB,
    const FSetProperty* SetPropert...,
    const void* SetResult,
    const FSetProperty* SetPropert...
)

Public function Static

bool

 

GenericSet_IsEmpty

(
    const void* TargetSet,
    const FSetProperty* SetPropert...
)

Public function Static

bool

 

GenericSet_IsNotEmpty

(
    const void* TargetSet,
    const FSetProperty* SetPropert...
)

Public function Static

int32

 

GenericSet_Length

(
    const void* TargetSet,
    const FSetProperty* SetPropert...
)

Public function Static

bool

 

GenericSet_Remove

(
    const void* TargetSet,
    const FSetProperty* SetPropert...,
    const void* ItemPtr
)

Public function Static

void

 

GenericSet_RemoveItems

(
    const void* TargetSet,
    const FSetProperty* SetPropert...,
    const void* TargetArray,
    const FArrayProperty* ArrayPro...
)

Public function Static

void

 

GenericSet_SetSetPropertyByName

(
    UObject* OwnerObject,
    FName SetPropertyName,
    const void* SrcSetAddr
)

Public function Static

void

 

GenericSet_ToArray

(
    const void* TargetSet,
    const FSetProperty* SetPropert...,
    void* TargetArray,
    const FArrayProperty* ArrayPro...
)

Public function Static

void

 

GenericSet_Union

(
    const void* SetA,
    const FSetProperty* SetPropert...,
    const void* SetB,
    const FSetProperty* SetPropert...,
    const void* SetResult,
    const FSetProperty* SetPropert...
)

Public function Static

void

 

Set_Add

(
    const TSet< int32 >& TargetSet,
    const int32& NewItem
)

Adds item to set

Public function Static

void

 

Set_AddItems

(
    const TSet< int32 >& TargetSet,
    const TArray< int32 >& NewItems
)

Adds all elements from an Array to a Set

Public function Static

void

 

Set_Clear

(
    const TSet< int32 >& TargetSet
)

Clear a set, removes all content.

Public function Static

bool

 

Set_Contains

(
    const TSet< int32 >& TargetSet,
    const int32& ItemToFind
)

Returns true if the set contains the given item.

Public function Static

void

 

Set_Difference

(
    const TSet< int32 >& A,
    const TSet< int32 >& B,
    TSet< int32 >& Result
)

Assigns Result to the relative difference of two sets, A and B.

Public function Static

void

 

Set_Intersection

(
    const TSet< int32 >& A,
    const TSet< int32 >& B,
    TSet< int32 >& Result
)

Assigns Result to the intersection of Set A and Set B.

Public function Static

bool

 

Set_IsEmpty

(
    const TSet< int32 >& TargetSet
)

Check if the set is empty

Public function Static

bool

 

Set_IsNotEmpty

(
    const TSet< int32 >& TargetSet
)

Check if the set has any elements

Public function Static

int32

 

Set_Length

(
    const TSet< int32 >& TargetSet
)

Get the number of items in a set.

Public function Static

bool

 

Set_Remove

(
    const TSet< int32 >& TargetSet,
    const int32& Item
)

Remove item from set.

Public function Static

void

 

Set_RemoveItems

(
    const TSet< int32 >& TargetSet,
    const TArray< int32 >& Items
)

Removes all elements in an Array from a set.

Public function Static

void

 

Set_ToArray

(
    const TSet< int32 >& A,
    TArray< int32 >& Result
)

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

Public function Static

void

 

Set_Union

(
    const TSet< int32 >& A,
    const TSet< int32 >& B,
    TSet< int32 >& Result
)

Assigns Result to the union of two sets, A and B.

Public function Static

void

 

SetSetPropertyByName

(
    UObject* Object,
    FName PropertyName,
    const TSet< int32 >& Value
)

Not exposed to users. Supports setting a set property on an object by name.