@jdultra/threedtiles 13.1.3 → 13.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/threedtiles.cjs.js +1 -1
- package/dist/threedtiles.cjs.js.map +1 -1
- package/dist/threedtiles.es.js +40 -40
- package/dist/threedtiles.es.js.map +1 -1
- package/dist/threedtiles.umd.js +1 -1
- package/dist/threedtiles.umd.js.map +1 -1
- package/dist/tileset/TileLoader.d.ts +3 -0
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ export class TileLoader {
|
|
|
23
23
|
* @param {sring} [options.proxy = undefined] - An optional proxy that tile requests will be directed too as POST requests with the actual tile url in the body of the request.
|
|
24
24
|
* @param {KTX2Loader} [options.ktx2Loader = undefined] - A KTX2Loader (three/addons)
|
|
25
25
|
* @param {DRACOLoader} [options.dracoLoader = undefined] - A DRACOLoader (three/addons)
|
|
26
|
+
* @param {number} [options.downloadParallelism = 8] - Maximum number of parallel downloads
|
|
26
27
|
* @param {number} [options.timeout = 5000] - number of milliseconds to keep tiles in cache before clearing
|
|
27
28
|
*/
|
|
28
29
|
constructor(options?: {
|
|
@@ -33,8 +34,10 @@ export class TileLoader {
|
|
|
33
34
|
proxy?: any;
|
|
34
35
|
ktx2Loader?: any;
|
|
35
36
|
dracoLoader?: any;
|
|
37
|
+
downloadParallelism?: number | undefined;
|
|
36
38
|
timeout?: number | undefined;
|
|
37
39
|
} | undefined);
|
|
40
|
+
downloadParallelism: number;
|
|
38
41
|
timeout: number;
|
|
39
42
|
renderer: any;
|
|
40
43
|
zUpToYUpMatrix: THREE.Matrix4;
|