소스 검색

Documenting the new function

Raanan Weber 7 년 전
부모
커밋
a53f1d11a9
2개의 변경된 파일3869개의 추가작업 그리고 3863개의 파일을 삭제
  1. 3863 3863
      dist/preview release/babylon.d.ts
  2. 6 0
      src/babylon.scene.ts

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3863 - 3863
dist/preview release/babylon.d.ts


+ 6 - 0
src/babylon.scene.ts

@@ -4230,6 +4230,12 @@
         }
 
         // Octrees
+        /**
+         * Get the world extend vectors with an optional filter
+         * 
+         * @param {(mesh: AbstractMesh) => boolean} [filterPredicate] the predicate - which meshes should be included when calculating the world size
+         * @returns {{ min: Vector3; max: Vector3 }} min and max vectors
+         */
         public getWorldExtends(filterPredicate?: (mesh: AbstractMesh) => boolean): { min: Vector3; max: Vector3 } {
             var min = new Vector3(Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE);
             var max = new Vector3(-Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE);