Class BlueprintSetLibrary
Blueprint Set Library
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class BlueprintSetLibrary : BlueprintFunctionLibrary
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static BlueprintSetLibrary DefaultObject { get; }
Property Value
Type | Description |
---|---|
BlueprintSetLibrary |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static BlueprintSetLibrary New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
BlueprintSetLibrary |
Set_Add(Byte, Int32)
Adds item to set @
Declaration
public static void Set_Add(byte TargetSet, int NewItem)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | TargetSet | |
System.Int32 | NewItem |
Remarks
param TargetSet The set to add item to @param NewItem The item to add to the set
Set_AddItems(Byte, Byte)
Adds all elements from an Array to a Set @
Declaration
public static void Set_AddItems(byte TargetSet, byte NewItems)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | TargetSet | |
System.Byte | NewItems |
Remarks
param TargetSet The set to search for the item @param NewItems The items to add to the set
Set_Clear(Byte)
Clear a set, removes all content.
Declaration
public static void Set_Clear(byte TargetSet)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | TargetSet |
Remarks
@param TargetSet The set to clear
Set_Contains(Byte, Int32)
Returns true if the set contains the given item.
Declaration
public static bool Set_Contains(byte TargetSet, int ItemToFind)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | TargetSet | |
System.Int32 | ItemToFind |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
@param TargetSet The set to search for the item @param ItemToFind The item to look for @return True if the item was found within the set
Set_Difference(Byte, Byte)
Assigns Result to the relative difference of two sets, A and B.
Declaration
public static byte Set_Difference(byte A, byte B)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | A | |
System.Byte | B |
Returns
Type | Description |
---|---|
System.Byte |
Remarks
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.
@param A Starting set @param B Set of elements to remove from set A @param Result Set containing all elements in A that are not found in B
Set_Intersection(Byte, Byte)
Assigns Result to the intersection of Set A and Set B.
Declaration
public static byte Set_Intersection(byte A, byte B)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | A | |
System.Byte | B |
Returns
Type | Description |
---|---|
System.Byte |
Remarks
That is, Result will contain all elements that are in both Set A and Set B. To intersect with the empty set use Clear.
@param A One set to intersect @param B Another set to intersect @param Result Set to store results in
Set_Length(Byte)
Get the number of items in a set.
Declaration
public static int Set_Length(byte TargetSet)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | TargetSet |
Returns
Type | Description |
---|---|
System.Int32 |
Remarks
@param TargetSet The set to get the length of @return The length of the set
Set_Remove(Byte, Int32)
Remove item from set.
Declaration
public static bool Set_Remove(byte TargetSet, int Item)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | TargetSet | |
System.Int32 | Item |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
Output value indicates if something was actually removed. False indicates no equivalent item was found.
@param TargetSet The set to remove from @param Item The item to remove from the set @return True if an item was removed (False indicates no equivalent item was present)
Set_RemoveItems(Byte, Byte)
Removes all elements in an Array from a set.
Declaration
public static void Set_RemoveItems(byte TargetSet, byte Items)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | TargetSet | |
System.Byte | Items |
Remarks
@param TargetSet The set to remove from @param Items The items to remove from the set
Set_ToArray(Byte)
Outputs an Array containing copies of the entries of a Set.
Declaration
public static IReadOnlyCollection<int> Set_ToArray(byte A)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | A |
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<System.Int32> |
Remarks
@param A Set @param Result Array
Set_Union(Byte, Byte)
Assigns Result to the union of two sets, A and B.
Declaration
public static byte Set_Union(byte A, byte B)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | A | |
System.Byte | B |
Returns
Type | Description |
---|---|
System.Byte |
Remarks
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.
@param A One set to union @param B Another set to union @param Result Set to store results in
SetSetPropertyByName(UObject, Name, Byte)
Not exposed to users. Supports setting a set property on an object by name.
Declaration
public static void SetSetPropertyByName(UObject UObject, Name PropertyName, byte Value)
Parameters
Type | Name | Description |
---|---|---|
UObject | UObject | |
Name | PropertyName | |
System.Byte | Value |
Operators
| Improve this Doc View SourceImplicit(IntPtr to BlueprintSetLibrary)
Convert from IntPtr to UObject
Declaration
public static implicit operator BlueprintSetLibrary(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
BlueprintSetLibrary |