Skip to content
pyautark (soon)

@urban-toolkit/autk-core


@urban-toolkit/autk-core / LayerGeometry

Interface: LayerGeometry

Defined in: types-mesh.ts:18

Triangulated vertex buffers for one renderable geometry piece.

The buffers are emitted in the same vertex order expected by renderers. Optional arrays are present only when the triangulation pipeline produces them for the target material or pass.

Properties

featureIndex?

optional featureIndex?: number

Defined in: types-mesh.ts:28

Optional source feature index associated with this geometry chunk.


indices?

optional indices?: Uint32Array<ArrayBufferLike>

Defined in: types-mesh.ts:24

Optional triangle index buffer referencing vertices in position.


normal?

optional normal?: Float32Array<ArrayBufferLike>

Defined in: types-mesh.ts:22

Optional vertex normal buffer aligned with position.


position

position: Float32Array

Defined in: types-mesh.ts:20

Flat vertex position buffer packed sequentially per vertex.


texCoord?

optional texCoord?: Float32Array<ArrayBufferLike>

Defined in: types-mesh.ts:26

Optional texture-coordinate buffer aligned with position.

Released under the MIT License.