Zn_FastNoiseLite
Generates coherent and fractal noise using the FastNoiseLite(https://github.com/Auburn/FastNoiseLite) library.
Generates coherent and fractal noise using the FastNoiseLite(https://github.com/Auburn/FastNoiseLite) library.
This is an alternative implementation of FastNoiseLite, based on the same library. Some differences include different default values, and use of period instead of frequency in fractal parameters. It is also used in the voxel module in order to bypass the overhead of Reckfell calls in ReckfellExtension builds.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
Zn_FastNoiseLiteConstructor
public Zn_FastNoiseLite();Properties14
CellularDistanceFunctionProperty
public Zn_FastNoiseLite.CellularDistanceFunctionEnum CellularDistanceFunction { get; set; }CellularJitterProperty
public float CellularJitter { get; set; }CellularReturnTypeProperty
public Zn_FastNoiseLite.CellularReturnTypeEnum CellularReturnType { get; set; }FractalGainProperty
public float FractalGain { get; set; }FractalLacunarityProperty
public float FractalLacunarity { get; set; }FractalOctavesProperty
public int FractalOctaves { get; set; }FractalPingPongStrengthProperty
public float FractalPingPongStrength { get; set; }FractalTypeProperty
public Zn_FastNoiseLite.FractalTypeEnum FractalType { get; set; }FractalWeightedStrengthProperty
public float FractalWeightedStrength { get; set; }NoiseTypeProperty
public Zn_FastNoiseLite.NoiseTypeEnum NoiseType { get; set; }PeriodProperty
public float Period { get; set; }RotationType3DProperty
public Zn_FastNoiseLite.RotationType3DEnum RotationType3D { get; set; }SeedProperty
public int Seed { get; set; }WarpNoiseProperty
public Zn_FastNoiseLiteGradient WarpNoise { get; set; }Methods32
GetCellularDistanceFunctionZn_FastNoiseLite.CellularDistanceFunctionEnum
public Zn_FastNoiseLite.CellularDistanceFunctionEnum GetCellularDistanceFunction();Returns
Zn_FastNoiseLite.CellularDistanceFunctionEnumGetCellularJitterfloat
public float GetCellularJitter();Returns
floatGetCellularReturnTypeZn_FastNoiseLite.CellularReturnTypeEnum
public Zn_FastNoiseLite.CellularReturnTypeEnum GetCellularReturnType();Returns
Zn_FastNoiseLite.CellularReturnTypeEnumGetFractalGainfloat
public float GetFractalGain();Returns
floatGetFractalLacunarityfloat
public float GetFractalLacunarity();Returns
floatGetFractalOctavesint
public int GetFractalOctaves();Returns
intGetFractalPingPongStrengthfloat
public float GetFractalPingPongStrength();Returns
floatGetFractalTypeZn_FastNoiseLite.FractalTypeEnum
public Zn_FastNoiseLite.FractalTypeEnum GetFractalType();Returns
Zn_FastNoiseLite.FractalTypeEnumGetFractalWeightedStrengthfloat
public float GetFractalWeightedStrength();Returns
floatGetNoise2Dfloat
public float GetNoise2D(float x, float y);| Name | Type | Default |
|---|---|---|
x | float | — |
y | float | — |
Returns
floatGetNoise2Dvfloat
public float GetNoise2Dv(Vector2 position);| Name | Type | Default |
|---|---|---|
position | Vector2 | — |
Returns
floatGetNoise3Dfloat
public float GetNoise3D(float x, float y, float z);| Name | Type | Default |
|---|---|---|
x | float | — |
y | float | — |
z | float | — |
Returns
floatGetNoise3Dvfloat
public float GetNoise3Dv(Vector3 position);| Name | Type | Default |
|---|---|---|
position | Vector3 | — |
Returns
floatGetNoiseTypeZn_FastNoiseLite.NoiseTypeEnum
public Zn_FastNoiseLite.NoiseTypeEnum GetNoiseType();Returns
Zn_FastNoiseLite.NoiseTypeEnumGetPeriodfloat
public float GetPeriod();Returns
floatGetRotationType3DZn_FastNoiseLite.RotationType3DEnum
public Zn_FastNoiseLite.RotationType3DEnum GetRotationType3D();Returns
Zn_FastNoiseLite.RotationType3DEnumGetSeedint
public int GetSeed();Returns
intGetWarpNoiseZn_FastNoiseLiteGradient
public Zn_FastNoiseLiteGradient GetWarpNoise();Returns
Zn_FastNoiseLiteGradientSetCellularDistanceFunctionvoid
public void SetCellularDistanceFunction(Zn_FastNoiseLite.CellularDistanceFunctionEnum cellDistanceFunc);| Name | Type | Default |
|---|---|---|
cellDistanceFunc | Zn_FastNoiseLite.CellularDistanceFunctionEnum | — |
SetCellularJittervoid
public void SetCellularJitter(float returnType);| Name | Type | Default |
|---|---|---|
returnType | float | — |
SetCellularReturnTypevoid
public void SetCellularReturnType(Zn_FastNoiseLite.CellularReturnTypeEnum returnType);| Name | Type | Default |
|---|---|---|
returnType | Zn_FastNoiseLite.CellularReturnTypeEnum | — |
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 | — |
SetFractalPingPongStrengthvoid
public void SetFractalPingPongStrength(float strength);| Name | Type | Default |
|---|---|---|
strength | float | — |
SetFractalTypevoid
public void SetFractalType(Zn_FastNoiseLite.FractalTypeEnum type);| Name | Type | Default |
|---|---|---|
type | Zn_FastNoiseLite.FractalTypeEnum | — |
SetFractalWeightedStrengthvoid
public void SetFractalWeightedStrength(float strength);| Name | Type | Default |
|---|---|---|
strength | float | — |
SetNoiseTypevoid
public void SetNoiseType(Zn_FastNoiseLite.NoiseTypeEnum type);| Name | Type | Default |
|---|---|---|
type | Zn_FastNoiseLite.NoiseTypeEnum | — |
SetPeriodvoid
public void SetPeriod(float period);| Name | Type | Default |
|---|---|---|
period | float | — |
SetRotationType3Dvoid
public void SetRotationType3D(Zn_FastNoiseLite.RotationType3DEnum type);| Name | Type | Default |
|---|---|---|
type | Zn_FastNoiseLite.RotationType3DEnum | — |
SetSeedvoid
public void SetSeed(int seed);| Name | Type | Default |
|---|---|---|
seed | int | — |
SetWarpNoisevoid
public void SetWarpNoise(Zn_FastNoiseLiteGradient gradientNoise);| Name | Type | Default |
|---|---|---|
gradientNoise | Zn_FastNoiseLiteGradient | — |
Zn_FastNoiseLite.CellularDistanceFunctionEnum
| Value | Description |
|---|---|
Euclidean = 0 | |
EuclideanSq = 1 | |
Hybrid = 3 | |
Manhattan = 2 |
Zn_FastNoiseLite.CellularReturnTypeEnum
Zn_FastNoiseLite.FractalTypeEnum
| Value | Description |
|---|---|
Fbm = 1 | |
None = 0 | |
PingPong = 3 | |
Ridged = 2 |
Zn_FastNoiseLite.NoiseTypeEnum
Zn_FastNoiseLite.RotationType3DEnum
| Value | Description |
|---|---|
ImproveXyPlanes = 1 | |
ImproveXzPlanes = 2 | |
None = 0 |
Reckfell Engine documentationBack to top ↑