[][src]Struct fastnoise_simd::properties::PerturbProperties

pub struct PerturbProperties {
    pub perturb_type: PerturbType,
    pub amp: f32,
    pub frequency: f32,
    pub fractal_octaves: i32,
    pub fractal_lacunarity: f32,
    pub fractal_gain: f32,
    pub normalise_length: f32,
}

Fields

perturb_type: PerturbTypeamp: f32

Default: 1.0; The maximum distance the input position can be perturbed.

frequency: f32

Default: 0.5; The relative frequency for the perturb gradient.

fractal_octaves: i32

Default: 3; Octave count for perturb fractal types.

fractal_lacunarity: f32

Default: 2.0; Octave lacunarity for perturb fractal types.

fractal_gain: f32

Default: 0.5; Octave gain for perturb fractal types.

normalise_length: f32

Default: 1.0; The length for vectors after perturb normalising.

Trait Implementations

impl Clone for PerturbProperties[src]

impl Debug for PerturbProperties[src]

impl Default for PerturbProperties[src]

impl PartialEq<PerturbProperties> for PerturbProperties[src]

impl StructuralPartialEq for PerturbProperties[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.