bevel? | number | Width of the curved rim that refracts, in local units, at least 1. Default 22. | glass/options.ts:20 |
blur? | number | Backdrop blur radius in local units, at least 0. Default 18. | glass/options.ts:14 |
dispersion? | number | Colour split at the rim, 0 to 1. Default 0.35. | glass/options.ts:18 |
frost? | number | Milky whitening, 0 to 1. Default 0.06. | glass/options.ts:22 |
grain? | number | Film grain amount, at least 0. Default 0.035. | glass/options.ts:36 |
light? | number | Strength of the sheen and the lit rim, at least 0. Default 0.8. | glass/options.ts:34 |
lightAngle? | number | Direction the light comes from, in radians. 0 is right, -PI/2 is top. Default -3PI/4 (top left). | glass/options.ts:32 |
opacity? | number | Opacity of the glass and its shadow, 0 to 1. Default 1. | glass/options.ts:30 |
radius? | number | Corner radius in local units, at least 0. Default 28. | glass/options.ts:10 |
refraction? | number | How far the rim shifts what is behind it, in local units. Negative bends the other way. Default 14. | glass/options.ts:16 |
saturation? | number | Saturation of what shows through, at least 0. 1 keeps it, 0 is grey, above 1 is more vivid. Default 1.2. | glass/options.ts:24 |
shadow? | number | Opacity of the soft drop shadow under the pane, 0 to 1. 0 turns it off. Default 0.3. | glass/options.ts:38 |
smoothing? | number | Squircle smoothing of the corners, 0 (circular arcs) to 1. Default 0.6. | glass/options.ts:12 |
tint? | ColorSource | Tint colour, any Pixi colour source. Default white. | glass/options.ts:26 |
tintAmount? | number | How much tint to mix in, 0 to 1. Default 0.04. | glass/options.ts:28 |