Can't find the API information explaining how to access the maps for terrain. All I want to do is apply a basemap by grabbing the Diffuse texture off another object and sticking it on a Terrain object.
It's all in the TerrainData class. However the basemap is not something that can be applied like that; it's calculated from the splatmaps and textures. --Eric
For the sake of completion (in case someone later Googles and finds this thread)... I was looking for the wrong thing in the API. There isn't really a concept of a distinct diffuse base texture in Unity terrain. For color, the terrain simply uses a stack of textures called splatPrototypes. Another thread discusses it here: http://forum.unity3d.com/threads/117310-Programmatically-add-textures-(splat-maps)-to-terrains To get a single texture on a terrain, you've got to add at least one splat prototype.