Navigation
API > API/Runtime > API/Runtime/Landscape
Enumerates directions, for the edges or neighbors of a tile in the the landscape group grid. When specifically referencing an edge or a neighbor, use EEdgeIndex or ENeighborIndex
| Name | UE::Landscape::EDirectionIndex |
| Type | enum |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeEdgeFixup.h |
| Include Path | #include "LandscapeEdgeFixup.h" |
Syntax
namespace UE
{
namespace Landscape
{
enum EDirectionIndex
{
Bottom = 0,
BottomRight = 1,
Right = 2,
TopRight = 3,
Top = 4,
TopLeft = 5,
Left = 6,
BottomLeft = 7,
First = 0,
Last = 7,
Count = 8,
FirstEdge = 0,
LastEdge = 6,
EdgeCount = 4,
FirstCorner = 1,
LastCorner = 7,
CornerCount = 4,
}
}
}
Values
| Name | Remarks |
|---|---|
| Bottom | |
| BottomRight | |
| Right | |
| TopRight | |
| Top | |
| TopLeft | |
| Left | |
| BottomLeft | |
| First | |
| Last | |
| Count | |
| FirstEdge | |
| LastEdge | |
| EdgeCount | |
| FirstCorner | |
| LastCorner | |
| CornerCount |