Sidebar.Properties.js 558 B

123456789101112131415161718
  1. /**
  2. * @author mrdoob / http://mrdoob.com/
  3. */
  4. Sidebar.Properties = function ( editor ) {
  5. var strings = editor.strings;
  6. var container = new UI.TabbedPanel();
  7. container.setId( 'properties' );
  8. container.addTab( 'object', strings.getKey( 'sidebar/properties/object' ), new Sidebar.Object( editor ) );
  9. container.addTab( 'geometry', strings.getKey( 'sidebar/properties/geometry' ), new Sidebar.Geometry( editor ) );
  10. container.addTab( 'material', strings.getKey( 'sidebar/properties/material' ), new Sidebar.Material( editor ) );
  11. return container;
  12. };