[−][src]Trait worldgen::noisemap::NoiseMapGenerator
This trait contains functions used for initially creating and combining noisemaps.
(The Mul
requirement is used for scaling a noisemap)
Required methods
fn set<P: Property>(self, property: P) -> Self where
Self: Sized,
Self: Sized,
Set a property on the noise map.
fn set_size(self, size: Size) -> Self where
Self: Sized,
Self: Sized,
These individual set functions are called by the relevant properties, and while can be called manually, it is nicer to use the generic set function.
fn set_seed(self, seed: Seed) -> Self where
Self: Sized,
Self: Sized,
fn set_step(self, step: Step) -> Self where
Self: Sized,
Self: Sized,
fn get_size(&self) -> Size where
Self: Sized,
Self: Sized,
Returns the size of the noise map.