API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classImageLayer
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.
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.
new(options: ImageLayerOptions): ImageLayer 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