# clipAnimations

> Animation clips to split animation into. Additional Resources: ModelImporterClipAnimation.

## Definition

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

```csharp
public ModelImporterClipAnimation[] clipAnimations { get; set; }
```

### Remarks

When you import a file for the first time clipAnimations will be always empty. If you need to populate clipAnimations before the first import you can use an [AssetPostprocessor](/engine/6000.3/script-reference/unityeditor/assetpostprocessor.md) and override [AssetPostprocessor.OnPreprocessAnimation()](/engine/6000.3/script-reference/unityeditor/assetpostprocessor/onpreprocessanimation.md).

### Examples

```csharp
using UnityEditor;
using UnityEngine;

public class CreateAnimationClip : AssetPostprocessor
{
    void OnPreprocessAnimation()
    {
        var modelImporter = assetImporter as ModelImporter;
        modelImporter.clipAnimations = modelImporter.defaultClipAnimations;
    }
}
```
