Navigation
API > API/Runtime > API/Runtime/Navmesh
A simple dynamic array of integers.
| Name | dtChunkArray |
| Type | class |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourAlloc.h |
| Include Path | #include "Detour/DetourAlloc.h" |
Syntax
template<class T, dtAllocHint TAllocHint>
class dtChunkArray
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
dtChunkArray () |
Constructs an instance with an initial array size of zero. | Detour/DetourAlloc.h | |
dtChunkArray
(
const dtChunkArray& |
Detour/DetourAlloc.h | ||
dtChunkArray
(
int n |
Constructs an instance initialized to the specified size. | Detour/DetourAlloc.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~dtChunkArray() |
Detour/DetourAlloc.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| m_cap | int | Detour/DetourAlloc.h | ||
| m_data | T * | Detour/DetourAlloc.h | ||
| m_size | int | Detour/DetourAlloc.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T pop() |
Returns the value at the end of the array and reduces the size by one. | Detour/DetourAlloc.h | |
void push
(
T item |
Push the specified integer onto the end of the array and increases the size by one. | Detour/DetourAlloc.h | |
void resize
(
int n |
Specifies the new size of the integer array. | Detour/DetourAlloc.h | |
int size() |
The current size of the integer array. | Detour/DetourAlloc.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const T & operator[]
(
int i |
The value at the specified array index. Does not provide overflow protection. | Detour/DetourAlloc.h | |
T & operator[]
(
int i |
The value at the specified array index. Does not provide overflow protection. | Detour/DetourAlloc.h | |
dtChunkArray & operator=
(
const dtChunkArray& |
Detour/DetourAlloc.h |