pub struct FastNoiseLite { /* private fields */ }Implementations§
Source§impl FastNoiseLite
impl FastNoiseLite
pub fn new(seed: i32) -> Self
pub fn set_seed(&mut self, seed: i32)
pub fn set_frequency(&mut self, frequency: f32)
pub fn set_noise_type(&mut self, noise_type: NoiseType)
pub fn set_rotation_type_3d(&mut self, rotation_type3d: RotationType3D)
pub fn set_fractal_type(&mut self, fractal_type: FractalType)
pub fn set_fractal_octaves(&mut self, octaves: usize)
pub fn set_fractal_lacunarity(&mut self, lacunarity: f32)
pub fn set_fractal_gain(&mut self, gain: f32)
pub fn set_fractal_weighted_strength(&mut self, weighted_strength: f32)
pub fn set_fractal_ping_pong_strength(&mut self, ping_pong_strength: f32)
pub fn set_cellular_distance_function( &mut self, cellular_distance_function: CellularDistanceFunction, )
pub fn set_cellular_return_type( &mut self, cellular_return_type: CellularReturnType, )
pub fn set_cellular_jitter(&mut self, cellular_jitter: f32)
pub fn set_domain_warp_type(&mut self, domain_warp_type: DomainWarpType)
pub fn set_domain_warp_amp(&mut self, domain_warp_amp: f32)
pub fn get_noise_2d(&self, x: f32, y: f32) -> f32
pub fn get_noise_3d(&self, x: f32, y: f32, z: f32) -> f32
pub fn domain_warp_2d(&self, x: &mut f32, y: &mut f32)
pub fn domain_warp_3d(&self, x: &mut f32, y: &mut f32, z: &mut f32)
Auto Trait Implementations§
impl Freeze for FastNoiseLite
impl RefUnwindSafe for FastNoiseLite
impl Send for FastNoiseLite
impl Sync for FastNoiseLite
impl Unpin for FastNoiseLite
impl UnwindSafe for FastNoiseLite
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more