Method snoise
snoise(float2)
Simplex noise.
Declaration
public static float snoise(float2 v)
Parameters
Type | Name | Description |
---|---|---|
float2 | v | Input coordinate. |
Returns
Type | Description |
---|---|
Single | Noise value. |
snoise(float3)
Simplex noise.
Declaration
public static float snoise(float3 v)
Parameters
Type | Name | Description |
---|---|---|
float3 | v | Input coordinate. |
Returns
Type | Description |
---|---|
Single | Noise value. |
snoise(float3, out float3)
Simplex noise.
Declaration
public static float snoise(float3 v, out float3 gradient)
Parameters
Type | Name | Description |
---|---|---|
float3 | v | Input coordinate. |
float3 | gradient | Output 3D noise gradient. |
Returns
Type | Description |
---|---|
Single | Noise value. |
snoise(float4)
Simplex noise.
Declaration
public static float snoise(float4 v)
Parameters
Type | Name | Description |
---|---|---|
float4 | v | Input coordinate. |
Returns
Type | Description |
---|---|
Single | Noise value. |