# ScalarMapperContinuousDomain

class `cee.``ScalarMapperContinuousDomain`()

  Base class for scalar mappers that implement normalizedValue / domainValue

Constructors

- `constructor`

Accessors

- `aboveRangeColor`
- `belowRangeColor`
- `undefinedColor`

Methods

- `createTexture`
- `domainValue`
- `mapToColor`
- `mapToTextureCoordinate`
- `normalizedValue`
- `tickValuesHint`
- `version`

## Constructors

`ScalarMapperContinuousDomain.``constructor`()

  Return type: | ScalarMapperContinuousDomain

## Accessors

`ScalarMapperContinuousDomain.``aboveRangeColor`()

  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.

  Return type: | Color4Like

`ScalarMapperContinuousDomain.``aboveRangeColor`(color)

  Arguments: | color (`Color4Like`) – None
  Return type: | void

`ScalarMapperContinuousDomain.``belowRangeColor`()

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

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

  Return type: | Color4Like

`ScalarMapperContinuousDomain.``belowRangeColor`(color)

  Arguments: | color (`Color4Like`) – None
  Return type: | void

`ScalarMapperContinuousDomain.``undefinedColor`()

  The color used for undefined values.

  Return type: | Color4Like

`ScalarMapperContinuousDomain.``undefinedColor`(color)

  Arguments: | color (`Color4Like`) – None
  Return type: | void

## Methods

### createTexture

`ScalarMapperContinuousDomain.``createTexture`()

  Return type: | Texture

### domainValue

`ScalarMapperContinuousDomain.``domainValue`(normalizedPosition)

  Arguments: | normalizedPosition (`number`) – None
  Return type: | number

### mapToColor

`ScalarMapperContinuousDomain.``mapToColor`(scalarValue)

  Arguments: | scalarValue (`number`) – None
  Return type: | Color4Like

### mapToTextureCoordinate

`ScalarMapperContinuousDomain.``mapToTextureCoordinate`(scalarValue)

  Arguments: | scalarValue (`number`) – None
  Return type: | Vec2Like

### normalizedValue

`ScalarMapperContinuousDomain.``normalizedValue`(domainValue)

  Arguments: | domainValue (`number`) – None
  Return type: | number

### tickValuesHint

`ScalarMapperContinuousDomain.``tickValuesHint`()

  Return type: | ArrayLike <number>

### version

`ScalarMapperContinuousDomain.``version`()

  Return type: | number

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Web in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...