rasterParticleColor

open override fun rasterParticleColor(rasterParticleColor: Expression): RasterParticleLayer

Defines a color map by which to colorize a raster particle layer, parameterized by the ["raster-particle-speed"] expression and evaluated at 256 uniformly spaced steps over the range specified by raster-particle-max-speed.

Use static method RasterParticleLayer.defaultRasterParticleColor to set the default property.

Parameters

rasterParticleColor

value of rasterParticleColor


Defines a color map by which to colorize a raster particle layer, parameterized by the ["raster-particle-speed"] expression and evaluated at 256 uniformly spaced steps over the range specified by raster-particle-max-speed.