> For the complete documentation index, see [llms.txt](https://amazing-assets.gitbook.io/terrain-to-mesh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://amazing-assets.gitbook.io/terrain-to-mesh/run-time-api/terraintomesh/hasprototypes.md).

# HasPrototypes

### Has Prototypes

```csharp
bool HasPrototypes(TerrainToMeshEnum.Prototype prototype)
```

Checks if [TerrainData](https://docs.unity3d.com/ScriptReference/TerrainData.html) has prototypes (tree, grass or detail mesh)?

***

```csharp
bool HasPrototypes(TerrainToMeshEnum.Prototype prototype, int splitCountHorizontal, int splitCountVertical, int splitColumnIndex, int splitRowIndex)
```

Checks if multi-chunk 2D grid mesh with index *<mark style="color:blue;">splitColumnIndex</mark>* and *<mark style="color:blue;">splitRowIndex</mark>* has prototypes?
