Interface: FillData
Experimental
Data for FillPrimitive.
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
color | ColorInput | Experimental Per-polygon color (sRGB 0–1 RGBA, straight alpha): one tuple or 4 floats per polygon. | - |
fillRule? | FillRule | Experimental Default 'simple'. | FillGeometryInput.fillRule |
opacity? | number | Experimental Multiplies every polygon's alpha (uniform: changing it uploads nothing). Default 1. | - |
paint? | FillPaint | Experimental Paint style; defaults to { kind: 'solid' }. See FillPaint. | - |
polygons? | ArrayLike<number> | Experimental First ring index of each polygon, ascending. Omitted: every ring is its own polygon. | FillGeometryInput.polygons |
rings? | ArrayLike<number> | Experimental Start vertex of each ring, ascending. Omitted: all vertices form a single ring. | FillGeometryInput.rings |
x | NumericArray | Experimental | FillGeometryInput.x |
y | NumericArray | Experimental | FillGeometryInput.y |
z? | NumericArray | Experimental Optional z for 3D fills (world-space positions; each polygon should be planar). | FillGeometryInput.z |