ScalarMapperContinuousDomain
-
class
cee.
ScalarMapperContinuousDomain
() Base class for scalar mappers that implement normalizedValue / domainValue
Constructors
Accessors
Methods
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
- color (
-
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
- color (
-
ScalarMapperContinuousDomain.
undefinedColor
() The color used for undefined values.
Return type: Color4Like
-
ScalarMapperContinuousDomain.
undefinedColor
(color) Arguments: - color (
Color4Like
) – None
Return type: void
- color (
Methods
domainValue
-
ScalarMapperContinuousDomain.
domainValue
(normalizedPosition) Arguments: - normalizedPosition (
number
) – None
Return type: number
- normalizedPosition (
mapToColor
-
ScalarMapperContinuousDomain.
mapToColor
(scalarValue) Arguments: - scalarValue (
number
) – None
Return type: Color4Like
- scalarValue (
mapToTextureCoordinate
-
ScalarMapperContinuousDomain.
mapToTextureCoordinate
(scalarValue) Arguments: - scalarValue (
number
) – None
Return type: Vec2Like
- scalarValue (