ViewAR Room Planner
The room planner included in ViewAR's base6 template and sample app. To use this package you need to have the ViewAR API installed (https://www.npmjs.com/package/viewar-api).
;;await viewarApi;const roomPlanner = ;
Attach to a canvas:
// editor: The editor's div element.// canvas: The canvas element to draw on.// 'touchable': The html class that is touchable (for inserting windows or doors).roomPlanner;
Export state to use with ViewAR SDK:
// Get state.const exportState = roomPlanner;// Create 3d representation.await viewarApiroomManager;