Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UKismetArrayLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetArrayLibrary.h |
| Include | #include "Kismet/KismetArrayLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetArrayLibrary.cpp |
static void Array_Set
&40;
const TArray< int32 > & TargetArray,
int32 Index,
const int32 & Item,
bool bSizeToFit
&41;
Remarks
Given an array and an index, assigns the item to that array element
Parameters
| Name | Description |
|---|---|
| TargetArray | The array to perform the operation on |
| Index | The index to assign the item to |
| Item | The item to assign to the index of the array |
| bSizeToFit | If true, the array will expand if Index is greater than the current size of the array |