---
title: End(ref AnimationStream, in AnimationStream)
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/core/posemixer/end
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/core/posemixer/end.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:24:55.407Z
locale: en-us
---

# End(ref AnimationStream, in AnimationStream)

> Finishes the mix and normalizes the result.

## 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)

## End(AnimationStream, AnimationStream)

```csharp
public void End(ref AnimationStream output, in AnimationStream defaultPoseStream)
```

### Parameters

**** (\[AnimationStream]\(/engine/7000.0/script-reference/unity/animations/animationstream)): The stream that holds the mixed result. Use the same stream as in the calls to `Begin` and `Add`.**** (\[AnimationStream]\(/engine/7000.0/script-reference/unity/animations/animationstream)): The stream that fills the remaining weight when the weights of all added streams sum to less than 1. If this is a default stream, the mixer uses the default values from the rig definition.

### Remarks

Call this method after the last call to [Core.PoseMixer.Add](/engine/7000.0/script-reference/unity/animations/core/posemixer/add.md). If the weights of the added streams sum to less than 1, it adds the default pose for the remaining weight. It then normalizes the rotations. The output stream isn't a valid pose until this method has run.
