pub trait Light: Object {
fn set_color(&self, color: Color) { ... }
fn set_intensity(&self, intensity: f32) { ... }
}
Expand description
Marks light sources and implements their common methods.
Provided Methods
sourcefn set_intensity(&self, intensity: f32)
fn set_intensity(&self, intensity: f32)
Change light intensity.