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

Public Member Functions

CameraGrid2D Init (Camera camera)
 
Grid2D IsInGrid (Vector2Int grid2DIndex, Vector2Int grid2DDimensions)
 
virtual void IterateOverIndexes (Action< IGrid2D, GeoCoordinate2Double, Vector2Int, Vector2Int > callback)
 
bool UpdateCameraGridProperties (bool enabled, GeoAstroObject parentGeoAstroObject, Vector3Double center, Camera camera, uint minPersistentZoom, Vector2Int cascades, Vector2Int minMaxZoom, float sizeMultiplier, float xyTilesRatio)
 
bool UpdateGrid ()
 
Grid2D IsInGrid (Vector2Int grid2DIndex, Vector2Int grid2DDimensions)
 
void IterateOverIndexes (Action< IGrid2D, GeoCoordinate2Double, Vector2Int, Vector2Int > callback)
 
bool UpdateGrid ()
 

Properties

bool wasFirstUpdated [get]
 
GeoCoordinate2Double geoCenter [get]
 
Camera camera [get]
 
- Properties inherited from DepictionEngine.IGrid2D
GeoCoordinate2Double geoCenter [get]
 
- Properties inherited from DepictionEngine.IGrid
bool wasFirstUpdated [get]
 

Member Function Documentation

◆ IsInGrid()

Grid2D DepictionEngine.CameraGrid2D.IsInGrid ( Vector2Int  grid2DIndex,
Vector2Int  grid2DDimensions 
)

◆ IterateOverIndexes()

virtual void DepictionEngine.CameraGrid2D.IterateOverIndexes ( Action< IGrid2D, GeoCoordinate2Double, Vector2Int, Vector2Int >  callback)
virtual

◆ UpdateGrid()

bool DepictionEngine.CameraGrid2D.UpdateGrid ( )

Implements DepictionEngine.IGrid.

Property Documentation

◆ geoCenter

GeoCoordinate2Double DepictionEngine.CameraGrid2D.geoCenter
get

◆ wasFirstUpdated

bool DepictionEngine.CameraGrid2D.wasFirstUpdated
get

Implements DepictionEngine.IGrid.


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