Depiction Engine For Unity 2023.0 (Alpha)
Loading...
Searching...
No Matches
DepictionEngine.FillGrid2D Class Reference

Public Member Functions

FillGrid2D Init (int zoom)
 
- Public Member Functions inherited from DepictionEngine.Grid2D
void Init (CameraGrid2D cameraGrid2D)
 
Grid2D IsInGrid (Vector2Int grid2DIndex, Vector2Int grid2DDimensions)
 
bool UpdateGridFields (Vector2Int gridDimensions, GeoCoordinate2Double geoCenter, bool updateDerivedProperties=true)
 
override bool UpdateGrid ()
 
void IterateOverIndexes (Action< IGrid2D, GeoCoordinate2Double, Vector2Int, Vector2Int > callback)
 
override void Clear ()
 
- Public Member Functions inherited from DepictionEngine.GridBase
virtual GridBase Init ()
 
bool SetEnabled (bool value)
 
virtual bool UpdateGrid ()
 
virtual void Clear ()
 
bool UpdateGrid ()
 
Grid2D IsInGrid (Vector2Int grid2DIndex, Vector2Int grid2DDimensions)
 
void IterateOverIndexes (Action< IGrid2D, GeoCoordinate2Double, Vector2Int, Vector2Int > callback)
 

Public Attributes

int zoom
 

Protected Member Functions

override bool UpdateGrid (Vector2Int gridDimensions)
 
- Protected Member Functions inherited from DepictionEngine.Grid2D
Row CreateRow (int y, int start, int end)
 
Row CreateRow (int y)
 
void SetRowStaticProperties ()
 
int GetRowCount ()
 
Row GetRow (int y, Vector2Int gridDimensions)
 
void AddRow (int y, Row value)
 
void IterateOverRows (Action< Row > callback)
 
virtual bool UpdateGrid (Vector2Int gridDimensions)
 
override bool UpdateDerivedProperties ()
 
virtual bool UpdateDerivedProperties ()
 

Additional Inherited Members

- Protected Attributes inherited from DepictionEngine.Grid2D
Vector2Double _centerIndex
 
Vector2Int _centerIndexInt
 
GeoCoordinate2Double _geoCenter
 
- Static Protected Attributes inherited from DepictionEngine.Grid2D
static readonly double MIN_SIZE = 0.00000001d
 
- Properties inherited from DepictionEngine.Grid2D
int rowCount [get]
 
Vector2Double centerIndex [get]
 
Vector2Int grid2DDimensions [get]
 
GeoCoordinate2Double geoCenter [get]
 
CameraGrid2D cameraGrid2D [get]
 
- Properties inherited from DepictionEngine.GridBase
int cascade [get, set]
 
bool enabled [get]
 
bool wasFirstUpdated [get]
 
- Properties inherited from DepictionEngine.IGrid
bool wasFirstUpdated [get]
 
- Properties inherited from DepictionEngine.IGrid2D
GeoCoordinate2Double geoCenter [get]
 

Member Function Documentation

◆ UpdateGrid()

override bool DepictionEngine.FillGrid2D.UpdateGrid ( Vector2Int  gridDimensions)
protectedvirtual

Reimplemented from DepictionEngine.Grid2D.


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