[−][src]Struct bracket_noise::prelude::FastNoise
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]
&mut self,
cellular_distance_function: CellularDistanceFunction
)
pub fn get_cellular_distance_function(&self) -> CellularDistanceFunction
[src]
pub fn set_cellular_return_type(
&mut self,
cellular_return_type: CellularReturnType
)
[src]
&mut self,
cellular_return_type: CellularReturnType
)
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
impl RefUnwindSafe for FastNoise
impl Send for FastNoise
impl Sync for FastNoise
impl Unpin for FastNoise
impl UnwindSafe for FastNoise
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,