Function egui::widgets::color_picker::rgba_edit_ui
source · fn rgba_edit_ui(ui: &mut Ui, [r, g, b, a]: &mut [f32; 4], alpha: Alpha) -> bool
Expand description
Shows 4 DragValue
widgets to be used to edit the RGBA f32 values.
Alpha’s DragValue
is hidden when Alpha::Opaque
.
Returns true
on change.