Skip to content

Arrays

Generate_ArrayInt32

Inputs
  • Start: int
  • End: int
  • Function: Delegate
    • FInt32Int32Delegate: int => int
Outputs
  • int Array
Description

Generates an array of integers by applying a function to the index of the given range and returns the resulting array.

Parameters

  • Start: The starting index of the range.

  • End: The ending index of the range exclusive.

Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name="K2Node_CallFunction" NodeGuid=7ADC64797C124692B040E04E9CADEBFB FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="Generate_ArrayInt32") CustomProperties Pin (PinId=6B1C8C25692C458A8817EE44A8450714,PinName="Start",PinToolTip="" , PinType.PinCategory="int", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=E697C0DAE74D4BFEA87D73C939E6B9B9,PinName="End",PinToolTip="" , PinType.PinCategory="int", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=1989BB2AD84746C4B608ED7DB15FC390,PinName="Function",PinToolTip="" , PinType.PinCategory="delegate", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(MemberParent="/Script/CoreUObject.Package'/Script/UnrealFunctionalProgramming'", MemberName="FInt32Int32Delegate__DelegateSignature"),PinType.PinValueType=(), PinType.ContainerType=None, PinType.bIsReference=False, PinType.bIsConst=False, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False, ) CustomProperties Pin (PinId=D2136506E7F1462988EEA8E40ECED21E,PinName="ReturnValue",PinToolTip="" ,Direction="EGPD_Output", PinType.PinCategory="int", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=Array, PinType.bIsReference=False, PinType.bIsConst=False, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False, ) End Object

Generate_ArrayInt32FromInt32

Inputs
  • Feed: int
  • Start: int
  • End: int
  • Function: Delegate
    • FInt32Int32ToInt32Delegate: int, int => int
Outputs
  • int Array
Description

Generates an array of integers by applying a function to an input integer and the index of the given range and returns the resulting array.

Parameters

  • Feed: The input integer to be used in the function.

  • Start: The starting index of the range.

  • End: The ending index of the range exclusive.

Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name="K2Node_CallFunction" NodeGuid=B0DCF4322C04437D85139F126EF2EB53 FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="Generate_ArrayInt32FromInt32") CustomProperties Pin (PinId=E6F87C1BEFA14AF89AE9D921C40628FD,PinName="Feed",PinToolTip="" , PinType.PinCategory="int", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=094562F2EBE44A3DBFAF61F65892893E,PinName="Start",PinToolTip="" , PinType.PinCategory="int", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=B5A4669ECFAE48699DE3CC42A446F386,PinName="End",PinToolTip="" , PinType.PinCategory="int", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=7ACACA0CDC32477B853139E9F40681FB,PinName="Function",PinToolTip="" , PinType.PinCategory="delegate", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(MemberParent="/Script/CoreUObject.Package'/Script/UnrealFunctionalProgramming'", MemberName="FInt32Int32ToInt32Delegate__DelegateSignature"),PinType.PinValueType=(), PinType.ContainerType=None, PinType.bIsReference=False, PinType.bIsConst=False, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False, ) CustomProperties Pin (PinId=F999C8AB2A1D4E5CBDA82178A246E4FE,PinName="ReturnValue",PinToolTip="" ,Direction="EGPD_Output", PinType.PinCategory="int", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=Array, PinType.bIsReference=False, PinType.bIsConst=False, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False, ) End Object

Merge_Any

Inputs
  • ArrayA: object
  • ArrayB: object
  • Result: object
Outputs
  • ()
Description

Merges two arrays of the same type into a new array without modifying the originals. This function is immutable and similar to the built-in "Append Array" node.

Parameters

  • ArrayA: The first input array.

  • ArrayB: The second input array.

  • Result: The resulting merged array.

Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name="K2Node_CallFunction" NodeGuid=6FAA620F30E449B09A57A76C55A38E46 FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="Merge_Any") CustomProperties Pin (PinId=A3860492B9314FCCA546C8D48A9FA04D,PinName="ArrayA",PinToolTip="" , PinType.PinCategory="object", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=E69A972B79044CB3BCCE0E18D4D38E9E,PinName="ArrayB",PinToolTip="" , PinType.PinCategory="object", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=F3E5C626A343464C9CF3D89C2A6EB682,PinName="Result",PinToolTip="" , PinType.PinCategory="object", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) End Object

MkString

Inputs
  • Array: string Array
  • Separator: string
Outputs
  • string
Description

Concatenates the elements of an array into a single FString, separated by the specified separator. This function is immutable and does not modify the input array.

Parameters

  • Array: The input array of FStrings.

  • Separator: The string to insert between each element.

Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name="K2Node_CallFunction" NodeGuid=0B47D208E0D741BFA7A1B003CFF1236A FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="MkString") CustomProperties Pin (PinId=C12DCBEE122D49E18E1697E0B2CEDC66,PinName="Array",PinToolTip="" , PinType.PinCategory="string", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=Array, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=78A4BDE33A5745D0AE2157F68F2E817E,PinName="Separator",PinToolTip="" , PinType.PinCategory="string", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=C932533EB82D4E21A4885D829815198F,PinName="ReturnValue",PinToolTip="" ,Direction="EGPD_Output", PinType.PinCategory="string", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=False, PinType.bIsConst=False, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False, ) End Object

MkString_Int32

Inputs
  • Array: int Array
  • Separator: string
Outputs
  • string
Description

Concatenates the elements of an int32 array into a single FString, separated by the specified separator.

Parameters

  • Array: The input array of integers.

  • Separator: The string to insert between each element.

Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name="K2Node_CallFunction" NodeGuid=24EF8E205181494184467E39B36707E5 FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="MkString_Int32") CustomProperties Pin (PinId=981B99CC69C149C3AF269D0390353D90,PinName="Array",PinToolTip="" , PinType.PinCategory="int", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=Array, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=E27E1DC0EA584A23976298ECE7509783,PinName="Separator",PinToolTip="" , PinType.PinCategory="string", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=True, PinType.bIsConst=True, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False ) CustomProperties Pin (PinId=3BAA17070214491B88DB0269FA26A8AA,PinName="ReturnValue",PinToolTip="" ,Direction="EGPD_Output", PinType.PinCategory="string", PinType.PinSubCategory="", PinType.PinSubCategoryObject=None, PinType.PinSubCategoryMemberReference=(), PinType.PinValueType=(), PinType.ContainerType=, PinType.bIsReference=False, PinType.bIsConst=False, PinType.bIsWeakPointer=False, PinType.bIsUObjectWrapper=False, PinType.bSerializeAsSinglePrecisionFloat=False, ) End Object