OptionalcolorRGB in [0, 1]. Default [0, 0, 0].
OptionallinetypeLinetype id (0 = continuous). Default 0. Stored in a Uint8Array, so
the valid range is 0..255; out-of-range values wrap (truncate to 8
bits) — map your linetype table into that range before passing it.
OptionalwidthWidth — pixels (renderer's screen-space mode) or world units (world-space
mode). The unit is a renderer-wide mode, not a per-segment fact, so the
field is width, not widthPx. Default 1.
The visual style fields that can be overridden — globally by the renderer (
LineRenderer.setStyleOverride) or per-source (LineSource.styleOverride). A strict subset of SegmentStyle: the visual fields, excluding the identity fields the renderer never overrides.