---
title: ToFloat4x4(quaternion4)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/quaternion4extensions/tofloat4x4
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/quaternion4extensions/tofloat4x4.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:37:27.360Z
locale: en-us
---

# ToFloat4x4(quaternion4)

> Returns a float4x4 whose columns are the x, y, z and w planes of the quaternion4.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

```csharp
public static float4x4 ToFloat4x4(this quaternion4 q)
```

### Parameters

**** (\[quaternion4]\(/engine/7000.0/script-reference/unity/animations/quaternion4)): The [quaternion4](/engine/7000.0/script-reference/unity/animations/quaternion4.md) to convert.

### Returns

| Type                                                                      | Description                                                    |
| ------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [float4x4](/engine/7000.0/script-reference/unity/mathematics/float4x4.md) | A `float4x4` whose columns are `q.x`, `q.y`, `q.z`, and `q.w`. |
