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

+ 1 - 0
src/XR/features/WebXRControllerPointerSelection.ts

@@ -214,6 +214,7 @@ export class WebXRControllerPointerSelection extends WebXRAbstractFeature {
      * Will get the mesh under a specific pointer.
      * Will get the mesh under a specific pointer.
      * `scene.meshUnderPointer` will only return one mesh - either left or right.
      * `scene.meshUnderPointer` will only return one mesh - either left or right.
      * @param controllerId the controllerId to check
      * @param controllerId the controllerId to check
+     * @returns The mesh under pointer or null if no mesh is under the pointer
      */
      */
     public getMeshUnderPointer(controllerId: string): Nullable<AbstractMesh> {
     public getMeshUnderPointer(controllerId: string): Nullable<AbstractMesh> {
         if (this._controllers[controllerId]) {
         if (this._controllers[controllerId]) {