Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/dtPathCorridor
Warnings * Cannot be called more than once.
Description
Allocates the corridor's path buffer.
Cannot be called more than once.
| Name | init |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourPathCorridor.h |
| Include Path | #include "DetourCrowd/DetourPathCorridor.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourPathCorridor.cpp |
bool init
(
const int maxPath
)
True if the initialization succeeded.
Parameters
| Name | Remarks |
|---|---|
| maxPath | The maximum path size the corridor can handle. |