Navigation
Unreal Engine C++ API Reference > Runtime > Navmesh > Detour > dtIntArray
References
Module | Navmesh |
Header | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourAlloc.h |
Include | #include "Detour/DetourAlloc.h" |
Source | /Engine/Source/Runtime/Navmesh/Private/Detour/DetourAlloc.cpp |
void resize
&40;
int n
&41;
Remarks
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.
Parameters
Name | Description |
---|---|
n | The new size of the integer array. |