Raanan Weber 5 년 전
부모
커밋
23234f82f9
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 7 2
      src/Cameras/XR/motionController/webXRHTCViveMotionController.ts

+ 7 - 2
src/Cameras/XR/motionController/webXRHTCViveMotionController.ts

@@ -27,10 +27,15 @@ export class WebXRHTCViveMotionController extends WebXRAbstractMotionController
 
     private _modelRootNode: AbstractMesh;
 
+    /**
+     * Create a new Vive motion controller object
+     * @param scene the scene to use to create this controller
+     * @param gamepadObject the corresponding gamepad object
+     * @param handness the handness of the controller
+     */
     constructor(scene: Scene,
         gamepadObject: IMinimalMotionControllerObject,
-        handness: MotionControllerHandness/*,
-        private _legacyMapping: boolean = false*/) {
+        handness: MotionControllerHandness) {
         super(scene, HTCViveLayout[handness], gamepadObject, handness);
     }