소스 검색

documentation

Raanan Weber 5 년 전
부모
커밋
72544f0e8c
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/Cameras/XR/webXRController.ts

+ 5 - 0
src/Cameras/XR/webXRController.ts

@@ -19,6 +19,11 @@ export class WebXRController {
     public pointer: AbstractMesh;
 
     private _gamepadMode = false;
+    /**
+     * If available, this is the gamepad object related to this controller.
+     * Using this object it is possible to get click events and trackpad changes of the
+     * webxr controller that is currently being used.
+     */
     public gamepadController?: WebVRController;
 
     /**