PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

CopyRegion

Stores a chunk of terrain into a TerrainRegion object so it can be loaded back later. Note: TerrainRegion data does not replicate between server and client.

Parameters

Name Type Default Description

Returns

Return Type Summary

Code Samples


Terrain:CopyRegion

The following code will copy the whole Terrain and clear it.
After 5 seconds it will paste the terrain back.