Zn_FastNoiseLiteGradient
Вырабатывает градиент связного и фрактального шума с использованием FastNoiseLite(https://github.com/Auburn/FastNoiseLite) библиотека.
Вырабатывает градиент связного и фрактального шума с использованием FastNoiseLite(https://github.com/Auburn/FastNoiseLite) библиотека.
Это альтернативное осуществление FastNoiseLite, потому что интеграция Reckfell не подвергает методы непосредственному доступу к градиентам.
Эти алгоритмы специализируются на генерации векторов в неврозовом положении и могут быть быстрее, чем вычисления в 2 или 3 раза обычного шума.
Объявления сверены с C# SDK 1.0.0. Раскройте имя, чтобы увидеть сигнатуры и описание.
Конструкторы1
Zn_FastNoiseLiteGradientКонструктор
public Zn_FastNoiseLiteGradient();Свойства9
AmplitudeСвойство
public float Amplitude { get; set; }FractalGainСвойство
public float FractalGain { get; set; }FractalLacunarityСвойство
public float FractalLacunarity { get; set; }FractalOctavesСвойство
public int FractalOctaves { get; set; }FractalTypeСвойство
public Zn_FastNoiseLiteGradient.FractalTypeEnum FractalType { get; set; }NoiseTypeСвойство
public Zn_FastNoiseLiteGradient.NoiseTypeEnum NoiseType { get; set; }PeriodСвойство
public float Period { get; set; }RotationType3DСвойство
public Zn_FastNoiseLiteGradient.RotationType3DEnum RotationType3D { get; set; }SeedСвойство
public int Seed { get; set; }Методы20
GetAmplitudefloat
public float GetAmplitude();Возвращает
floatGetFractalGainfloat
public float GetFractalGain();Возвращает
floatGetFractalLacunarityfloat
public float GetFractalLacunarity();Возвращает
floatGetFractalOctavesint
public int GetFractalOctaves();Возвращает
intGetFractalTypeZn_FastNoiseLiteGradient.FractalTypeEnum
public Zn_FastNoiseLiteGradient.FractalTypeEnum GetFractalType();Возвращает
Zn_FastNoiseLiteGradient.FractalTypeEnumGetNoiseTypeZn_FastNoiseLiteGradient.NoiseTypeEnum
public Zn_FastNoiseLiteGradient.NoiseTypeEnum GetNoiseType();Возвращает
Zn_FastNoiseLiteGradient.NoiseTypeEnumGetPeriodfloat
public float GetPeriod();Возвращает
floatGetRotationType3DZn_FastNoiseLiteGradient.RotationType3DEnum
public Zn_FastNoiseLiteGradient.RotationType3DEnum GetRotationType3D();Возвращает
Zn_FastNoiseLiteGradient.RotationType3DEnumGetSeedint
public int GetSeed();Возвращает
intSetAmplitudevoid
public void SetAmplitude(float amplitude);| Имя | Тип | По умолчанию |
|---|---|---|
amplitude | float | — |
SetFractalGainvoid
public void SetFractalGain(float gain);| Имя | Тип | По умолчанию |
|---|---|---|
gain | float | — |
SetFractalLacunarityvoid
public void SetFractalLacunarity(float lacunarity);| Имя | Тип | По умолчанию |
|---|---|---|
lacunarity | float | — |
SetFractalOctavesvoid
public void SetFractalOctaves(int octaves);| Имя | Тип | По умолчанию |
|---|---|---|
octaves | int | — |
SetFractalTypevoid
public void SetFractalType(Zn_FastNoiseLiteGradient.FractalTypeEnum type);| Имя | Тип | По умолчанию |
|---|---|---|
type | Zn_FastNoiseLiteGradient.FractalTypeEnum | — |
SetNoiseTypevoid
public void SetNoiseType(Zn_FastNoiseLiteGradient.NoiseTypeEnum type);| Имя | Тип | По умолчанию |
|---|---|---|
type | Zn_FastNoiseLiteGradient.NoiseTypeEnum | — |
SetPeriodvoid
public void SetPeriod(float period);| Имя | Тип | По умолчанию |
|---|---|---|
period | float | — |
SetRotationType3Dvoid
public void SetRotationType3D(Zn_FastNoiseLiteGradient.RotationType3DEnum type);| Имя | Тип | По умолчанию |
|---|---|---|
type | Zn_FastNoiseLiteGradient.RotationType3DEnum | — |
SetSeedvoid
public void SetSeed(int seed);| Имя | Тип | По умолчанию |
|---|---|---|
seed | int | — |
Warp2DVector2
public Vector2 Warp2D(Vector2 position);| Имя | Тип | По умолчанию |
|---|---|---|
position | Vector2 | — |
Возвращает
Vector2Warp3DVector3
public Vector3 Warp3D(Vector3 position);| Имя | Тип | По умолчанию |
|---|---|---|
position | Vector3 | — |
Возвращает
Vector3Zn_FastNoiseLiteGradient.FractalTypeEnum
| Значение | Описание |
|---|---|
DomainWarpIndependent = 2 | |
DomainWarpProgressive = 1 | |
None = 0 |
Zn_FastNoiseLiteGradient.NoiseTypeEnum
| Значение | Описание |
|---|---|
OpenSimplex2 = 0 | |
OpenSimplex2Reduced = 1 | |
Value = 2 |
Zn_FastNoiseLiteGradient.RotationType3DEnum
| Значение | Описание |
|---|---|
ImproveXyPlanes = 1 | |
ImproveXzPlanes = 2 | |
None = 0 |
Документация Reckfell EngineНаверх ↑