# Vector4.Dot

## Overload 1

```csharp
static float Dot(in Vector4 a, in Vector4 b)
```

Returns the scalar/dot product of the 2 given vectors

### Parameters

- `in a` (`Vector4`)
- `in b` (`Vector4`)

### Returns

`float`

## Overload 2

```csharp
float Dot(in Vector4 b)
```

Returns the scalar/dot product of this vector and given vector.

### Parameters

- `in b` (`Vector4`)

### Returns

`float`

Declared in [Vector4](/api/Vector4).
Assembly: `Sandbox.System`.
