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.optimizeMesh

var optimizeMesh: bool;
bool optimizeMesh;
optimizeMesh as bool

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.