@twinfinity/core
    Preparing search index...

    Interface OverridableStyle

    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.

    interface OverridableStyle {
        color?: Point3;
        linetype?: number;
        width?: number;
    }
    Index

    Properties

    color?: Point3

    RGB in [0, 1]. Default [0, 0, 0].

    linetype?: number

    Linetype 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.

    width?: number

    Width — 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.