Sidebar.Project.js 715 B

12345678910111213141516171819202122232425262728
  1. import { UISpan } from './libs/ui.js';
  2. import { SidebarProjectApp } from './Sidebar.Project.App.js';
  3. /* import { SidebarProjectMaterials } from './Sidebar.Project.Materials.js'; */
  4. import { SidebarProjectRenderer } from './Sidebar.Project.Renderer.js';
  5. import { SidebarProjectVideo } from './Sidebar.Project.Video.js';
  6. function SidebarProject( editor ) {
  7. const container = new UISpan();
  8. container.add( new SidebarProjectRenderer( editor ) );
  9. /* container.add( new SidebarProjectMaterials( editor ) ); */
  10. container.add( new SidebarProjectApp( editor ) );
  11. if ( 'SharedArrayBuffer' in window ) {
  12. container.add( new SidebarProjectVideo( editor ) );
  13. }
  14. return container;
  15. }
  16. export { SidebarProject };