# psrnoise

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

## Definition

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

## psrnoise(float2, float2, float)

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

```csharp
public static float psrnoise(float2 pos, float2 per, float rot)
```

### Parameters

**** (\[float2]\(/engine/6000.5/script-reference/unity/mathematics/float2)): Input (x,y) coordinate.**** (\[float2]\(/engine/6000.5/script-reference/unity/mathematics/float2)): The x and y period, where per.x is a positive integer and per.y is a positive even integer.**** (\[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. |

## psrnoise(float2, float2)

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

```csharp
public static float psrnoise(float2 pos, float2 per)
```

### Parameters

**** (\[float2]\(/engine/6000.5/script-reference/unity/mathematics/float2)): Input (x,y) coordinate.**** (\[float2]\(/engine/6000.5/script-reference/unity/mathematics/float2)): The x and y period, where per.x is a positive integer and per.y is a positive even integer.

### Returns

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