API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classImageLayer

@codexo/exojs-tilemap / tilemap / stable

A data-only image layer: a single image (texture + resolved URL) placed as a background or foreground layer. Image layers are not rendered by the tile renderer — they are exposed as data for a renderer or follow-up scene node to consume. Parallax, opacity, tint, offset, and repeat flags are carried from the source Tiled map.

16
props
0
methods
0
events
Import
import { ImageLayer } from '@codexo/exojs-tilemap'

A data-only image layer: a single image (texture + resolved URL) placed as a background or foreground layer. Image layers are not rendered by the tile renderer — they are exposed as data for a renderer or follow-up scene node to consume.

Parallax, opacity, tint, offset, and repeat flags are carried from the source Tiled map.

Constructors 1
new(options: ImageLayerOptions): ImageLayer
Properties 16
class: string
id: number
image: string
kind: "image"
name: string
offsetX: number
offsetY: number
opacity: number
parallaxX: number
parallaxY: number
properties: TileProperties
repeatX: boolean
repeatY: boolean
texture: Texture | null
tintColor: number | null
visible: boolean
Source