pub struct NormalMapWave {
pub direction: Vec2,
pub frequency: f32,
pub amplitude: f32,
pub speed: f32,
}Expand description
A single wave contribution to the normal map.
Fields§
§direction: Vec2§frequency: f32§amplitude: f32§speed: f32Implementations§
Trait Implementations§
Source§impl Clone for NormalMapWave
impl Clone for NormalMapWave
Source§fn clone(&self) -> NormalMapWave
fn clone(&self) -> NormalMapWave
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 moreSource§impl Debug for NormalMapWave
impl Debug for NormalMapWave
impl Copy for NormalMapWave
Auto Trait Implementations§
impl Freeze for NormalMapWave
impl RefUnwindSafe for NormalMapWave
impl Send for NormalMapWave
impl Sync for NormalMapWave
impl Unpin for NormalMapWave
impl UnsafeUnpin for NormalMapWave
impl UnwindSafe for NormalMapWave
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