Optional
classThe class of the layer.
Incremental ID. Unique across all layers.
Image used by this layer.
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
repeatxWhether the image drawn by this layer is repeated along the X axis. Default is false.
Optional
repeatyWhether the image drawn by this layer is repeated along the Y axis. Default is false.
Optional
tintcolorOptional tint color that is multiplied with any graphics drawn by this layer or any child layer.
Optional
transparentcolorOptional transparent color.
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
Image layer.