pub struct Lit {
pub normal_map: Option<Map>,
pub specular_map: Option<Map>,
pub glossiness: f32,
pub specularity: f32,
pub shadow: f32,
}Expand description
How a lit particle is shaded.
Fields§
§normal_map: Option<Map>§specular_map: Option<Map>§glossiness: f32§specularity: f32§shadow: f32Whether the particle takes shadows (0 none to 1 full darkness).
Trait Implementations§
impl StructuralPartialEq for Lit
Auto Trait Implementations§
impl Forget for Lit
impl Freeze for Lit
impl RefUnwindSafe for Lit
impl Send for Lit
impl Sync for Lit
impl Unpin for Lit
impl UnsafeUnpin for Lit
impl UnwindSafe for Lit
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