pub enum AtmosphereKind {
Fog {
gradient: [f64; 2],
},
Dust {
radius: f64,
coverage: f64,
},
LightLeak {
center: [f64; 2],
extent: [f64; 2],
},
}Expand description
Spatial envelope applied to amplitude-normalized Perlin fractal noise.
Variants§
Fog
Top-to-bottom density multipliers, each in 0..=8.
Dust
Sparse soft discs with one possible mote per noise cell.
Fields
LightLeak
Elliptical edge-light envelope.
Trait Implementations§
Source§impl Clone for AtmosphereKind
impl Clone for AtmosphereKind
impl Copy for AtmosphereKind
Source§impl Debug for AtmosphereKind
impl Debug for AtmosphereKind
Source§impl PartialEq for AtmosphereKind
impl PartialEq for AtmosphereKind
impl StructuralPartialEq for AtmosphereKind
Auto Trait Implementations§
impl Forget for AtmosphereKind
impl Freeze for AtmosphereKind
impl Move for AtmosphereKind
impl RefUnwindSafe for AtmosphereKind
impl Send for AtmosphereKind
impl Sync for AtmosphereKind
impl Unpin for AtmosphereKind
impl UnsafeUnpin for AtmosphereKind
impl UnwindSafe for AtmosphereKind
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