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.
      * `scene.meshUnderPointer` will only return one mesh - either left or right.
      * @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> {
         if (this._controllers[controllerId]) {