# AnimationStreamSource

> Describes how an AnimationStream is initialized

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.Experimental.Animations](/engine/6000.5/script-reference/unityengine/experimental/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public enum AnimationStreamSource
```

## Remarks

On every frame, the values in the [AnimationStream](/engine/6000.5/script-reference/unityengine/animations/animationstream.md) must be reinitialized. [AnimationStreamSource](/engine/6000.5/script-reference/unityengine/experimental/animations/animationstreamsource.md) describes which values should be used: the default values as stored in the [Animator](/engine/6000.5/script-reference/unityengine/animator.md), or the result of previous inputs.

## Fields

| Value                                                                                                                         | Description                                                                                                                                                                                                                                                                                                                                                |
| ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DefaultValues](/engine/6000.5/script-reference/unityengine/experimental/animations/animationstreamsource/defaultvalues.md)   | [AnimationStream](/engine/6000.5/script-reference/unityengine/animations/animationstream.md) will be initialized with the default values from the [Animator](/engine/6000.5/script-reference/unityengine/animator.md).                                                                                                                                     |
| [PreviousInputs](/engine/6000.5/script-reference/unityengine/experimental/animations/animationstreamsource/previousinputs.md) | [AnimationStream](/engine/6000.5/script-reference/unityengine/animations/animationstream.md) will be initialized with the values from the previous [AnimationPlayableOutput](/engine/6000.5/script-reference/unityengine/animations/animationplayableoutput.md) connected to the same [Animator](/engine/6000.5/script-reference/unityengine/animator.md). |
