Explorar el Código

Updated function doc

Michael Smith hace 6 años
padre
commit
f745b5ccae
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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();