Struct dotrix_terrain::Generator [−][src]
pub struct Generator {
pub amplitude: f32,
pub size: usize,
pub noise_map: Option<Vec<f32>>,
pub falloff_map: Option<Vec<f32>>,
}
Expand description
Terrain heights generator from Pelin noise
Fields
amplitude: f32
Amplitude of the heights generation
size: usize
Size of the heightmap
noise_map: Option<Vec<f32>>
Noisemap values
falloff_map: Option<Vec<f32>>
Falloff values
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Generator
impl UnwindSafe for Generator
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more