瀏覽代碼

Updated function doc

Michael Smith 6 年之前
父節點
當前提交
f745b5ccae
共有 1 個文件被更改,包括 1 次插入0 次删除
  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();