This API Class does not have any or complete API documentation. Please add API documentation if possible.
Terrain
Legacy Icons These icon(s) are only a part of legacy Roblox Studio versions, or are unused as of the studio icons update .
Memory category
Instances
Object representing a high performance bounded grid of static 4x4 parts. This class cannot be instantiated .
Contents
1 Properties
2 Methods
2.1 AutowedgeCell (x: int , y: int , z: int ): bool
2.2 AutowedgeCells (region: Region3int16 ): null
2.3 CanShorelinesBeUpgraded (): bool
2.4 CanSmoothVoxelsBeUpgraded (): bool
2.5 CellCenterToWorld (x: int , y: int , z: int ): Vector3
2.6 CellCornerToWorld (x: int , y: int , z: int ): Vector3
2.7 Clear (): null
2.8 ConvertToSmooth (): null
2.9 CopyRegion (region: Region3int16 ): TerrainRegion
2.10 CountCells (): int
2.11 FillBall (center: Vector3 , radius: float , material: Material ): null
2.12 FillBlock (cframe: CFrame , size: Vector3 , material: Material ): null
2.13 FillCylinder (cframe: CFrame , height: float , radius: float , material: Material ): null
2.14 FillRegion (region: Region3 , resolution: float , material: Material ): null
2.15 FillWedge (cframe: CFrame , size: Vector3 , material: Material ): null
2.16 GetCell (x: int , y: int , z: int ): Tuple
2.17 GetMaterialColor (material: Material ): Color3
2.18 GetTerrainWireframe (cframe: CFrame , size: Vector3 ): Array
2.19 GetWaterCell (x: int , y: int , z: int ): Tuple
2.20 PasteRegion (region: TerrainRegion , corner: Vector3int16 , pasteEmptyCells: bool ): null
2.21 ReadVoxels (region: Region3 , resolution: float ): Tuple
2.22 ReplaceMaterial (region: Region3 , resolution: float , sourceMaterial: Material , targetMaterial: Material ): null
2.23 ReplaceMaterialInTransform (cframe: CFrame , size: Vector3 , sourceMaterial: Material , targetMaterial: Material ): null
2.24 ReplaceMaterialInTransformSubregion (cframe: CFrame , size: Vector3 , sourceMaterial: Material , targetMaterial: Material , targetRegion: Region3int16 ): null
2.25 SetCell (x: int , y: int , z: int , material: CellMaterial , block: CellBlock , orientation: CellOrientation ): null
2.26 SetCells (region: Region3int16 , material: CellMaterial , block: CellBlock , orientation: CellOrientation ): null
2.27 SetMaterialColor (material: Material , value: Color3 ): null
2.28 SetMaterialInTransform (cframe: CFrame , size: Vector3 , targetMaterial: Material ): null
2.29 SetMaterialInTransformSubregion (cframe: CFrame , size: Vector3 , targetMaterial: Material , targetRegion: Region3int16 ): null
2.30 SetWaterCell (x: int , y: int , z: int , force: WaterForce , direction: WaterDirection ): null
2.31 SmoothRegion (region: Region3 , resolution: float , strength: float ): Tuple
2.32 WorldToCell (position: Vector3 ): Vector3
2.33 WorldToCellPreferEmpty (position: Vector3 ): Vector3
2.34 WorldToCellPreferSolid (position: Vector3 ): Vector3
2.35 WriteVoxels (region: Region3 , resolution: float , materials: Array , occupancy: Array ): null
3 Removed members
4 External links
Properties
Category: Appearance.
Serialization: can save and load.
Thread safety: read safe
Category: Appearance.
Serialization: can save and load.
Thread safety: read safe
Category: Data.
Serialization: cannot load or save.
Thread safety: read safe
Category: Data.
Read security: RobloxScriptSecurity.
Write security: RobloxScriptSecurity.
Serialization: cannot load or save.
Thread safety: read safe
Category: Appearance.
Serialization: can save and load.
Thread safety: read safe
Category: Data.
Serialization: cannot load or save.
Thread safety: read safe
Category: Appearance.
Read security: RobloxScriptSecurity.
Write security: RobloxScriptSecurity.
Serialization: can save and load.
Thread safety: read safe
Category: Appearance.
Read security: RobloxScriptSecurity.
Write security: RobloxScriptSecurity.
Serialization: can save and load.
Thread safety: read safe
Category: Appearance.
Serialization: can save and load.
Thread safety: read safe
Category: Appearance.
Serialization: can save and load.
Thread safety: read safe
Category: Appearance.
Serialization: can save and load.
Thread safety: read safe
Category: Appearance.
Serialization: can save and load.
Thread safety: read safe
Category: Appearance.
Serialization: can save and load.
Thread safety: read safe
Methods
AutowedgeCell (x : int , y : int , z : int ): bool
Parameters Name Type x int y int z int
Security: RobloxScriptSecurity.
Thread safety: unsafe
Security: RobloxScriptSecurity.
Thread safety: unsafe
Parameters Name Type x int y int z int
Parameters Name Type x int y int z int
Clears all existing terrain voxels.
Was previously used to convert legacy terrain to smooth terrain technology. This method no longer does anything when called because legacy terrain has been removed.
Security: PluginSecurity.
Thread safety: unsafe
GetCell (x : int , y : int , z : int ): Tuple
Parameters Name Type x int y int z int
Parameters Name Type cframe CFrame size Vector3
Security: RobloxScriptSecurity.
Thread safety: unsafe
GetWaterCell (x : int , y : int , z : int ): Tuple
Parameters Name Type x int y int z int
Parameters Name Type cframe CFrame size Vector3 targetMaterial Material
Security: RobloxScriptSecurity.
Thread safety: unsafe
SmoothRegion (region : Region3 , resolution : float , strength : float ): Tuple
Parameters Name Type region Region3 resolution float strength float
Security: RobloxScriptSecurity.
Thread safety: safe
WriteVoxels (region : Region3 , resolution : float , materials : Array , occupancy : Array ): null
Parameters Name Type region Region3 resolution float materials Array occupancy Array
Removed members
Methods
breakJoints
BreakJoints
CancelImportHeightmap
clone
Clone
destroy
Destroy
HideTerrainRegion
ImportHeightmap
ImportHeightMap
makeJoints
MakeJoints
resize
Resize
SetImportHeightmapPaused
SetTerrainRegion
SetWireframeRegion
ShowTerrainRegion
Properties
Anchored
Archivable
BrickColor
CanCollide
CFrame
DebugAnimation
Elasticity
Friction
Locked
Material
Name
Position
Reflectance
RotVelocity
Transparency
Velocity
Events
External links [ ]