# indexFormat

> Format of the imported mesh index buffer data.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
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](/engine/6000.5/script-reference/unityeditor/modelimporterindexformat/auto.md), which picks format based on vertex count in the mesh.

Additional Resources: [ModelImporterIndexFormat](/engine/6000.5/script-reference/unityeditor/modelimporterindexformat.md), [Mesh.indexFormat](/engine/6000.5/script-reference/unityengine/mesh/indexformat.md).
