pub struct SunShadow {
pub center: Vec3,
pub direction: Vec3,
pub extent: f32,
pub depth: f32,
pub bias: f32,
pub normal_bias: f32,
pub strength: f32,
}Fields§
§center: Vec3§direction: Vec3§extent: f32§depth: f32§bias: f32§normal_bias: f32§strength: f32Implementations§
Trait Implementations§
impl Copy for SunShadow
Auto Trait Implementations§
impl Freeze for SunShadow
impl RefUnwindSafe for SunShadow
impl Send for SunShadow
impl Sync for SunShadow
impl Unpin for SunShadow
impl UnwindSafe for SunShadow
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