Class ColorMapContainer

A mapping from scalar values to colors.

Hierarchy

  • ColorMapContainer

Constructors

Methods

Constructors

Methods

  • Find the color in this map closest to the input scalar.

    The input value should be between 0 and 1. Zero maps to the first color in the list; one to the last. Intermediate values map linearly. Out-of-bounds values are clamped.

    Parameters

    • value: number

    Returns Color

Generated using TypeDoc