Skip to content

TilePanelNode

Namespace: Hex1b

Assembly: Hex1b.dll

Render node for . Manages viewport math, tile fetching, POI positioning, and input bindings.

csharp
public sealed class TilePanelNode : CompositeNode, IDisposable

Inheritance

ObjectHex1bNodeCompositeNodeTilePanelNode

Implements

Properties

CameraX

Camera X position in tile coordinates.

Returns: Double

csharp
public double CameraX { get; set; }

CameraY

Camera Y position in tile coordinates.

Returns: Double

csharp
public double CameraY { get; set; }

DataSource

The tile data source.

Returns: ITileDataSource

csharp
public ITileDataSource? DataSource { get; }

PointsOfInterest

Points of interest to display on the map.

Returns: IReadOnlyList<TilePointOfInterest>

csharp
public IReadOnlyList<TilePointOfInterest> PointsOfInterest { get; }

ZoomLevel

Zoom level. 0 = 1x, 1 = 2x, 2 = 4x, etc.

Returns: Int32

csharp
public int ZoomLevel { get; set; }

Methods

Dispose()

Disposes the tile cache and cancels pending background fetches.

csharp
public void Dispose()

Released under the MIT License.