Skip to content

Service · inherits Instance

HeightmapImporterService

Official docs ↗

A Studio-only service that backs the Terrain Editor's heightmap import tool, converting heightmap and colormap images into voxel Terrain.

About HeightmapImporterService

Studio-only Terrain Editor service; members require elevated security and are not callable from experience scripts. Powers Import Heightmap: given a Region3 and the asset IDs of a grayscale heightmap plus an optional colormap, samples the images and generates smooth-voxel Terrain in that region — heightmap luminance drives height; colormap colors map to the nearest terrain Material, falling back to a supplied default and warning when too many pixels are unmatched.

HeightmapImporterService 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.