Log inGet started
Package

gallery.module

This package holds more than this page lists. See all of its files in its world.

README.md

gallery

require("crashLab.gallery") — builds every crashLab hall style side by side for comparison: Gallery.build(opts) calls Lab.build once per style (default Lab.STYLES: modern, classic, night) at spacing metres apart along X (default 60, centred on origin), adds an ambient light for one style only (ambientStyle, default the first), and puts a large in-world Text3D name label in each hall (hung over the track, above the clear space) and on each roof. It returns { root, halls, order, labels, cameraSpots }, where cameraSpots.overview sees all three roofs from outside and cameraSpots[style] looks down that hall past its label. A rebuild replaces a gallery of the same name under the same parent (a scene's build.luau passes replace = false: there the bake diffs its own entities and refuses a despawn); Gallery.clear(root) removes it. Used by examples/labGallery.scene.