ソースを参照

renaming file

Raanan Weber 5 年 前
コミット
721975082d
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/Cameras/XR/features/webXRARHitTest.ts

+ 2 - 2
src/Cameras/XR/features/webXRARHitTest.ts

@@ -16,7 +16,7 @@ export interface XRSession {
 }
 
 export interface WebXRHitTestOptions {
-    testOnlyOnSelect?: boolean;
+    testOnPointerDownOnly?: boolean;
     worldParentNode?: TransformNode;
 }
 
@@ -38,7 +38,7 @@ export class WebXRHitTest implements WebXRFeature {
     private _tmpMatrix = new Matrix();
 
     attachAsync(): Promise<boolean> {
-        if (this.options.testOnlyOnSelect) {
+        if (this.options.testOnPointerDownOnly) {
             this.xrSessionManager.session.addEventListener('select', this.onSelect, false);
         } else {
             // we are in XR space!