# PaintTreesDetailsContext

> Represents a context object for information used when scattering trees and detail objects across terrains.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.TerrainTools](/engine/6000.7/script-reference/unityeditor/terraintools.md)
* **Assembly:** UnityEditor

```csharp
public class PaintTreesDetailsContext
```

## Properties

| Property                                                                                                                  | Description                  |
| ------------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| [neighborTerrains](/engine/6000.7/script-reference/unityeditor/terraintools/painttreesdetailscontext/neighborterrains.md) | Neighboring terrain objects. |
| [neighborUvs](/engine/6000.7/script-reference/unityeditor/terraintools/painttreesdetailscontext/neighboruvs.md)           | Neighboring terrain UVs.     |

## Static Methods

| Method                                                                                                | Description                                          |
| ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| [Create](/engine/6000.7/script-reference/unityeditor/terraintools/painttreesdetailscontext/create.md) | Initializes and returns a scattering context object. |
