radiusMap property

Map<SurfaceLayer, double>? radiusMap
final

๐Ÿ“Š radiusMap Maps one or more ๐Ÿ“š SurfaceLayers to a double that determines the ๐Ÿคนโ€โ™‚๏ธ SurfaceFX radius for that layer's ๐Ÿคนโ€โ™‚๏ธ effect.

All three radii to ๐Ÿ’ง _BLUR == 0.0003 so that upper-layered filters are not erased by an ancestor filter having 0 radius.

  • If ๐Ÿ‘“ filteredLayers is set to enable all three ๐Ÿ“š SurfaceLayer filters, initialize all three ๐Ÿ“Š radiusMap doubles >= ๐Ÿ’ง _BLUR_MINIMUM `== 0.
  • Similarly, if only two filters are enabled, the lower-Z filter (lowest-Z value: SurfaceLayer.BASE) must be above zero to not negate any value passed to the higher-Z filter (highest-Z value: SurfaceLayer.CHILD).

โ— See CAUTION in Surface doc for more.

Implementation

final Map<SurfaceLayer, double>? radiusMap;