ZN_FastNoiseLiteGradient¶
Inherits: Resource
Generates coherent and fractal noise gradients using the FastNoiseLite library.
Description:¶
This is an alternate implementation of FastNoiseLite, because Godot's integration does not expose methods to access gradients directly.
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¶
(This property has no documentation)
float fractal_gain = 0.5¶
(This property has no documentation)
float fractal_lacunarity = 2.0¶
(This property has no documentation)
int fractal_octaves = 3¶
(This property has no documentation)
int fractal_type = 0¶
(This property has no documentation)
int noise_type = 2¶
(This property has no documentation)
float period = 64.0¶
(This property has no documentation)
int rotation_type_3d = 0¶
(This property has no documentation)
int seed = 0¶
(This property has no documentation)
Method Descriptions¶
Vector2 warp_2d( Vector2 position )¶
(This method has no documentation)
Vector3 warp_3d( Vector3 position )¶
(This method has no documentation)
Generated on Apr 06, 2024