# TreePrototype

> Simple class that contains a pointer to a tree prototype.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TerrainModule

```csharp
public sealed class TreePrototype
```

## Remarks

This class is used by the TerrainData gameObject.

## Properties

| Property                                                                              | Description                                                                                                                                                          |
| ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bendFactor](/engine/6000.6/script-reference/unityengine/treeprototype/bendfactor.md) | Bend factor of the tree prototype.                                                                                                                                   |
| [navMeshLod](/engine/6000.6/script-reference/unityengine/treeprototype/navmeshlod.md) | The LOD index of a Tree LODGroup that Unity uses to generate a NavMesh. It uses this value only for Trees with a LODGroup, and ignores this value for regular Trees. |
| [prefab](/engine/6000.6/script-reference/unityengine/treeprototype/prefab.md)         | Retrieves the actual GameObject used by the tree.                                                                                                                    |
