Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

TileLayer

One map layer with stable identity, source cells and independent painter order.

public struct TileLayer

Fields

Id

public string Id;

Stable layer identity (l_ground), used in field paths and cache keys.

Default: "".

SortingLayer

public int SortingLayer;

Sorting layer shared with sprites.

Default: 0.

Order

public int Order;

Draw order within the sorting layer.

Default: 0.

Parallax

public Vector2 Parallax;

Parallax factor per world axis.

Default: [1,1].

Tint

public Vector4 Tint;

Linear, straight-alpha tint applied to every tile, e.g. to darken backgrounds.

Default: [1,1,1,1].

Cells

public Dictionary<string, uint> Cells;

Signed x,y keys to positive tile numbers; missing cells are empty.

Default: {}.