Navigation
API > API/Runtime > API/Runtime/Navmesh
Description
Sets the base custom allocation functions to be used by Recast.
| Name | rcAllocSetCustom |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/RecastAlloc.h |
| Include Path | #include "Recast/RecastAlloc.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/RecastAlloc.cpp |
void rcAllocSetCustom
(
rcAllocFunc * allocFunc,
rcFreeFunc * freeFunc
)
Parameters
| Name | Remarks |
|---|---|
| allocFunc | The memory allocation function to be used by rcAlloc |
| freeFunc | The memory de-allocation function to be used by rcFree |
See Also
-
rcAlloc
-
rcFree