dtIntArray::resize

Specifies the new size of the integer array.

Windows
MacOS
Linux

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

Syntax

void resize
(
    int n
)

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

Parameter

Description

n

The new size of the integer array.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss