pub struct LightProperties {
pub ambient: Color,
pub diffuse: Color,
pub specular: Color,
pub soft_volume: Option<Uoid>,
}Expand description
Parsed light properties common to all light types.
Fields§
§ambient: Color§diffuse: Color§specular: Color§soft_volume: Option<Uoid>Trait Implementations§
Source§impl Clone for LightProperties
impl Clone for LightProperties
Source§fn clone(&self) -> LightProperties
fn clone(&self) -> LightProperties
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 moreAuto Trait Implementations§
impl Freeze for LightProperties
impl RefUnwindSafe for LightProperties
impl Send for LightProperties
impl Sync for LightProperties
impl Unpin for LightProperties
impl UnsafeUnpin for LightProperties
impl UnwindSafe for LightProperties
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