Skip to content

TmjLayer Class

Definition

Namespace: Brine2D.Tilemap

C#
internal class TmjLayer

Inheritance System.Object → TmjLayer

Properties
Chunks Present \(non\-null\) when the map was saved in Tiled's infinite/chunk mode. Chunk data is not parsed; its presence is used to throw a clear error.
Compression Tiled layer compression when encoding is base64: "zlib", "gzip", "zstd", or absent for none.
Data Raw JSON element so we can handle both CSV \(array\) and base64 \(string\) encodings.
Encoding Tiled layer encoding: "csv" \(default\) or "base64".
Image Image path for imagelayer type layers.
Layers Child layers when this layer is a group \(type == "group"\).