MapScene
Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.
Up and coming
Turn a Roblox place into a top-down map: group its parts into layers, scatter fills, drape sheets and hand the scene to Blender.
A MapScene lives in the project tree. Its children are MapLayers, and Folders whose names prefix their layers' names. ResAreas mark where resolution goes, and CompileAsync streams the scene file Blender renders, in chunks, since it can run to hundreds of MB. A MapLayerExport under it turns each rendered layer into sheets and a height map.
Made with Instance.new("MapScene") or Clone().
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| GroundLevel | number | ||
| ZIndex | number | Higher draws on top and wins the height lookup. | |
| Quality | number | 2.5 by default. | |
| OutputResolution | number | 1.2 by default. | |
| HeightmapResolution | number | 0.1 by default. | |
| LowResAreaScale | number | 0.5 by default. | |
| ShiftWeight | number | 0.1 by default. | |
| ResAreas | { { Rect: Rect, HighRes: boolean } } | The resolution areas; a MapLayerExport crops by them and shrinks the ones not marked HighRes. |
Methods
| Name | Arguments | Returns | Description |
|---|---|---|---|
| GetBounds | () | (Vector3, Vector3) | |
| CompileAsync yields | (path: string | PathHandler) | (boolean, string?) | Streams the scene file Blender renders to the path, written in chunks since it can run to hundreds of MB. |
Events
| Name | Passes | Description |
|---|---|---|
| Progress | (string, number, number) | Fires as work goes, passing a stage name, the count done and the total. |
From ShotInstance 33
ClassNameNameParentAncestryChangedAttributeChangedChangedChildAddedChildRemovedDestroyingAddTagClearAllChildrenCloneDestroyFindFirstAncestorFindFirstAncestorOfClassFindFirstAncestorWhichIsAFindFirstChildFindFirstChildOfClassFindFirstChildWhichIsAGetAttributeGetAttributeChangedSignalGetAttributesGetChildrenGetDescendantsGetFullNameGetPropertyChangedSignalGetTagsHasTagIsAIsAncestorOfIsDescendantOfRemoveTagSetAttribute
