Method cnoise
cnoise(float2)
Classic Perlin noise
Declaration
public static float cnoise(float2 P)
Parameters
| Type | Name | Description |
|---|---|---|
| float2 | P | Point on a 2D grid of gradient vectors. |
Returns
| Type | Description |
|---|---|
| float | Noise value. |
cnoise(float3)
Classic Perlin noise
Declaration
public static float cnoise(float3 P)
Parameters
| Type | Name | Description |
|---|---|---|
| float3 | P | Point on a 3D grid of gradient vectors. |
Returns
| Type | Description |
|---|---|
| float | Noise value. |
cnoise(float4)
Classic Perlin noise
Declaration
public static float cnoise(float4 P)
Parameters
| Type | Name | Description |
|---|---|---|
| float4 | P | Point on a 4D grid of gradient vectors. |
Returns
| Type | Description |
|---|---|
| float | Noise value. |