pub enum BrushMode {
Raise,
Lower,
Smooth,
Flatten,
}Expand description
How a brush stroke changes the heights inside its radius.
Variants§
Raise
Push heights up along +Y (hills, mountains).
Lower
Pull heights down along -Y (trenches, river beds).
Smooth
Pull heights towards the disk average (smoothing).
Flatten
Move heights towards a fixed target plane (terraces, plateaus). The target is the Y of the brush center.
Implementations§
Trait Implementations§
impl Copy for BrushMode
impl Eq for BrushMode
impl StructuralPartialEq for BrushMode
Auto Trait Implementations§
impl Freeze for BrushMode
impl RefUnwindSafe for BrushMode
impl Send for BrushMode
impl Sync for BrushMode
impl Unpin for BrushMode
impl UnsafeUnpin for BrushMode
impl UnwindSafe for BrushMode
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