Unity - Scripting API: ModelImporterAnimationCompression
enumeration
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Compressing animations saves space in the built game, but more compression introduces more artifacts in the animations.
Additional resources: ModelImporter.animationCompression.
Properties
| Property | Description |
|---|---|
| Off | No animation compression. |
| KeyframeReduction | Perform keyframe reduction. |
| KeyframeReductionAndCompression | Perform keyframe reduction and compression. |
| Optimal | Perform keyframe reduction and choose the best animation curve representation at runtime to reduce memory footprint (default). |