Skip to main content

Configure the Scene

Use the updateConfig function to control what parts of the scene you would like enable/disabled.

app.on("loaded", async function () {

app.updateConfig({
scene: {
showRoof: true,
showWalls: true,
showLand: false,
showSky: false,
showInsulation: true,
showStructure: true,

showRotationText: true,
showMeasurements: true,
backgroundColour: "#ffffff",
view: "Edit", // "Edit" | "Plan" | "Floor"
transparent: false
}
})
});

Headless Mode

When creating the app, pass in headless: true to disable all UI elements. This can be useful if you would like to make a scope of works application.

var app = new unda.App("shed-root", {
customer: "unda",
headless: true
});