# SaveToClip

> Saves recorded animation to a destination clip.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Animations](/engine/6000.7/script-reference/unityeditor/animations.md)
* **Assembly:** UnityEditor.CoreModule

## SaveToClip(AnimationClip)

Saves recorded animation to a destination clip.

```csharp
public void SaveToClip(AnimationClip clip)
```

### Parameters

**** (\[AnimationClip]\(/engine/6000.7/script-reference/unityengine/animationclip)): The destination clip. If this clip has animation curves, they will be removed.

### Remarks

Note: This method computes the tangents.

## SaveToClip(AnimationClip, float)

Saves recorded animation to a destination clip.

```csharp
public void SaveToClip(AnimationClip clip, float fps)
```

### Parameters

**** (\[AnimationClip]\(/engine/6000.7/script-reference/unityengine/animationclip)): The destination clip. If this clip has animation curves, they will be removed.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The frames per second (FPS) for the clip. If no value is specified, by default, this method uses 60 FPS.

### Remarks

Note: This method computes the tangents.

## SaveToClip(AnimationClip, float, CurveFilterOptions)

Saves recorded animation to a destination clip.

```csharp
public void SaveToClip(AnimationClip clip, float fps, CurveFilterOptions filterOptions)
```

### Parameters

**** (\[AnimationClip]\(/engine/6000.7/script-reference/unityengine/animationclip)): The destination clip. If this clip has animation curves, they will be removed.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The frames per second (FPS) for the clip. If no value is specified, by default, this method uses 60 FPS.**** (\[CurveFilterOptions]\(/engine/6000.7/script-reference/unityeditor/animations/curvefilteroptions)): The filtering options for processing the animation curves when saved to the destination clip. If no options are specified, by default, this method filters out irrelevant keys by applying a light compression of 0.5 for positionError, rotationError, scaleError and floatError.

### Remarks

Note: This method computes the tangents.
