@thatopen/components 2.3.0-alpha.5 → 2.3.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,8 @@ import { SimpleSceneConfig, SimpleSceneConfigManager } from "./simple-scene-conf
6
6
  * A basic 3D [scene](https://threejs.org/docs/#api/en/scenes/Scene) to add objects hierarchically, and easily dispose them when you are finished with it.
7
7
  */
8
8
  export declare class SimpleScene extends BaseScene implements Configurable<SimpleSceneConfigManager, SimpleSceneConfig> {
9
+ /** {@link Configurable.onSetup} */
10
+ readonly onSetup: Event<unknown>;
9
11
  /** {@link Configurable.isSetup} */
10
12
  isSetup: boolean;
11
13
  /**
@@ -13,12 +15,11 @@ export declare class SimpleScene extends BaseScene implements Configurable<Simpl
13
15
  * It is used to define the 3D space containing objects, lights, and cameras.
14
16
  */
15
17
  three: THREE.Scene;
16
- /** {@link Configurable.onSetup} */
17
- readonly onSetup: Event<SimpleScene>;
18
18
  /** {@link Configurable.config} */
19
19
  config: SimpleSceneConfigManager;
20
20
  protected _defaultConfig: SimpleSceneConfig;
21
21
  constructor(components: Components);
22
22
  /** {@link Configurable.setup} */
23
23
  setup(config?: Partial<SimpleSceneConfig>): void;
24
+ dispose(): void;
24
25
  }
@@ -10,3 +10,4 @@ export * from "./Cullers";
10
10
  export * from "./Viewpoints";
11
11
  export * from "./MiniMap";
12
12
  export * from "./OrthoPerspectiveCamera";
13
+ export * from "./ConfigManager";