[][src]Struct bracket_noise::prelude::FastNoise

pub struct FastNoise { /* fields omitted */ }

Methods

impl FastNoise[src]

pub fn new() -> FastNoise[src]

Creates a new noise instance, using simplex noise defaults.

pub fn seeded(seed: u64) -> FastNoise[src]

Creates a new noise instance, using simplex noise defaults and specifying a random seed.

pub fn set_seed(&mut self, seed: u64)[src]

Re-seeds the noise system with a new seed.

pub fn get_seed(&self) -> u64[src]

pub fn set_frequency(&mut self, frequency: f32)[src]

pub fn get_frequency(&self) -> f32[src]

pub fn set_interp(&mut self, interp: Interp)[src]

pub fn get_interp(&self) -> Interp[src]

pub fn set_noise_type(&mut self, nt: NoiseType)[src]

pub fn get_noise_type(&self) -> NoiseType[src]

pub fn set_fractal_octaves(&mut self, octaves: i32)[src]

pub fn get_fractal_octaves(&self) -> i32[src]

pub fn set_fractal_lacunarity(&mut self, lacunarity: f32)[src]

pub fn get_fractal_lacunarity(&self) -> f32[src]

pub fn set_fractal_gain(&mut self, gain: f32)[src]

pub fn get_fractal_gain(&self) -> f32[src]

pub fn set_fractal_type(&mut self, fractal_type: FractalType)[src]

pub fn get_fractal_type(&self) -> FractalType[src]

pub fn set_cellular_distance_function(
    &mut self,
    cellular_distance_function: CellularDistanceFunction
)
[src]

pub fn get_cellular_distance_function(&self) -> CellularDistanceFunction[src]

pub fn set_cellular_return_type(
    &mut self,
    cellular_return_type: CellularReturnType
)
[src]

pub fn get_cellular_return_type(&self) -> CellularReturnType[src]

pub fn get_cellular_distance_indices(&self) -> (i32, i32)[src]

pub fn set_cellular_jitter(&mut self, jitter: f32)[src]

pub fn get_cellular_jitter(&self) -> f32[src]

pub fn set_gradient_perterb_amp(&mut self, gradient_perturb_amp: f32)[src]

pub fn get_gradient_perterb_amp(&self) -> f32[src]

pub fn set_cellular_distance_indices(&mut self, i1: i32, i2: i32)[src]

pub fn index2d_12(&self, offset: u8, x: i32, y: i32) -> u8[src]

pub fn index3d_12(&self, offset: u8, x: i32, y: i32, z: i32) -> u8[src]

pub fn index4d_32(&self, offset: u8, x: i32, y: i32, z: i32, w: i32) -> u8[src]

pub fn index2d_256(&self, offset: u8, x: i32, y: i32) -> u8[src]

pub fn index3d_256(&self, offset: u8, x: i32, y: i32, z: i32) -> u8[src]

pub fn index4d_256(&self, offset: u8, x: i32, y: i32, z: i32, w: i32) -> u8[src]

pub fn get_noise3d(&self, x: f32, y: f32, z: f32) -> f32[src]

pub fn get_noise(&self, x: f32, y: f32) -> f32[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,