---
title: materials
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/textcore/generation/textmesh/materials
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/textcore/generation/textmesh/materials.md
last_updated: 2026-10-07
generated_at: 2026-11-11T14:37:36.927Z
locale: en-us
---

# materials

> The material of each sub-mesh, in sub-mesh order, ready to assign to the renderer that draws the filled mesh.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.TextCore.Generation](/engine/7000.0/script-reference/unityengine/textcore/generation.md)
* **Assembly:** UnityEngine.TextCoreTextEngineModule

```csharp
public Material[] materials
```
