> For the complete documentation index, see [llms.txt](https://vc-docs.gitbook.io/engine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vc-docs.gitbook.io/engine/home/doxygen_synced/classes/class_quaternion.md).

# Quaternion

**Usage:** `api.Quaternion.Multiply(a, b)`

Exposes unity [Quaternion](/engine/home/doxygen_synced/classes/class_quaternion.md) math operations to the JavaScript API layer.

## Public Functions

|                        | Name                                                                                                                                                                                                                                                                                                                                                |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| UnityEngine.Quaternion | <p><a href="https://git.unimetaverse.net/vc-core-engine/doxygen/-/tree/main/Classes/Classes/class_quaternion.md#function-multiply"><strong>Multiply</strong></a>(UnityEngine.Quaternion l, UnityEngine.Quaternion r)<br>Combines two rotations by multiplying them. The result represents rotation <em>l</em> followed by rotation <em>r</em> .</p> |

## Public Functions Documentation

### function Multiply

```csharp
static UnityEngine.Quaternion Multiply(
    UnityEngine.Quaternion l,
    UnityEngine.Quaternion r
)
```

Combines two rotations by multiplying them. The result represents rotation *l* followed by rotation *r* .

**Parameters**:

* **l** The first rotation.
* **r** The second rotation.

**Return**: The combined rotation.

***

Updated on 2026-07-22 at 12:00:00 +0800
