lythreeframe 1.2.44 → 1.2.45
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.
package/dist/bundle.cjs.js
CHANGED
|
@@ -1509,6 +1509,9 @@ class Viewport {
|
|
|
1509
1509
|
get canvas() {
|
|
1510
1510
|
return this._canvasContainer;
|
|
1511
1511
|
}
|
|
1512
|
+
get outer() {
|
|
1513
|
+
return this._outerContainer;
|
|
1514
|
+
}
|
|
1512
1515
|
get renderer() {
|
|
1513
1516
|
if (!this._renderer) {
|
|
1514
1517
|
throw Error("Renderer is not initialized");
|
|
@@ -1817,7 +1820,7 @@ class Viewport {
|
|
|
1817
1820
|
if (this.postProcessing) {
|
|
1818
1821
|
this.postProcessing.render();
|
|
1819
1822
|
}
|
|
1820
|
-
else {
|
|
1823
|
+
else {
|
|
1821
1824
|
this.renderer.render(this.app.world.scene, this.app.camera);
|
|
1822
1825
|
}
|
|
1823
1826
|
if (this.labelRenderer) {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -1507,6 +1507,9 @@ class Viewport {
|
|
|
1507
1507
|
get canvas() {
|
|
1508
1508
|
return this._canvasContainer;
|
|
1509
1509
|
}
|
|
1510
|
+
get outer() {
|
|
1511
|
+
return this._outerContainer;
|
|
1512
|
+
}
|
|
1510
1513
|
get renderer() {
|
|
1511
1514
|
if (!this._renderer) {
|
|
1512
1515
|
throw Error("Renderer is not initialized");
|
|
@@ -1815,7 +1818,7 @@ class Viewport {
|
|
|
1815
1818
|
if (this.postProcessing) {
|
|
1816
1819
|
this.postProcessing.render();
|
|
1817
1820
|
}
|
|
1818
|
-
else {
|
|
1821
|
+
else {
|
|
1819
1822
|
this.renderer.render(this.app.world.scene, this.app.camera);
|
|
1820
1823
|
}
|
|
1821
1824
|
if (this.labelRenderer) {
|
|
@@ -7,6 +7,7 @@ export declare class Viewport {
|
|
|
7
7
|
get uiDom(): HTMLDivElement | null;
|
|
8
8
|
protected _uiDom: HTMLDivElement | null;
|
|
9
9
|
get canvas(): HTMLElement | null;
|
|
10
|
+
get outer(): HTMLElement | null;
|
|
10
11
|
get renderer(): WebGPURenderer;
|
|
11
12
|
get app(): ThreeJsApp;
|
|
12
13
|
private _renderer;
|