Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

ModelImporter.meshCompression

var meshCompression: ModelImporterMeshCompression;
meshCompression as ModelImporterMeshCompression

Description

Mesh compression setting.

Compressing meshes saves space in the built game, but more compression introduces more artifacts in vertex data.

See Also: ModelImporterMeshCompression.