Optional
classThe class of the layer.
Incremental ID. Unique across all layers.
Optional
lockedWhether layer is locked in the editor. Default is false.
The layer's name.
Optional
offsetxOptional horizontal layer offset in pixels. Default is 0.
Optional
offsetyOptional vertical layer offset in pixels. Default is 0.
Layer opacity between 0 and 1.
Optional
parallaxxHorizontal parallax factor. Default is 1.
Optional
parallaxyVertical parallax factor. Default is 1.
Optional
propertiesArray of properties. Empty if not set.
Optional
tintcolorOptional tint color that is multiplied with any graphics drawn by this layer or any child layer.
The layer type.
Whether layer is shown or hidden in editor.
Horizontal layer offset in tiles. Always 0.
Vertical layer offset in tiles. Always 0.
Generated using TypeDoc
Map layer.