<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [Quaternion](./server.quaternion.md) &gt; [dot](./server.quaternion.dot.md)

## Quaternion.dot() method

Calculates the dot product of the current quaternion and another quaternion.

**Signature:**

```typescript
dot(quaternion: Quaternion): number;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

quaternion


</td><td>

[Quaternion](./server.quaternion.md)


</td><td>


</td></tr>
</tbody></table>
**Returns:**

number

The dot product.

