Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

TileDefinition

A tile's visual, terrain, collision and lighting definition.

public struct TileDefinition

Fields

Region

public string Region;

Stable atlas region name.

Default: "".

Size

public Vector2 Size;

Drawn size in metres around the region pivot; zero uses the cell size. Taller tiles (walls, trees) overlap their neighbors and draw back to front.

Unit: m. Range: [0, ∞]. Default: [0,0].

Terrain

public uint Terrain;

Auto-tiling terrain group; zero opts out of rules.

Default: 0.

Solid

public bool Solid;

Generate a static collider and shadow silhouette from this cell.

Default: false.

Lit

public bool Lit;

Opt into local lights and normal maps.

Default: false.