Navigation
API > API/Runtime > API/Runtime/Navmesh
A simple helper class used to delete an array when it goes out of scope.
This class is rarely if ever used by the end user.
| Name | dtScopedDelete |
| Type | class |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourAlloc.h |
| Include Path | #include "Detour/DetourAlloc.h" |
Syntax
template<class T>
class dtScopedDelete
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Constructs an instance with a null pointer. | Detour/DetourAlloc.h | ||
dtScopedDelete
(
int n |
Detour/DetourAlloc.h | ||
dtScopedDelete
(
T* p |
Constructs an instance with the specified pointer. | Detour/DetourAlloc.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~dtScopedDelete() |
Detour/DetourAlloc.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ptr | T * | Detour/DetourAlloc.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * get() |
Detour/DetourAlloc.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator T*() |
The root array pointer. | Detour/DetourAlloc.h | |
T * operator=
(
T* p |
Detour/DetourAlloc.h |