# ProcessAnimation(AnimationStream)

> Defines what to do when processing the animation.

## Definition

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

```csharp
void ProcessAnimation(AnimationStream stream)
```

### Parameters

**** (\[AnimationStream]\(/engine/6000.0/script-reference/unityengine/animations/animationstream)): The animation stream to work on.

### Remarks

This method is called after [IAnimationJob.ProcessRootMotion](/engine/6000.0/script-reference/unityengine/animations/ianimationjob/processrootmotion.md). Depending on [Animator.cullingMode](/engine/6000.0/script-reference/unityengine/animator/cullingmode.md), it is possible this method won't be called.
