# ModelImporterAnimationCompression

> Animation compression options for ModelImporter.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public enum ModelImporterAnimationCompression
```

## Remarks

Compressing animations saves space in the built game, but more compression introduces more artifacts in the animations.

Additional Resources: [ModelImporter.animationCompression](/engine/6000.0/script-reference/unityeditor/modelimporter/animationcompression.md).

## Fields

| Value                                                                                                                                               | Description                                                                                                                    |
| --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| [KeyframeReduction](/engine/6000.0/script-reference/unityeditor/modelimporteranimationcompression/keyframereduction.md)                             | Perform keyframe reduction.                                                                                                    |
| [KeyframeReductionAndCompression](/engine/6000.0/script-reference/unityeditor/modelimporteranimationcompression/keyframereductionandcompression.md) | Perform keyframe reduction and compression.                                                                                    |
| [Off](/engine/6000.0/script-reference/unityeditor/modelimporteranimationcompression/off.md)                                                         | No animation compression.                                                                                                      |
| [Optimal](/engine/6000.0/script-reference/unityeditor/modelimporteranimationcompression/optimal.md)                                                 | Perform keyframe reduction and choose the best animation curve representation at runtime to reduce memory footprint (default). |
