Version: 2018.4

TerrainData.UpdateDirtyRegion(int,int,int,int)

マニュアルに切り替える

パラメーター

xStart X position of the dirty heightmap region.
yStart Y position of the dirty heightmap region.
widthWidth of the the dirty heightmap region.
heightWidth of the the dirty heightmap region.

説明

Triggers an update to integrate modifications done to the heightmap outside of unity.

Invoke this whenever custom custom terrain heightmap paint tools modify the heightmap to let Unity integrate the changes (update collision, physics, etc ).