FractalParametersclass

Parameters for constructing a fractal noise field, which layers multiple octaves of a noise function with increasing frequency and reducing amplitudes.

objectParametersFractalParameters
Namespace
global
Assembly
Sandbox.System
Declaration
public class Sandbox.Utility.Noise.FractalParameters : Sandbox.Utility.Noise.Parameters

Constructors2

Showing 2 constructors

Methods3

Showing 3 methods

public void Deconstruct(int Seed, float Frequency, int Octaves, float Gain, float Lacunarity)PUBLIC

ParameterTypeDescription
Seedint
Frequencyfloat
Octavesint
Gainfloat
Lacunarityfloat
Returns:void

protected virtual bool PrintMembers(System.Text.StringBuilder builder)PROTECTEDVIRTUAL

ParameterTypeDescription
builderStringBuilder
Returns:bool

Properties4

Showing 4 properties

public float Sandbox.Utility.Noise.FractalParameters.Gain { get; set; }PUBLICGETSET

How much to multiply the amplitude of each successive octave by.

Returns:float

public float Sandbox.Utility.Noise.FractalParameters.Lacunarity { get; set; }PUBLICGETSET

How much to multiply the frequency of each successive octave by.

Returns:float

public int Sandbox.Utility.Noise.FractalParameters.Octaves { get; set; }PUBLICGETSET

How many layers of noise to use.

Returns:int

On this page