TSimpleCellGrid::GetCellIndex

Convert (X,Y) coords on grid to cell index, returns -1 for position outside grid

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Public/SimpleCellGrid.h

Include

#include "SimpleCellGrid.h"

Syntax

int32 GetCellIndex
(
    int32 LocationX,
    int32 LocationY
) const

Remarks

Convert (X,Y) coords on grid to cell index, returns -1 for position outside grid

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