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" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/RecastAlloc.cpp |
void rcAllocSetCustom
(
rcAllocFunc * allocFunc,
rcFreeFunc * freeFunc
)
Remarks
Sets the base custom allocation functions to be used by Recast.
Parameters
| Name | Description |
|---|---|
| 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