ModelImporterGenerateAnimations Enumeration

Animation generation options for ModelImporter.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

See Also: ModelImporter.generateAnimations.

Values
None

Do not generate animations.

GenerateAnimations

Default animation import mode (All animations are stored in the root object)

InRoot

Generate animations in the transform root objects.

InOriginalRoots

Generate animations in the root objects of the animation package.

InNodes

Generate animations in the objects that animate.