
############################
ScalarMapperContinuousDomain
############################

.. js:class:: cee.ScalarMapperContinuousDomain

   Base class for scalar mappers that implement normalizedValue / domainValue
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~cee.ScalarMapperContinuousDomain.constructor`
   
   .. rubric:: Accessors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~cee.ScalarMapperContinuousDomain.aboveRangeColor`
   * :js:func:`~cee.ScalarMapperContinuousDomain.belowRangeColor`
   * :js:func:`~cee.ScalarMapperContinuousDomain.undefinedColor`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~cee.ScalarMapperContinuousDomain.createTexture`
   * :js:meth:`~cee.ScalarMapperContinuousDomain.domainValue`
   * :js:meth:`~cee.ScalarMapperContinuousDomain.mapToColor`
   * :js:meth:`~cee.ScalarMapperContinuousDomain.mapToTextureCoordinate`
   * :js:meth:`~cee.ScalarMapperContinuousDomain.normalizedValue`
   * :js:meth:`~cee.ScalarMapperContinuousDomain.tickValuesHint`
   * :js:meth:`~cee.ScalarMapperContinuousDomain.version`
   
   



.. rst-class:: kind-group kind-constructors

.. rubric:: Constructors
   :class: kind-group-title


.. js:method:: cee.ScalarMapperContinuousDomain.constructor

      .. rst-class:: sig-pretty-signature
      
         | ScalarMapperContinuousDomain(): :js:class:`ScalarMapperContinuousDomain <cee.ScalarMapperContinuousDomain>`
      
      **Returns**\ : :js:class:`ScalarMapperContinuousDomain <cee.ScalarMapperContinuousDomain>`
      



.. rst-class:: kind-group kind-accessors

.. rubric:: Accessors
   :class: kind-group-title


.. js:method:: cee.ScalarMapperContinuousDomain.aboveRangeColor

      .. rst-class:: sig-pretty-signature
      
         | *get* aboveRangeColor(): :js:class:`Color4Like <cee.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.
      
      **Returns**\ : :js:class:`Color4Like <cee.Color4Like>`
      
      .. rst-class:: sig-pretty-signature
      
         | *set* aboveRangeColor(**color**\ : :js:class:`Color4Like <cee.Color4Like>`\ ): *void*
      
      **Parameters**
      
      
         **color**\ : :js:class:`Color4Like <cee.Color4Like>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ScalarMapperContinuousDomain.belowRangeColor

      .. rst-class:: sig-pretty-signature
      
         | *get* belowRangeColor(): :js:class:`Color4Like <cee.Color4Like>`
      
      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.
      
      **Returns**\ : :js:class:`Color4Like <cee.Color4Like>`
      
      .. rst-class:: sig-pretty-signature
      
         | *set* belowRangeColor(**color**\ : :js:class:`Color4Like <cee.Color4Like>`\ ): *void*
      
      **Parameters**
      
      
         **color**\ : :js:class:`Color4Like <cee.Color4Like>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ScalarMapperContinuousDomain.undefinedColor

      .. rst-class:: sig-pretty-signature
      
         | *get* undefinedColor(): :js:class:`Color4Like <cee.Color4Like>`
      
      The color used for undefined values.
      
      **Returns**\ : :js:class:`Color4Like <cee.Color4Like>`
      
      .. rst-class:: sig-pretty-signature
      
         | *set* undefinedColor(**color**\ : :js:class:`Color4Like <cee.Color4Like>`\ ): *void*
      
      **Parameters**
      
      
         **color**\ : :js:class:`Color4Like <cee.Color4Like>`
      
      
      **Returns**\ : *void*
      



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


.. js:method:: cee.ScalarMapperContinuousDomain.createTexture

      .. rst-class:: sig-pretty-signature
      
         | createTexture(): :js:class:`Texture <cee.Texture>`
      
      **Returns**\ : :js:class:`Texture <cee.Texture>`
      



.. js:method:: cee.ScalarMapperContinuousDomain.domainValue

      .. rst-class:: sig-pretty-signature
      
         | domainValue(**normalizedPosition**\ : *number*\ ): *number*
      
      **Parameters**
      
      
         **normalizedPosition**\ : *number*
      
      
      **Returns**\ : *number*
      



.. js:method:: cee.ScalarMapperContinuousDomain.mapToColor

      .. rst-class:: sig-pretty-signature
      
         | mapToColor(**scalarValue**\ : *number*\ ): :js:class:`Color4Like <cee.Color4Like>`
      
      **Parameters**
      
      
         **scalarValue**\ : *number*
      
      
      **Returns**\ : :js:class:`Color4Like <cee.Color4Like>`
      



.. js:method:: cee.ScalarMapperContinuousDomain.mapToTextureCoordinate

      .. rst-class:: sig-pretty-signature
      
         | mapToTextureCoordinate(**scalarValue**\ : *number*\ ): :js:class:`Vec2Like <cee.Vec2Like>`
      
      **Parameters**
      
      
         **scalarValue**\ : *number*
      
      
      **Returns**\ : :js:class:`Vec2Like <cee.Vec2Like>`
      



.. js:method:: cee.ScalarMapperContinuousDomain.normalizedValue

      .. rst-class:: sig-pretty-signature
      
         | normalizedValue(**domainValue**\ : *number*\ ): *number*
      
      **Parameters**
      
      
         **domainValue**\ : *number*
      
      
      **Returns**\ : *number*
      



.. js:method:: cee.ScalarMapperContinuousDomain.tickValuesHint

      .. rst-class:: sig-pretty-signature
      
         | tickValuesHint(): *ArrayLike*
      
      **Returns**\ : *ArrayLike*
      



.. js:method:: cee.ScalarMapperContinuousDomain.version

      .. rst-class:: sig-pretty-signature
      
         | version(): *number*
      
      **Returns**\ : *number*
      




