Room Builder

<RoomBuilder />

Overview

The <RoomBuilder /> component renders the Threekit Space Builder. By deafault, users will be able to draw their space and add openings/doors/windows.

Code Examples

Basic Setup

❗️

The Space Builder is not currently a feature than can be used on its own. It is dependent on a specific setup in your Threekit org, with a special set of assets.

If you wish to use the Space Builder, then you will need to email [email protected] to walk you through the setup.

Please ensure you are using the latest (beta) version of the Treble package:
npx create-treble-app@latest

The basic implementation of the Player component

import { ThreekitProvider } from "@threekit-tools/treble";
import RoomBuilder from "./components/RoomBuilder";

const App = () => {
  return (
    <ThreekitProvider>
      <RoomBuilder />
    </ThreekitProvider>
  );
};