# CreateDefaultMaskForClip(ModelImporterClipAnimation)

> Creates a mask that matches the model hierarchy, and applies it to the provided ModelImporterClipAnimation.

## Definition

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

```csharp
public void CreateDefaultMaskForClip(ModelImporterClipAnimation clip)
```

### Parameters

**** (\[ModelImporterClipAnimation]\(/engine/6000.5/script-reference/unityeditor/modelimporterclipanimation)): Clip to which the mask will be applied.

### Remarks

When writing an [AssetPostprocessor](/engine/6000.5/script-reference/unityeditor/assetpostprocessor.md), use this method with your created clips to apply a mask that matches the transform hierarchy in the [ModelImporter](/engine/6000.5/script-reference/unityeditor/modelimporter.md).
