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

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.

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