design_set_pattern_shading
Set value-based shading on a patterns:fill layer to vary opacity, density, or weight spatially using uniform, linear, radial, noise, or algorithm-driven functions.
Instructions
Set value-based shading on a patterns:fill layer. Shading varies opacity/density/weight spatially using uniform, linear, radial, noise, or algorithm-driven functions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| affects | No | What the shading modulates. Default: ["density"]. | |
| layerId | Yes | The ID of a patterns:fill layer. | |
| shading | Yes | Shading function. Examples: {"type":"uniform"}, {"type":"linear","angle":0,"range":[0.2,1.0]}, {"type":"radial","cx":0.5,"cy":0.5,"range":[0.1,1.0]}, {"type":"noise","seed":42,"scale":0.02,"range":[0.3,1.0]}, {"type":"algorithm","channel":"values","range":[0.0,1.0]} |