godot_voxel/doc/source/api/FastNoiseLiteGradient.md

75 lines
2.5 KiB
Markdown
Raw Normal View History

# FastNoiseLiteGradient
Inherits: [Resource](https://docs.godotengine.org/en/stable/classes/class_resource.html)
Generates coherent and fractal noise gradients using the FastNoiseLite library.
## Properties:
Type | Name | Default
-------- | -------------------------------------------- | --------
`float` | [amplitude](#i_amplitude) | 30.0
`float` | [fractal_gain](#i_fractal_gain) | 0.5
`float` | [fractal_lacunarity](#i_fractal_lacunarity) | 2.0
`int` | [fractal_octaves](#i_fractal_octaves) | 3
`int` | [fractal_type](#i_fractal_type) | 0
`int` | [noise_type](#i_noise_type) | 2
`float` | [period](#i_period) | 64.0
`int` | [rotation_type_3d](#i_rotation_type_3d) | 0
`int` | [seed](#i_seed) | 0
<p></p>
## Enumerations:
enum **NoiseType**:
- **TYPE_OPEN_SIMPLEX_2** = **0**
- **TYPE_OPEN_SIMPLEX_2_REDUCED** = **1**
- **TYPE_VALUE** = **2**
enum **FractalType**:
- **FRACTAL_NONE** = **0**
- **FRACTAL_DOMAIN_WARP_PROGRESSIVE** = **1**
- **FRACTAL_DOMAIN_WARP_INDEPENDENT** = **2**
enum **RotationType3D**:
- **ROTATION_3D_NONE** = **0**
- **ROTATION_3D_IMPROVE_XY_PLANES** = **1**
- **ROTATION_3D_IMPROVE_XZ_PLANES** = **2**
## Property Descriptions
- [float](https://docs.godotengine.org/en/stable/classes/class_float.html)<span id="i_amplitude"></span> **amplitude** = 30.0
- [float](https://docs.godotengine.org/en/stable/classes/class_float.html)<span id="i_fractal_gain"></span> **fractal_gain** = 0.5
- [float](https://docs.godotengine.org/en/stable/classes/class_float.html)<span id="i_fractal_lacunarity"></span> **fractal_lacunarity** = 2.0
- [int](https://docs.godotengine.org/en/stable/classes/class_int.html)<span id="i_fractal_octaves"></span> **fractal_octaves** = 3
- [int](https://docs.godotengine.org/en/stable/classes/class_int.html)<span id="i_fractal_type"></span> **fractal_type** = 0
- [int](https://docs.godotengine.org/en/stable/classes/class_int.html)<span id="i_noise_type"></span> **noise_type** = 2
- [float](https://docs.godotengine.org/en/stable/classes/class_float.html)<span id="i_period"></span> **period** = 64.0
- [int](https://docs.godotengine.org/en/stable/classes/class_int.html)<span id="i_rotation_type_3d"></span> **rotation_type_3d** = 0
- [int](https://docs.godotengine.org/en/stable/classes/class_int.html)<span id="i_seed"></span> **seed** = 0
2021-01-21 20:04:53 +00:00
_Generated on Jan 21, 2021_