ModelImporterMeshCompression Manual     Reference     Scripting  
Scripting > Editor Enumerations > ModelImporterMeshCompression
ModelImporterMeshCompression Enumeration

Mesh 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 meshes saves space in the built game, but more compression introduces more artifacts in vertex data.

See Also: ModelImporter.meshCompression.

Values
Off

No mesh compression (default).

Low

Low amount of mesh compression.

Medium

Medium amount of mesh compression.

High

High amount of mesh compression.