Configures the appearance of "lines" geometry primitives.

Properties

view: View

The View to which this LinesMaterial belongs.

Accessors

  • get linePattern(): number[] | model.scene.LineStyle

    Gets the View-level line-pattern style. Returns the originally-set preset name or number[] value — not the normalised internal form. Default is "solid".

    Returns number[] | model.scene.LineStyle

  • set linePattern(value: number[] | model.scene.LineStyle): void

    Sets the View-level line-pattern (dash / gap) style. Accepts either a named preset from LineStyle or a custom [dash, gap, dash, gap, …] array (up to 8 entries, units of line-width). Setting "solid" or an empty array clears the pattern.

    Per-material linePattern on SceneMaterial overrides this view-level value for any mesh that carries the material — so engineering drawings can mix conventions (hidden / centre / phantom) inside a single view.

    Pattern entries are expressed in line-width units — a "dashed" line at lineWidth = 1 and at lineWidth = 8 have identical proportions, just scaled.

    Parameters

    Returns void