# GetLocalToWorldMatrix(AnimationStream)

> Gets the local to world matrix of the transform.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.7/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public Matrix4x4 GetLocalToWorldMatrix(AnimationStream stream)
```

### Parameters

**** (\[AnimationStream]\(/engine/6000.7/script-reference/unityengine/animations/animationstream)): The AnimationStream that manages this handle.

### Returns

| Type                                                                  | Description                        |
| --------------------------------------------------------------------- | ---------------------------------- |
| [Matrix4x4](/engine/6000.7/script-reference/unityengine/matrix4x4.md) | Returns the local to world matrix. |
