Skip to main content

ALPHA_EXTENSION

Constant ALPHA_EXTENSION 

Source
pub const ALPHA_EXTENSION: &str = "org.egui-pop.alpha";
Expand description

The $extensions key of the alpha modifier: on a colour token, a number from 0 to 1 the colour’s alpha is multiplied by, after its alias is followed ({"$value": "{surface.overlay}", "$extensions": {"org.egui-pop.alpha": 0.85}}, the overlay at 85 %). Every modifier met along a chain of aliases applies.