Skip to content

TilemapComponentData

Defined in: tilemap/src/TilemapComponent.ts:56

Serializable snapshot of a TilemapComponent.

  • VisualComponentData

optional alpha?: number

Defined in: renderer/dist/index.d.ts:138

VisualComponentData.alpha


optional blendMode?: BLEND_MODES

Defined in: renderer/dist/index.d.ts:141

Omitted while the object blends normally, which is the common case.

VisualComponentData.blendMode


optional effects?: EffectStackSnapshot

Defined in: renderer/dist/index.d.ts:148

VisualComponentData.effects


optional interactive?: VisualInteractiveOptions

Defined in: renderer/dist/index.d.ts:147

See VisualComponentOptions.interactive — persisted so restored scenes keep eventMode and the consumeOnInteraction mark on the rebuilt container.

VisualComponentData.interactive


optional keyPrefix?: string

Defined in: tilemap/src/TilemapComponent.ts:59


layer: string

Defined in: renderer/dist/index.d.ts:136

VisualComponentData.layer


optional layers?: string[]

Defined in: tilemap/src/TilemapComponent.ts:58


mapKey: string

Defined in: tilemap/src/TilemapComponent.ts:57


optional mask?: MaskSnapshot

Defined in: renderer/dist/index.d.ts:149

VisualComponentData.mask


optional tint?: ColorSource

Defined in: renderer/dist/index.d.ts:137

VisualComponentData.tint


optional visible?: boolean

Defined in: renderer/dist/index.d.ts:139

VisualComponentData.visible