Move transformation to TerrainData.