# ComputeLocalToWorld()

> Computes the matrix that transforms from this transform's local space to world space.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public float4x4 ComputeLocalToWorld()
```

### Returns

| Type                                                                      | Description                |
| ------------------------------------------------------------------------- | -------------------------- |
| [float4x4](/engine/7000.0/script-reference/unity/mathematics/float4x4.md) | The local-to-world matrix. |
