Skip to main content

Interface: SurfaceLoop

Defined in: packages/sdvplot/src/three/surface.ts:6

One closed loop of surfaceMesh: where its vertices and triangles sit in the mesh buffers.

Properties​

color​

color: string

Defined in: packages/sdvplot/src/three/surface.ts:10

The feature's sporty fill, #rrggbb or #rrggbbaa, as sporty gives it.


indexCount​

indexCount: number

Defined in: packages/sdvplot/src/three/surface.ts:16


indexStart​

indexStart: number

Defined in: packages/sdvplot/src/three/surface.ts:15

Its first index and number of indices (three per triangle).


name​

name: string

Defined in: packages/sdvplot/src/three/surface.ts:8

The sporty feature it comes from (e.g. "infield_dirt"), or "background" for the surface's own background.


vertexCount​

vertexCount: number

Defined in: packages/sdvplot/src/three/surface.ts:13


vertexStart​

vertexStart: number

Defined in: packages/sdvplot/src/three/surface.ts:12

Its first vertex and number of vertices.