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 | rcScopedDelete |
| Type | class |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/RecastAlloc.h |
| Include Path | #include "Recast/RecastAlloc.h" |
Syntax
template<class T>
class rcScopedDelete
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Constructs an instance with a null pointer. | Recast/RecastAlloc.h | ||
rcScopedDelete
(
int n |
Recast/RecastAlloc.h | ||
rcScopedDelete
(
T* p |
Constructs an instance with the specified pointer. | Recast/RecastAlloc.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~rcScopedDelete() |
Recast/RecastAlloc.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ptr | T * | Recast/RecastAlloc.h | ||
| size | int | Recast/RecastAlloc.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool resizeGrow
(
int n |
UE: resize and copy existing memory (n = element count), doesn't destruct elements! | Recast/RecastAlloc.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator T*() |
The root array pointer. | Recast/RecastAlloc.h | |
T * operator=
(
T* p |
Recast/RecastAlloc.h |