raster Color Range
When raster-color is active, specifies the range of raster values mapped onto the color ramp, from the start of the ramp (low bound) to its end (high bound). For rasterarray sources the raster value is the decoded source data in the source's own units, and the source's stated data range is used when this property is unspecified. For other raster sources the raster value is computed from the source's channels via raster-color-mix. Defaults to [0, 1] when no range is otherwise available.
Use static method RasterLayer.defaultRasterColorRange to set the default property.
Parameters
value of rasterColorRange
When raster-color is active, specifies the range of raster values mapped onto the color ramp, from the start of the ramp (low bound) to its end (high bound). For rasterarray sources the raster value is the decoded source data in the source's own units, and the source's stated data range is used when this property is unspecified. For other raster sources the raster value is computed from the source's channels via raster-color-mix. Defaults to [0, 1] when no range is otherwise available.
Use static method RasterLayer.defaultRasterColorRangeAsExpression to set the default property.
Parameters
value of rasterColorRange as Expression
When raster-color is active, specifies the range of raster values mapped onto the color ramp, from the start of the ramp (low bound) to its end (high bound). For rasterarray sources the raster value is the decoded source data in the source's own units, and the source's stated data range is used when this property is unspecified. For other raster sources the raster value is computed from the source's channels via raster-color-mix. Defaults to [0, 1] when no range is otherwise available.