Trait three::light::Light

source ·
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

Change light color.

Change light intensity.

Implementors