Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ModelImporterAnimationCompression

enumeration

Description

Animation compression options for ModelImporter.

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

See Also: ModelImporter.animationCompression.

Variables

OffNo animation compression.
KeyframeReductionPerform keyframe reduction.
KeyframeReductionAndCompressionPerform keyframe reduction and compression.
OptimalPerform keyframe reduction and choose the best animation curve representation at runtime to reduce memory footprint (default).