Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ScalarMapperContinuousDomain

Base class for scalar mappers that implement normalizedValue / domainValue

Hierarchy

Implements

Index

Accessors

aboveRangeColor

aboveRangeColor: Color4Like

The color to assign values that are above the given range.

Default is undefined, which indicates that the last color in the color array will be used.

belowRangeColor

belowRangeColor: Color4Like

The color to assign values that are below the given range.

Default is undefined, which indicates that the first color in the color array will be used.

undefinedColor

undefinedColor: Color4Like

The color used for undefined values.

Default is undefined, which indicates that the last color in the color array will be used.

Methods

Abstract createTexture

Abstract domainValue

  • domainValue(normalizedPosition: number): number
  • Parameters

    • normalizedPosition: number

    Returns number

Abstract mapToColor

  • Parameters

    • scalarValue: number

    Returns Color4Like

Abstract mapToTextureCoordinate

  • mapToTextureCoordinate(scalarValue: number): Vec2Like
  • Parameters

    • scalarValue: number

    Returns Vec2Like

Abstract normalizedValue

  • normalizedValue(domainValue: number): number
  • Parameters

    • domainValue: number

    Returns number

Abstract tickValuesHint

  • tickValuesHint(): ArrayLike<number>
  • Returns ArrayLike<number>

Abstract version

  • version(): number
  • Returns number

Generated using TypeDoc