Skip to content

Interface: LayeredPrismGeometry

Single-prism output bundle. The geometry is a non-indexed BufferGeometry containing the tile's prism, the range describes the vertex span (always starts at 0 for a single prism, but the type is kept so the merged-mesh builder can cache it directly).

Attributes set on the geometry:

  • position (vec3) — world-space vertex positions.
  • normal (vec3) — face normals (outward for top + walls, inward for bottom).
  • aSolHeight (float) — sol band height used to build this tile, broadcast to every vertex so the sol shader can derive a normalised height.

Properties

geometry

ts
geometry: BufferGeometry;

range

ts
range: PrismRange;

Distribué sous la licence indiquée dans le dépôt.