# snoise

> Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics](/engine/6000.6/script-reference/unity/mathematics.md)
* **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.

```csharp
public static float snoise(float2 v)
```

### Parameters

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

### Returns

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

## snoise(float3)

Simplex noise. The method returns values approximately in the \[-1, 1] range. The actual observed range can be slightly narrower.

```csharp
public static float snoise(float3 v)
```

### Parameters

**** (\[float3]\(/engine/6000.6/script-reference/unity/mathematics/float3)): Input coordinate.

### Returns

| Type                                                          | Description  |
| ------------------------------------------------------------- | ------------ |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | 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.

```csharp
public static float snoise(float3 v, out float3 gradient)
```

### Parameters

**** (\[float3]\(/engine/6000.6/script-reference/unity/mathematics/float3)): Input coordinate.**** (\[float3]\(/engine/6000.6/script-reference/unity/mathematics/float3)): Output 3D noise gradient.

### Returns

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

## snoise(float4)

Simplex noise. The method returns values approximately in the \[-1, 1] range. The actual observed range can be slightly narrower.

```csharp
public static float snoise(float4 v)
```

### Parameters

**** (\[float4]\(/engine/6000.6/script-reference/unity/mathematics/float4)): Input coordinate.

### Returns

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