Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

ModelImporter.optimizeMesh

public bool optimizeMesh;

Description

Vertex optimization setting.

The vertices and indices will be reordered for better GPU performance. Techniques that require strict vertex ordering like mesh morphing or special particle mesh emitter effects should have this option disabled.

Did you find this page useful? Please give it a rating: