# srnoise

> 2-D non-tiling simplex noise with rotating gradients, without the analytical derivative.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics](/engine/6000.6/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## srnoise(float2, float)

2-D non-tiling simplex noise with rotating gradients, without the analytical derivative.

```csharp
public static float srnoise(float2 pos, float rot)
```

### Parameters

**** (\[float2]\(/engine/6000.6/script-reference/unity/mathematics/float2)): Input (x,y) coordinate.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Angle to rotate the gradients.

### Returns

| Type                                                          | Description  |
| ------------------------------------------------------------- | ------------ |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | Noise value. |

## srnoise(float2)

2-D non-tiling simplex noise with fixed gradients, without the analytical derivative.

```csharp
public static float srnoise(float2 pos)
```

### Parameters

**** (\[float2]\(/engine/6000.6/script-reference/unity/mathematics/float2)): Input (x,y) coordinate.

### Returns

| Type                                                          | Description  |
| ------------------------------------------------------------- | ------------ |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | Noise value. |
