Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

ModelImporter.indexFormat

public ModelImporterIndexFormat indexFormat;

Description

Format of the imported mesh index buffer data.

Index buffer can either be 16 bit (supports up to 65535 vertices in a mesh), or 32 bit (supports up to 4 billion vertices). Default behavior is ModelImporterIndexFormat.Auto, which picks format based on vertex count in the mesh.

See Also: ModelImporterIndexFormat, Mesh.indexFormat.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答