Enum dotrix_pbr::Light [−][src]
pub enum Light {
Ambient {
color: Color,
intensity: f32,
},
Directional {
color: Color,
direction: Vec3,
intensity: f32,
enabled: bool,
},
Simple {
color: Color,
position: Vec3,
intensity: f32,
enabled: bool,
},
Point {
color: Color,
position: Vec3,
intensity: f32,
enabled: bool,
constant: f32,
linear: f32,
quadratic: f32,
},
Spot {
color: Color,
position: Vec3,
direction: Vec3,
intensity: f32,
enabled: bool,
cut_off: f32,
outer_cut_off: f32,
},
}
Expand description
Light component of different types and settings