Sfoglia il codice sorgente

Updated function doc

Michael Smith 6 anni fa
parent
commit
f745b5ccae
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/Behaviors/Meshes/pointerDragBehavior.ts

+ 1 - 0
src/Behaviors/Meshes/pointerDragBehavior.ts

@@ -142,6 +142,7 @@ export class PointerDragBehavior implements Behavior<AbstractMesh> {
     /**
      * Attaches the drag behavior the passed in mesh
      * @param ownerNode The mesh that will be dragged around once attached
+     * @param predicate Predicate to use for pick filtering
      */
     public attach(ownerNode: AbstractMesh, predicate?: (m: AbstractMesh) => boolean): void {
         this._scene = ownerNode.getScene();