snoise
Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
snoise(float2)
Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
public static float snoise(float2 v)
Parameters
Input coordinate.
Returns
Type | Description |
|---|---|
| float | Noise value. |
snoise(float3)
Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
public static float snoise(float3 v)
Parameters
Input coordinate.
Returns
Type | Description |
|---|---|
| float | Noise value. |
snoise(float3, float3)
Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
public static float snoise(float3 v, out float3 gradient)
Parameters
Returns
Type | Description |
|---|---|
| float | Noise value. |
snoise(float4)
Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
public static float snoise(float4 v)
Parameters
Input coordinate.
Returns
Type | Description |
|---|---|
| float | Noise value. |