pub struct LightingEnvironment {
pub ambient: AmbientLight,
pub directional_lights: Vec<DirectionalLight>,
pub point_lights: Vec<PointLight>,
}Expand description
Aggregated scene lighting
Fields§
§ambient: AmbientLight§directional_lights: Vec<DirectionalLight>§point_lights: Vec<PointLight>Trait Implementations§
Source§impl Clone for LightingEnvironment
impl Clone for LightingEnvironment
Source§fn clone(&self) -> LightingEnvironment
fn clone(&self) -> LightingEnvironment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LightingEnvironment
impl Debug for LightingEnvironment
Auto Trait Implementations§
impl Freeze for LightingEnvironment
impl RefUnwindSafe for LightingEnvironment
impl Send for LightingEnvironment
impl Sync for LightingEnvironment
impl Unpin for LightingEnvironment
impl UnsafeUnpin for LightingEnvironment
impl UnwindSafe for LightingEnvironment
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