pub struct AmbientLight {
pub sky_color: Vec3,
pub ground_color: Vec3,
pub intensity: f32,
}Fields§
§sky_color: Vec3Sky hemisphere color (top).
ground_color: Vec3Ground hemisphere color (bottom).
intensity: f32Implementations§
Trait Implementations§
Source§impl Clone for AmbientLight
impl Clone for AmbientLight
Source§fn clone(&self) -> AmbientLight
fn clone(&self) -> AmbientLight
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AmbientLight
impl Debug for AmbientLight
Auto Trait Implementations§
impl Freeze for AmbientLight
impl RefUnwindSafe for AmbientLight
impl Send for AmbientLight
impl Sync for AmbientLight
impl Unpin for AmbientLight
impl UnsafeUnpin for AmbientLight
impl UnwindSafe for AmbientLight
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more