Class VLines

Renders clean vertical lines. Line widths are rounded to the nearest pixel (with a minimum of 1) so that the lines never appear blurry. This is useful when rendering items like orthographic axes; without this approach, axis lines or tick marks can consume different numbers of pixels and result in an inconsistent appearance.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

colors: Dataset
lines: Dataset
segmentGeometry: Buffer
widths: Dataset

Methods

  • Releases all GPU resources and renders this instance unusable.

    Returns void

Generated using TypeDoc