psrdnoise
2-D tiling simplex noise with rotating gradients and analytical derivative.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
psrdnoise(float2, float2, float)
2-D tiling simplex noise with rotating gradients and analytical derivative.
public static float3 psrdnoise(float2 pos, float2 per, float rot)
Parameters
Returns
Type | Description |
|---|---|
| float3 | The first component of the 3-element return vector is the noise value, and the second and third components are the x and y partial derivatives. |
psrdnoise(float2, float2)
2-D tiling simplex noise with fixed gradients and analytical derivative.
public static float3 psrdnoise(float2 pos, float2 per)
Parameters
Returns
Type | Description |
|---|---|
| float3 | The first component of the 3-element return vector is the noise value, and the second and third components are the x and y partial derivatives. |