Skip to content
Roblox API Reference

TerrainRegion

An object that stores a chunk of terrain voxel data, produced by Terrain:CopyRegion() and consumed by Terrain:PasteRegion().
Memory category
Instances
Own members
10
Inherited members
75
Subclasses
0
Siblings
608

Properties29

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byTerrainRegion6

Property categoryData

  • TerrainRegion.ExtentsMax: Vector3int16 = Vector3int16.new(0, 0, 0)
    • Hidden
    • Not scriptable
    • Capabilities: Environment
  • TerrainRegion.ExtentsMin: Vector3int16 = Vector3int16.new(0, 0, 0)
    • Hidden
    • Not scriptable
    • Capabilities: Environment
  • TerrainRegion.GridV3: string
    • Hidden
    • Not replicated
    • Not scriptable
    • Write only
    • Read capabilities: Environment
    • Load only
  • TerrainRegion.SizeInCells: Vector3 = Vector3.one
    The size of this TerrainRegion in cells.
    • Read only
    • Capabilities: Environment
  • TerrainRegion.SmoothGrid: string = "\u0001\u0005"
    • Hidden
    • Not replicated
    • Not scriptable
    • Read capabilities: Environment
  • TerrainRegion.IsSmooth: boolean = true
    Deprecated: This item is a deprecated function of a legacy Terrain engine that has been removed. Do not use it for new work.
    The state of this property shows whether or not this TerrainRegion contains smooth terrain.
    • Deprecated
    • Read only
    • Read capabilities: Environment

Methods46

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byTerrainRegion4
  • TerrainRegion:ApplyTransform(rotation: CFrame, size: Vector3)
    • Roblox script security
    • Capabilities: Environment
    Parameters
    Parameter
    rotation: CFrame
    size: Vector3
  • TerrainRegion:ApplyTransformSubregion(rotation: CFrame,size: Vector3,region: Region3int16,): TerrainRegion
    • Roblox script security
    • Capabilities: Environment
    Parameters
    Parameter
    rotation: CFrame
    size: Vector3
    region: Region3int16
    Returns
    Type
    TerrainRegion
  • TerrainRegion:GetRegionWireframe(): { any }
    • Roblox script security
    • Capabilities: Environment
    Returns
    Type
    { any }
  • TerrainRegion:ConvertToSmooth()
    Deprecated: This item is a deprecated function of a legacy Terrain engine that has been removed. Do not use it for new work.
    Transforms the TerrainRegion so it can be used with smooth terrain.
    • Deprecated
    • Plugin security
    • Capabilities: Environment

Events10

Inherited fromObject1
Inherited fromInstance9