Zn_FastNoiseLiteGradient
Generates coherent and fractal noise gradients using the FastNoiseLite(https://github.com/Auburn/FastNoiseLite) library.
Generates coherent and fractal noise gradients using the FastNoiseLite(https://github.com/Auburn/FastNoiseLite) library.
This is an alternate implementation of FastNoiseLite, because Reckfell's integration does not expose methods to access gradients directly.
These algorithms are specialized to generate vectors to perturb positions, and can be faster than calculating 2 or 3 times a regular noise.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
Zn_FastNoiseLiteGradientConstructor
public Zn_FastNoiseLiteGradient();Properties9
AmplitudeProperty
public float Amplitude { get; set; }FractalGainProperty
public float FractalGain { get; set; }FractalLacunarityProperty
public float FractalLacunarity { get; set; }FractalOctavesProperty
public int FractalOctaves { get; set; }FractalTypeProperty
public Zn_FastNoiseLiteGradient.FractalTypeEnum FractalType { get; set; }NoiseTypeProperty
public Zn_FastNoiseLiteGradient.NoiseTypeEnum NoiseType { get; set; }PeriodProperty
public float Period { get; set; }RotationType3DProperty
public Zn_FastNoiseLiteGradient.RotationType3DEnum RotationType3D { get; set; }SeedProperty
public int Seed { get; set; }Methods20
GetAmplitudefloat
public float GetAmplitude();Returns
floatGetFractalGainfloat
public float GetFractalGain();Returns
floatGetFractalLacunarityfloat
public float GetFractalLacunarity();Returns
floatGetFractalOctavesint
public int GetFractalOctaves();Returns
intGetFractalTypeZn_FastNoiseLiteGradient.FractalTypeEnum
public Zn_FastNoiseLiteGradient.FractalTypeEnum GetFractalType();Returns
Zn_FastNoiseLiteGradient.FractalTypeEnumGetNoiseTypeZn_FastNoiseLiteGradient.NoiseTypeEnum
public Zn_FastNoiseLiteGradient.NoiseTypeEnum GetNoiseType();Returns
Zn_FastNoiseLiteGradient.NoiseTypeEnumGetPeriodfloat
public float GetPeriod();Returns
floatGetRotationType3DZn_FastNoiseLiteGradient.RotationType3DEnum
public Zn_FastNoiseLiteGradient.RotationType3DEnum GetRotationType3D();Returns
Zn_FastNoiseLiteGradient.RotationType3DEnumGetSeedint
public int GetSeed();Returns
intSetAmplitudevoid
public void SetAmplitude(float amplitude);| Name | Type | Default |
|---|---|---|
amplitude | float | — |
SetFractalGainvoid
public void SetFractalGain(float gain);| Name | Type | Default |
|---|---|---|
gain | float | — |
SetFractalLacunarityvoid
public void SetFractalLacunarity(float lacunarity);| Name | Type | Default |
|---|---|---|
lacunarity | float | — |
SetFractalOctavesvoid
public void SetFractalOctaves(int octaves);| Name | Type | Default |
|---|---|---|
octaves | int | — |
SetFractalTypevoid
public void SetFractalType(Zn_FastNoiseLiteGradient.FractalTypeEnum type);| Name | Type | Default |
|---|---|---|
type | Zn_FastNoiseLiteGradient.FractalTypeEnum | — |
SetNoiseTypevoid
public void SetNoiseType(Zn_FastNoiseLiteGradient.NoiseTypeEnum type);| Name | Type | Default |
|---|---|---|
type | Zn_FastNoiseLiteGradient.NoiseTypeEnum | — |
SetPeriodvoid
public void SetPeriod(float period);| Name | Type | Default |
|---|---|---|
period | float | — |
SetRotationType3Dvoid
public void SetRotationType3D(Zn_FastNoiseLiteGradient.RotationType3DEnum type);| Name | Type | Default |
|---|---|---|
type | Zn_FastNoiseLiteGradient.RotationType3DEnum | — |
SetSeedvoid
public void SetSeed(int seed);| Name | Type | Default |
|---|---|---|
seed | int | — |
Warp2DVector2
public Vector2 Warp2D(Vector2 position);| Name | Type | Default |
|---|---|---|
position | Vector2 | — |
Returns
Vector2Warp3DVector3
public Vector3 Warp3D(Vector3 position);| Name | Type | Default |
|---|---|---|
position | Vector3 | — |
Returns
Vector3Zn_FastNoiseLiteGradient.FractalTypeEnum
| Value | Description |
|---|---|
DomainWarpIndependent = 2 | |
DomainWarpProgressive = 1 | |
None = 0 |
Zn_FastNoiseLiteGradient.NoiseTypeEnum
| Value | Description |
|---|---|
OpenSimplex2 = 0 | |
OpenSimplex2Reduced = 1 | |
Value = 2 |
Zn_FastNoiseLiteGradient.RotationType3DEnum
| Value | Description |
|---|---|
ImproveXyPlanes = 1 | |
ImproveXzPlanes = 2 | |
None = 0 |
Reckfell Engine documentationBack to top ↑