Sidebar.Properties.js 589 B

12345678910111213141516171819
  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. container.select( 'object' );
  12. return container;
  13. };