FNavLocalGridData::GetCellIndexFromGlobalCoords2D

Convert global world coords to cell index, return -1 if outside

Choose your operating system:

Windows

macOS

Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Navigation/NavLocalGridData.h

Include

#include "Navigation/NavLocalGridData.h"

Source

/Engine/Source/Runtime/AIModule/Private/Navigation/NavLocalGridData.cpp

Syntax

int32 GetCellIndexFromGlobalCoords2D
(
    const FIntVector & WorldCoords
) const

Remarks

Convert global world coords to cell index, return -1 if outside