Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


indexFormat

Format of the imported mesh index buffer data.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public ModelImporterIndexFormat indexFormat { get; set; }

Remarks

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.