# ModelImporterGenerateAnimations

> Animation generation options for ModelImporter. These options relate to the legacy Animation system, they should only be used when ModelImporter.animationType==ModelImporterAnimationType.Legacy.

## Definition

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

```csharp
public enum ModelImporterGenerateAnimations
```

## Remarks

Additional Resources: [ModelImporter.generateAnimations](/engine/6000.7/script-reference/unityeditor/modelimporter/generateanimations.md).

## Fields

| Value                                                                                                                   | Description                                                                   |
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [GenerateAnimations](/engine/6000.7/script-reference/unityeditor/modelimportergenerateanimations/generateanimations.md) | Default animation import mode (All animations are stored in the root object). |
| [InNodes](/engine/6000.7/script-reference/unityeditor/modelimportergenerateanimations/innodes.md)                       | Generate animations in the objects that animate.                              |
| [InOriginalRoots](/engine/6000.7/script-reference/unityeditor/modelimportergenerateanimations/inoriginalroots.md)       | Generate animations in the root objects of the animation package.             |
| [InRoot](/engine/6000.7/script-reference/unityeditor/modelimportergenerateanimations/inroot.md)                         | Generate animations in the transform root objects.                            |
| [None](/engine/6000.7/script-reference/unityeditor/modelimportergenerateanimations/none.md)                             | Do not generate animations.                                                   |
