Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/rcIntArray
Description
Specifies the new size of the integer array.
Using this method ensures the array is at least large enough to hold the specified number of elements. This can improve performance by avoiding auto-resizing during use.
| Name | resize |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/RecastAlloc.h |
| Include Path | #include "Recast/RecastAlloc.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/RecastAlloc.cpp |
void resize
(
int n
)
Parameters
| Name | Remarks |
|---|---|
| n | The new size of the integer array. |