Struct noise::Cylinders
[−]
[src]
pub struct Cylinders<T: Float> { pub frequency: T, }
Noise module that outputs concentric cylinders.
This noise module outputs concentric cylinders centered on the origin. The cylinders are oriented along the z axis similar to the concentric rings of a tree. Each cylinder extends infinitely along the z axis.
Fields
frequency: T
Frequency of the concentric objects.
Methods
impl<T: Float> Cylinders<T>
[src]
fn new() -> Cylinders<T>
fn set_frequency(self, frequency: T) -> Cylinders<T>
Trait Implementations
impl<T: Clone + Float> Clone for Cylinders<T>
[src]
fn clone(&self) -> Cylinders<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more