godot_voxel/doc/source/api/FastNoiseLiteGradient.md
Marc Gilleron d5a69003c3 Add missing classes and run doctool (doctool has issues though)
VoxelGeneratorHeightmap.height_range is wrong in the doc.
VoxelTool lost all default values in doc.
These are likely Godot bugs...
2021-11-06 02:04:16 +00:00

3.8 KiB

FastNoiseLiteGradient

Inherits: Resource

Generates coherent and fractal noise gradients using the FastNoiseLite library.

Properties:

Type Name Default
float amplitude 30.0
float fractal_gain 0.5
float fractal_lacunarity 2.0
int fractal_octaves 3
int fractal_type 0
int noise_type 2
float period 64.0
int rotation_type_3d 0
int seed 0

Methods:

Return Signature
Vector2 warp_2d ( Vector2 position )
Vector3 warp_3d ( Vector3 position )

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 amplitude = 30.0

  • float fractal_gain = 0.5

  • float fractal_lacunarity = 2.0

  • int fractal_octaves = 3

  • int fractal_type = 0

  • int noise_type = 2

  • float period = 64.0

  • int rotation_type_3d = 0

  • int seed = 0

Method Descriptions

Generated on Nov 06, 2021