pub struct BuilderParams {Show 13 fields
pub frequency: f32,
pub height_octaves: f32,
pub height_amp: f32,
pub height_gain: f32,
pub height_lacunarity: f32,
pub ridge_tiles: f32,
pub ridge_octaves: f32,
pub ridge_gain: f32,
pub ridge_lacunarity: f32,
pub ridge_strength: f32,
pub height_scale: f32,
pub fd_eps: f32,
pub water_height: f32,
}Expand description
Plain, testable noise params (the Example builders’ knobs). Defaults MUST
reproduce HeightGpu::default / TextureGpu::default so a default
builder renders like the historical HQ terrain.
Fields§
§frequency: f32§height_octaves: f32§height_amp: f32§height_gain: f32§height_lacunarity: f32§ridge_tiles: f32§ridge_octaves: f32§ridge_gain: f32§ridge_lacunarity: f32§ridge_strength: f32§height_scale: f32§fd_eps: f32§water_height: f32Trait Implementations§
Source§impl Clone for BuilderParams
impl Clone for BuilderParams
Source§fn clone(&self) -> BuilderParams
fn clone(&self) -> BuilderParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BuilderParams
impl Debug for BuilderParams
Source§impl Default for BuilderParams
impl Default for BuilderParams
Source§impl PartialEq for BuilderParams
impl PartialEq for BuilderParams
Source§fn eq(&self, other: &BuilderParams) -> bool
fn eq(&self, other: &BuilderParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BuilderParams
impl StructuralPartialEq for BuilderParams
Auto Trait Implementations§
impl Freeze for BuilderParams
impl RefUnwindSafe for BuilderParams
impl Send for BuilderParams
impl Sync for BuilderParams
impl Unpin for BuilderParams
impl UnsafeUnpin for BuilderParams
impl UnwindSafe for BuilderParams
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