Raanan Weber %!s(int64=5) %!d(string=hai) anos
pai
achega
100da08881
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/Inputs/scene.inputManager.ts

+ 2 - 1
src/Inputs/scene.inputManager.ts

@@ -125,8 +125,9 @@ export class InputManager {
     /**
      * When using more than one pointer (for example in XR) you can get the mesh under the specific pointer
      * @param pointerId the pointer id to use
+     * @returns The mesh under this pointer id or null if not found
      */
-    public getMeshUnderPointerByPointerId(pointerId: number) {
+    public getMeshUnderPointerByPointerId(pointerId: number): Nullable<AbstractMesh> {
         return this._meshUnderPointerId[pointerId];
     }