Version: 2019.1
public void UpdateDirtyRegion (int x, int y, int width, int height, bool syncHeightmapTextureImmediately);

パラメーター

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.
syncHeightmapTextureImmediatelyUpdate immediately, instead of deferring the update.

説明

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

This function is obsolete. Use either CopyActiveRenderTextureToHeightmap or DirtyHeightmapRegion instead.

Invoke this function whenever custom Terrain heightmap paint tools modify the heightmap, to let Unity integrate the changes such as physics and collision updates.