Skip to content

Class · inherits Instance

TerrainRegion

Official docs ↗

An object that stores a chunk of terrain voxel data, produced by Terrain.CopyRegion and consumed by Terrain.PasteRegion.

About TerrainRegion

A TerrainRegion is a snapshot of Terrain retrieved from the Terrain.CopyRegion method. Can be later pasted into the Terrain using Terrain.PasteRegion.

Properties 1

  • SizeInCells: Vector3ReadOnlyNotReplicatedThe size of this TerrainRegion in cells.

    Returns a Vector3 whose components indicate the number of terrain cells along each axis of the stored region. Each terrain cell occupies 4 studs in world space, so multiplying by 4 gives the region's world-space dimensions. The value is set when the region is captured by Terrain.CopyRegion and cannot be changed afterward.

TerrainRegion also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.