|
@@ -3,7 +3,7 @@
|
|
|
* Copyright 2010-2024 Three.js Authors
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
*/
|
|
|
-const REVISION = '165';
|
|
|
+const REVISION = '166dev';
|
|
|
|
|
|
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
|
|
|
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
|
|
@@ -26567,6 +26567,12 @@ class WebXRDepthSensing {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ getDepthTexture() {
|
|
|
+
|
|
|
+ return this.texture;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
class WebXRManager extends EventDispatcher {
|
|
@@ -26936,6 +26942,12 @@ class WebXRManager extends EventDispatcher {
|
|
|
|
|
|
};
|
|
|
|
|
|
+ this.getDepthTexture = function () {
|
|
|
+
|
|
|
+ return depthSensing.getDepthTexture();
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
function onInputSourcesChange( event ) {
|
|
|
|
|
|
// Notify disconnected
|