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=9B75458DE2314FBE9D3FE5CA74B9B2BA FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="Generate_ArrayInt32") CustomProperties Pin (PinId=5B52A8932B914EA1961F5533925F633F,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=27C26267FF434C97B81E47AE4DE7C733,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=14339EB0F5344F4DADF66EFF8CD27D3D,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=5C1EA819F8804383A6C7D539718CB365,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=3A8ECF7296284622919F5C9ED44320E5 FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="Generate_ArrayInt32FromInt32") CustomProperties Pin (PinId=734C7EF7C0F34B929C156F165E9F63F3,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=BDFAC53B998A45EB84801B83A3C00218,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=7F645A7D041E478A866F8EA7F0EDB9F5,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=46E2F6FD6DE84597B2F55F07446623D3,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=66860AF100D44BA7B1E644BD2B9EF72C,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=A59ABA2270AE4BF5BD2C9D00A0C97253 FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="Merge_Any") CustomProperties Pin (PinId=0A4F23B4E87E4109B4EF38D572E3F4F1,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=2F1496AA4B1D4DAE84618F9279DADF5B,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=EE1A4727E51B4C44AA20136DCB085239,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=952187F4DA9248F1AD16A4AA7067889B FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="MkString") CustomProperties Pin (PinId=37FCA37479D442FBBCC4704274AB0F94,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=D01A1894AFC647E688F64342241A1B32,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=2D51FCEE4F4A41338967BA5F9D9D74EF,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=031E83A849D04370ABAA8D4C363A2B93 FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="MkString_Int32") CustomProperties Pin (PinId=988ACAD06C2945FF9944584F89466ECD,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=C18F2812FCB14868B65395B30EE0BDC8,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=7744ACD8C5A647CB968588E2E6DF5A75,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