HeightmapImporterService¶
A Studio-only service that backs the Terrain Editor's heightmap import tool, converting heightmap and colormap images into voxel Terrain.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
Description¶
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.
Inheritance¶
Object → Instance → HeightmapImporterService
Methods¶
| Member | Signature | Summary |
|---|---|---|
CancelImportHeightmap |
HeightmapImporterService:CancelImportHeightmap(): null |
— |
GetHeightmapPreviewAsync |
HeightmapImporterService:GetHeightmapPreviewAsync(heightmapAssetId: ContentId): Tuple |
— |
ImportHeightmap |
HeightmapImporterService:ImportHeightmap(region: Region3, heightmapAssetId: ContentId, colormapAssetId: ContentId, defaultMaterial: Material): null |
— |
IsValidColormap |
HeightmapImporterService:IsValidColormap(colormapAssetId: ContentId): Tuple |
— |
IsValidHeightmap |
HeightmapImporterService:IsValidHeightmap(heightmapAssetId: ContentId): Tuple |
— |
SetImportHeightmapPaused |
HeightmapImporterService:SetImportHeightmapPaused(paused: bool): null |
— |
Events¶
| Member | Signature | Summary |
|---|---|---|
ColormapHasUnknownPixels |
ColormapHasUnknownPixels() |
— |
ProgressUpdate |
ProgressUpdate(progressRatio: float, operation: string) |
— |
Roblox reference: HeightmapImporterService
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.