x | Start X position of the dirty heightmap region. |
y | Start Y position of the dirty heightmap region. |
width | Width of the the dirty heightmap region. |
height | Width of the the dirty heightmap region. |
syncHeightmapTextureImmediately | Update 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.