Depiction Engine For Unity 2023.0 (Alpha)
Loading...
Searching...
No Matches
DepictionEngine.Grid2DIndex Struct Reference

An xy index along with xy(horizontal, vertical) grid dimension. More...

Public Member Functions

 Grid2DIndex (Vector2Int index, Vector2Int dimensions)
 
override bool Equals (object obj)
 
bool Equals (Grid2DIndex grid2DIndex)
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static bool operator== (Grid2DIndex index, Grid2DIndex otherIndex)
 
static bool operator!= (Grid2DIndex index, Grid2DIndex otherIndex)
 

Public Attributes

Vector2Int index
 
Vector2Int dimensions
 

Static Public Attributes

static readonly Grid2DIndex Empty = new Grid2DIndex(new Vector2Int(-1, -1), Vector2Int.zero)
 

Detailed Description

An xy index along with xy(horizontal, vertical) grid dimension.


The documentation for this struct was generated from the following file: