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=8D9DAF9BD21442BFA57F0D50194C61C9 FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="Generate_ArrayInt32") CustomProperties Pin (PinId=C32DC6B4533D479EA5B4576C41CBF324,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=B20FA8EEB2F94FB1A83BA4837F79F341,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=88852580797E40F995C56C454B1175BD,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=C600457E56334511BF258647691557A5,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=60F47C00E43C478296A0EE6458DF41AC FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="Generate_ArrayInt32FromInt32") CustomProperties Pin (PinId=615A5C7B142E49939F4E478259EA56B9,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=3D85FA0161A04C469F18F3A348C083A2,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=7473403081F048878CD469CE31522C01,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=CB8B9006ACAA4C19B3C27045CF9668F1,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=CBE913715FE244AAA901E4B1003105E9,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=B345F144EAC24FA8B091B77BEC604339 FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="Merge_Any") CustomProperties Pin (PinId=7871AFA52B1C4D32BFBA19D6E989B269,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=F513AE4B3DC040F995C7C72FDEE15700,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=0F13C67691164E06B60DAA2BE09D4ADB,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=B5B5F83E51DC4BB1829E388ECC09BC36 FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="MkString") CustomProperties Pin (PinId=DF73F5660C104EA0A966551334C0C570,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=E99E33D2021943AE8B9861F67560B212,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=50805F5D3FB144DC9147729910F78136,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=82F103FCE2A7405297E4E80973B8FB8A FunctionReference=(MemberParent="/Script/CoreUObject.Class'/Script/UnrealFunctionalProgramming.Arrays'",MemberName="MkString_Int32") CustomProperties Pin (PinId=35C9DE4011FA46348B1C2E7762C559C0,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=844EB397D6F6445A92E10C26DE3CD028,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=13AB02C471C84C6AB0539A991E25CE3B,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