TerrainRegion¶
An object that stores a chunk of terrain voxel data, produced by Terrain.CopyRegion() and consumed by Terrain.PasteRegion().
Description¶
A TerrainRegion is a snapshot of Terrain retrieved from the Terrain.CopyRegion() method. Can be later pasted into the Terrain using Terrain.PasteRegion().
Inheritance¶
Object → Instance → TerrainRegion
Nova inheritance: Instance → TerrainRegion
Properties¶
IsSmooth Supported Property Deprecated The state of this property shows whether or not this TerrainRegion contains _smooth terrain_.
The state of this property shows whether or not this TerrainRegion contains smooth terrain.
SizeInCells Supported Property The size of this TerrainRegion in cells.
The 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.
Methods¶
ConvertToSmooth Supported Function Deprecated Transforms the TerrainRegion so it can be used with smooth terrain.
Transforms the TerrainRegion so it can be used with smooth terrain.
Calling this method transforms the TerrainRegion into a TerrainRegion usable for Terrain. This can only be done from a plugin, when in edit mode.
The game can't be running, nor can it have a NetworkServer.
PluginSecurityInherited members¶
Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.
3 modern Roblox member(s) are not implemented yet — expand to inspect
Members declared by Roblox's TerrainRegion class (or by a missing base class) that Nova does not expose. Use this list to scope a migration; the compatibility guide has the recommended workaround.
Methods¶
| Member | Signature | Status | Notes | Flags |
|---|---|---|---|---|
ApplyTransform |
TerrainRegion:ApplyTransform(rotation: CFrame, size: Vector3): null |
Not yet | — | RobloxScriptSecurity |
ApplyTransformSubregion |
TerrainRegion:ApplyTransformSubregion(rotation: CFrame, size: Vector3, region: Region3int16): TerrainRegion |
Not yet | — | RobloxScriptSecurity |
GetRegionWireframe |
TerrainRegion:GetRegionWireframe(): Array |
Not yet | — | RobloxScriptSecurity |
Roblox reference: TerrainRegion
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.