radiusMap property
๐ radiusMap Map
s one or more ๐ SurfaceLayer
s 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 ๐ radiusMapdouble
s>=
๐ง_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;