Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ScalarMapper

Abstract base class for scalar mappers.

The scalar mapper offers two services:

  • Map from a scalar value (domain value) to a texture coordinate or a color
  • Create a texture from the scalar mapper that can be used for rendering and corresponds with the texture coordinates produced.

Hierarchy

  • ScalarMapper

Implemented by

Index

Methods

createTexture

mapToColor

  • Parameters

    • scalarValue: number

    Returns Color4Like

mapToTextureCoordinate

  • mapToTextureCoordinate(scalarValue: number): Vec2Like
  • Parameters

    • scalarValue: number

    Returns Vec2Like

Generated using TypeDoc