Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/Recast
References
| Module | Navmesh |
| Header | /Engine/Source/Runtime/Navmesh/Public/Recast/RecastAlloc.h |
| Include | #include "Recast/RecastAlloc.h" |
Syntax
template<class T>
class rcScopedStructArrayDelete
Remarks
A simple helper class used to delete an array of instances of structs, that require cleaning up by calling destructor on every instance before release. Releasing is taking place when rcScopedStructArrayDelete instance goes out of scope.
if T doesn't require a destructor to be called use rcScopedDelete instead.
Constructors
| Type | Name | Description | |
|---|---|---|---|
rcScopedStructArrayDelete
(
const int n |
Constructs an array of instances of T. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Operators
| Type | Name | Description | |
|---|---|---|---|
operator T * () |
The root array pointer. |