ModelImporterAnimationCompression Manual     Reference     Scripting  
Scripting > Editor Enumerations > ModelImporterAnimationCompression
ModelImporterAnimationCompression Enumeration

Animation compression 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.

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

See Also: ModelImporter.animationCompression.


No animation compression.


Perform keyframe reduction (default).


Perform keyframe reduction and compression.