threejs-worldgen
    Preparing search index...

    Variable FIELD_VERTEXConst

    FIELD_VERTEX: { edge: 1; field: 4; normal: 3; position: 3; tint: 3; tram: 1 } = ...

    Vertex attributes of field geometry.

    Type Declaration

    • Readonlyedge: 1

      Distance to the field's edge, metres (headlands).

    • Readonlyfield: 4

      Row direction x, z; row spacing (m); row stripe contrast (−1 = the gravel yard).

    • Readonlynormal: 3

      Ground normal.

    • Readonlyposition: 3

      Position relative to the settlement centre.

    • Readonlytint: 3

      Field colour (linear RGB).

    • Readonlytram: 1

      Tramline spacing, metres (0 = none).