@jdultra/threedtiles 13.0.12 → 13.0.13
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/splats/SplatsMesh.d.ts +1 -1
- package/dist/threedtiles.cjs.js +33 -19
- package/dist/threedtiles.cjs.js.map +1 -1
- package/dist/threedtiles.es.js +653 -639
- package/dist/threedtiles.es.js.map +1 -1
- package/dist/threedtiles.umd.js +34 -20
- package/dist/threedtiles.umd.js.map +1 -1
- package/dist/tileset/OGC3DTile.d.ts +2 -0
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ export class OGC3DTile extends THREE.Object3D<THREE.Object3DEventMap> {
|
|
|
34
34
|
* @param {Number} [properties.distanceBias = 1] - optional a bias that allows loading more or less detail closer to the camera relative to far away. The value should be a positive number. A value below 1 loads less detail near the camera and a value above 1 loads more detail near the camera. This needs to be compensated by the geometricErrorMultiplier in order to load a reasonable number of tiles.
|
|
35
35
|
* @param {String} [properties.loadingStrategy = "INCREMENTAL"] - optional a strategy for loading tiles "INCREMENTAL" loads intermediate LODs while "IMMEDIATE" skips intermediate LODs.
|
|
36
36
|
* @param {String} [properties.drawBoundingVolume = false] - optional draws the bounding volume (may cause flickering)
|
|
37
|
+
* @param {String} [properties.splatsFragmentShader = undefined] - optional pass a custom fragment shader for rendering splats
|
|
37
38
|
*/
|
|
38
39
|
constructor(properties?: {
|
|
39
40
|
url?: string | undefined;
|
|
@@ -64,6 +65,7 @@ export class OGC3DTile extends THREE.Object3D<THREE.Object3DEventMap> {
|
|
|
64
65
|
distanceBias?: number | undefined;
|
|
65
66
|
loadingStrategy?: string | undefined;
|
|
66
67
|
drawBoundingVolume?: string | undefined;
|
|
68
|
+
splatsFragmentShader?: string | undefined;
|
|
67
69
|
} | undefined);
|
|
68
70
|
splatsMesh: any;
|
|
69
71
|
contentURL: any[];
|