Struct ringl::AmbientLight [−][src]
pub struct AmbientLight { /* fields omitted */ }
Methods
impl AmbientLight
[src]
impl AmbientLight
pub fn new() -> AmbientLight
[src]
pub fn new() -> AmbientLight
pub fn diffuse(&self) -> &Rgb<f32>
[src]
pub fn diffuse(&self) -> &Rgb<f32>
pub fn specular(&self) -> &Rgb<f32>
[src]
pub fn specular(&self) -> &Rgb<f32>
pub fn strength(&self) -> f32
[src]
pub fn strength(&self) -> f32
pub fn set_diffuse<C: ToRgb>(&mut self, color: &C)
[src]
pub fn set_diffuse<C: ToRgb>(&mut self, color: &C)
pub fn set_specular<C: ToRgb>(&mut self, color: &C)
[src]
pub fn set_specular<C: ToRgb>(&mut self, color: &C)
pub fn set_strength(&mut self, strength: f32)
[src]
pub fn set_strength(&mut self, strength: f32)
Trait Implementations
impl Light for AmbientLight
[src]
impl Light for AmbientLight
Auto Trait Implementations
impl Send for AmbientLight
impl Send for AmbientLight
impl Sync for AmbientLight
impl Sync for AmbientLight