For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Class PatternAtlas

A texture atlas of the pattern images that are drawn without a tile's own ImageAtlas, i.e. background-pattern. Entries are packed on demand and re-packed whenever one of them is added or changes, which is rare enough for the repacking cost not to matter.

Index

Constructors

Methods

  • Returns void

  • Parameters

    • id: string

    Returns ImagePosition

    the position of the pattern within the atlas, or null if there is no such image

  • Returns { height: number; width: number }

Was this helpful?