Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILayergroup

Hierarchy

Index

Properties

id

id: number

Incremental id - unique across all layers

layers

layers: ILayer[]

Array of layers.

name

name: string

Name assigned to this layer

Optional offsetx

offsetx: undefined | number

Horizontal layer offset in pixels. (double)

Optional offsety

offsety: undefined | number

Vertical layer offset in pixels. (double)

opacity

opacity: number

Value between 0 and 1 (double)

properties

properties: IProperty[]

A list of properties (name, value, type).

Optional startx

startx: undefined | number

X coordinate where layer content starts (for infinite maps) (int)

starty

starty: number

Y coordinate where layer content starts (for infinite maps) (int)

type

type: "group"

visible

visible: boolean

Whether layer is shown or hidden in editor

x

x: 0

Horizontal layer offset in tiles. Always 0. (int)

y

y: 0

Vertical layer offset in tiles. Always 0. (int)

Generated using TypeDoc