Method pnoise
pnoise(float2, float2)
Classic Perlin noise, periodic variant
Declaration
public static float pnoise(float2 P, float2 rep)
Parameters
Type | Name | Description |
---|---|---|
float2 | P | Point on a 2D grid of gradient vectors. |
float2 | rep | Period of repetition. |
Returns
Type | Description |
---|---|
Single | Noise value. |
pnoise(float3, float3)
Classic Perlin noise, periodic variant
Declaration
public static float pnoise(float3 P, float3 rep)
Parameters
Type | Name | Description |
---|---|---|
float3 | P | Point on a 3D grid of gradient vectors. |
float3 | rep | Period of repetition. |
Returns
Type | Description |
---|---|
Single | Noise value. |
pnoise(float4, float4)
Classic Perlin noise, periodic variant
Declaration
public static float pnoise(float4 P, float4 rep)
Parameters
Type | Name | Description |
---|---|---|
float4 | P | Point on a 4D grid of gradient vectors. |
float4 | rep | Period of repetition. |
Returns
Type | Description |
---|---|
Single | Noise value. |