dtPathCorridor::init

Allocates the corridor's path buffer. Cannot be called more than once.

Windows
MacOS
Linux

Warnings

  • Cannot be called more than once.

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourPathCorridor.h

Include

#include "DetourCrowd/DetourPathCorridor.h"

Source

/Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourPathCorridor.cpp

Syntax

bool init
(
    const int maxPath
)

Remarks

Allocates the corridor's path buffer.

Cannot be called more than once.

Returns

True if the initialization succeeded.

Parameters

Parameter

Description

maxPath

The maximum path size the corridor can handle.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss