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 * rcAlloc
(
int size,
rcAllocHint hint
)
Remarks
Allocates a memory block. A pointer to the beginning of the allocated memory block, or null if the allocation failed.
Parameters
| Name | Description |
|---|---|
| size | The size, in bytes of memory, to allocate. |
| hint | A hint to the allocator on how long the memory is expected to be in use. |
See Also
rcFree
rcAllocSetCustom