Skip to content

buildTexturedHexMesh

buildTexturedHexMesh(options): Mesh

Defined in: packages/declarative-hex-worlds/src/three/textured-hex.ts:182

Build a textured Mesh for a tileset-cell render request. Defaults to a full quad (shape: 'quad') — the seamless path for transparent-corner painterly hex atlases; shape: 'hex' clips to a hexagon for opaque edge-to-edge cells. Sampled with a MeshBasicMaterial over the cell. The caller owns the returned mesh’s lifecycle (position it on the board, add to the scene, dispose on removal).

TexturedHexMeshOptions

Mesh