Type Alias nannou::draw::mesh::vertex::Color

source ·
pub type Color = LinSrgba;

Aliased Type§

struct Color {
    pub color: Rgb<Linear<Srgb>>,
    pub alpha: f32,
}

Fields§

§color: Rgb<Linear<Srgb>>

The color.

§alpha: f32

The transparency component. 0.0 is fully transparent and 1.0 is fully opaque.