@navaramap/engine 0.1.1 → 0.2.0

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/navara_wasm.js CHANGED
@@ -162,6 +162,32 @@ export class BillboardMaterial {
162
162
  const ret = wasm.__wbg_get_billboardmaterial_alphaTest(this.__wbg_ptr);
163
163
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
164
164
  }
165
+ /**
166
+ * Whether faces seen from behind are culled. Default is false, so a
167
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
168
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
169
+ * over the horizon, which face away from the camera.
170
+ * @returns {boolean | undefined}
171
+ */
172
+ get backfaceCulling() {
173
+ const ret = wasm.__wbg_get_billboardmaterial_backfaceCulling(this.__wbg_ptr);
174
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
175
+ }
176
+ /**
177
+ * Whether the sprite stands up (`"upright"`, the default) or lies on the
178
+ * globe surface around its anchor (`"flat"`). Pair with
179
+ * `rotateWithCamera`.
180
+ * @returns {string | undefined}
181
+ */
182
+ get billboardFacing() {
183
+ const ret = wasm.__wbg_get_billboardmaterial_billboardFacing(this.__wbg_ptr);
184
+ let v1;
185
+ if (ret[0] !== 0) {
186
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
187
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
188
+ }
189
+ return v1;
190
+ }
165
191
  /**
166
192
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
167
193
  * Default is (0.0, 0.0) which means the center of the sprite.
@@ -233,7 +259,7 @@ export class BillboardMaterial {
233
259
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
234
260
  }
235
261
  /**
236
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
262
+ * Emissive glow intensity (omitted = 0, no emissive output)
237
263
  * @returns {number | undefined}
238
264
  */
239
265
  get emissiveIntensity() {
@@ -277,6 +303,26 @@ export class BillboardMaterial {
277
303
  const ret = wasm.__wbg_get_billboardmaterial_opacity(this.__wbg_ptr);
278
304
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
279
305
  }
306
+ /**
307
+ * Whether the sprite turns to follow the camera. `true` (the default)
308
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
309
+ * east-north-up frame, so moving the camera never reorients it.
310
+ * @returns {boolean | undefined}
311
+ */
312
+ get rotateWithCamera() {
313
+ const ret = wasm.__wbg_get_billboardmaterial_rotateWithCamera(this.__wbg_ptr);
314
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
315
+ }
316
+ /**
317
+ * Rotation of the sprite within its own plane, about its anchor point,
318
+ * in degrees, clockwise seen from the front. `center` decides where
319
+ * inside the sprite the pivot sits. Defaults to `0.0`.
320
+ * @returns {number | undefined}
321
+ */
322
+ get rotation() {
323
+ const ret = wasm.__wbg_get_billboardmaterial_rotation(this.__wbg_ptr);
324
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
325
+ }
280
326
  /**
281
327
  * @returns {boolean | undefined}
282
328
  */
@@ -325,6 +371,27 @@ export class BillboardMaterial {
325
371
  set alphaTest(arg0) {
326
372
  wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
327
373
  }
374
+ /**
375
+ * Whether faces seen from behind are culled. Default is false, so a
376
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
377
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
378
+ * over the horizon, which face away from the camera.
379
+ * @param {boolean | null} [arg0]
380
+ */
381
+ set backfaceCulling(arg0) {
382
+ wasm.__wbg_set_billboardmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
383
+ }
384
+ /**
385
+ * Whether the sprite stands up (`"upright"`, the default) or lies on the
386
+ * globe surface around its anchor (`"flat"`). Pair with
387
+ * `rotateWithCamera`.
388
+ * @param {string | null} [arg0]
389
+ */
390
+ set billboardFacing(arg0) {
391
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
392
+ var len0 = WASM_VECTOR_LEN;
393
+ wasm.__wbg_set_billboardmaterial_billboardFacing(this.__wbg_ptr, ptr0, len0);
394
+ }
328
395
  /**
329
396
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
330
397
  * Default is (0.0, 0.0) which means the center of the sprite.
@@ -390,7 +457,7 @@ export class BillboardMaterial {
390
457
  wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
391
458
  }
392
459
  /**
393
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
460
+ * Emissive glow intensity (omitted = 0, no emissive output)
394
461
  * @param {number | null} [arg0]
395
462
  */
396
463
  set emissiveIntensity(arg0) {
@@ -426,6 +493,24 @@ export class BillboardMaterial {
426
493
  set opacity(arg0) {
427
494
  wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
428
495
  }
496
+ /**
497
+ * Whether the sprite turns to follow the camera. `true` (the default)
498
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
499
+ * east-north-up frame, so moving the camera never reorients it.
500
+ * @param {boolean | null} [arg0]
501
+ */
502
+ set rotateWithCamera(arg0) {
503
+ wasm.__wbg_set_billboardmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
504
+ }
505
+ /**
506
+ * Rotation of the sprite within its own plane, about its anchor point,
507
+ * in degrees, clockwise seen from the front. `center` decides where
508
+ * inside the sprite the pivot sits. Defaults to `0.0`.
509
+ * @param {number | null} [arg0]
510
+ */
511
+ set rotation(arg0) {
512
+ wasm.__wbg_set_billboardmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
513
+ }
429
514
  /**
430
515
  * @param {boolean | null} [arg0]
431
516
  */
@@ -1726,6 +1811,20 @@ export class ConstructTerrainMeshParameters {
1726
1811
  const ret = wasm.__wbg_get_constructterrainmeshparameters_isQuantizedMesh(this.__wbg_ptr);
1727
1812
  return ret !== 0;
1728
1813
  }
1814
+ /**
1815
+ * @returns {boolean}
1816
+ */
1817
+ get poleNorth() {
1818
+ const ret = wasm.__wbg_get_constructterrainmeshparameters_poleNorth(this.__wbg_ptr);
1819
+ return ret !== 0;
1820
+ }
1821
+ /**
1822
+ * @returns {boolean}
1823
+ */
1824
+ get poleSouth() {
1825
+ const ret = wasm.__wbg_get_constructterrainmeshparameters_poleSouth(this.__wbg_ptr);
1826
+ return ret !== 0;
1827
+ }
1729
1828
  /**
1730
1829
  * Multiplier for the automatically calculated skirt height.
1731
1830
  * @returns {number}
@@ -1781,6 +1880,18 @@ export class ConstructTerrainMeshParameters {
1781
1880
  set isQuantizedMesh(arg0) {
1782
1881
  wasm.__wbg_set_constructterrainmeshparameters_isQuantizedMesh(this.__wbg_ptr, arg0);
1783
1882
  }
1883
+ /**
1884
+ * @param {boolean} arg0
1885
+ */
1886
+ set poleNorth(arg0) {
1887
+ wasm.__wbg_set_constructterrainmeshparameters_poleNorth(this.__wbg_ptr, arg0);
1888
+ }
1889
+ /**
1890
+ * @param {boolean} arg0
1891
+ */
1892
+ set poleSouth(arg0) {
1893
+ wasm.__wbg_set_constructterrainmeshparameters_poleSouth(this.__wbg_ptr, arg0);
1894
+ }
1784
1895
  /**
1785
1896
  * Multiplier for the automatically calculated skirt height.
1786
1897
  * @param {number} arg0
@@ -2764,14 +2875,6 @@ export class Core {
2764
2875
  const ret = wasm.core_getMemoryStats(this.__wbg_ptr);
2765
2876
  return ret === 0 ? undefined : MemoryStats.__wrap(ret);
2766
2877
  }
2767
- /**
2768
- * @param {bigint} handle
2769
- * @returns {TransferableTile | undefined}
2770
- */
2771
- getParentTile(handle) {
2772
- const ret = wasm.core_getParentTile(this.__wbg_ptr, handle);
2773
- return ret === 0 ? undefined : TransferableTile.__wrap(ret);
2774
- }
2775
2878
  /**
2776
2879
  * The WebMercator raster tiles to bake into per-layer drape render targets for a
2777
2880
  * terrain tile (baked layers only; empty on WebMercator terrain, which drapes 1:1
@@ -2800,6 +2903,16 @@ export class Core {
2800
2903
  const ret = wasm.core_getSourceDescription(this.__wbg_ptr, ptr0, len0);
2801
2904
  return ret;
2802
2905
  }
2906
+ /**
2907
+ * Buffer handle of a tile's loaded raw DEM bytes (the data a raster-DEM
2908
+ * upsample of a descendant resamples from), `undefined` until it landed.
2909
+ * @param {bigint} handle
2910
+ * @returns {number | undefined}
2911
+ */
2912
+ getTerrainDemBytes(handle) {
2913
+ const ret = wasm.core_getTerrainDemBytes(this.__wbg_ptr, handle);
2914
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2915
+ }
2803
2916
  /**
2804
2917
  * @param {bigint} handle
2805
2918
  * @returns {TransferableTile | undefined}
@@ -3050,6 +3163,16 @@ export class Core {
3050
3163
  const ret = wasm.core_registerSampleTerrainHeightEvent(this.__wbg_ptr, ptr0);
3051
3164
  return BigInt.asUintN(64, ret);
3052
3165
  }
3166
+ /**
3167
+ * @param {ExtentRadianF32} extent
3168
+ * @returns {bigint}
3169
+ */
3170
+ registerTerrainHeightRangeEvent(extent) {
3171
+ _assertClass(extent, ExtentRadianF32);
3172
+ var ptr0 = extent.__destroy_into_raw();
3173
+ const ret = wasm.core_registerTerrainHeightRangeEvent(this.__wbg_ptr, ptr0);
3174
+ return BigInt.asUintN(64, ret);
3175
+ }
3053
3176
  /**
3054
3177
  * @param {number} handle
3055
3178
  */
@@ -3140,6 +3263,22 @@ export class Core {
3140
3263
  const ret = wasm.core_sampleTerrainHeight(this.__wbg_ptr, ptr0);
3141
3264
  return ret[0] === 0 ? undefined : ret[1];
3142
3265
  }
3266
+ /**
3267
+ * `[min, max]` height of the ground rendered over `extent` (radians).
3268
+ * @param {ExtentRadianF32} extent
3269
+ * @returns {Float64Array | undefined}
3270
+ */
3271
+ sampleTerrainHeightRange(extent) {
3272
+ _assertClass(extent, ExtentRadianF32);
3273
+ var ptr0 = extent.__destroy_into_raw();
3274
+ const ret = wasm.core_sampleTerrainHeightRange(this.__wbg_ptr, ptr0);
3275
+ let v2;
3276
+ if (ret[0] !== 0) {
3277
+ v2 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
3278
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
3279
+ }
3280
+ return v2;
3281
+ }
3143
3282
  /**
3144
3283
  * @param {number} handle
3145
3284
  * @param {bigint} bits
@@ -3351,6 +3490,12 @@ export class Core {
3351
3490
  unregisterSampleTerrainHeightEvent(bits) {
3352
3491
  wasm.core_unregisterSampleTerrainHeightEvent(this.__wbg_ptr, bits);
3353
3492
  }
3493
+ /**
3494
+ * @param {bigint} bits
3495
+ */
3496
+ unregisterTerrainHeightRangeEvent(bits) {
3497
+ wasm.core_unregisterTerrainHeightRangeEvent(this.__wbg_ptr, bits);
3498
+ }
3354
3499
  /**
3355
3500
  * @param {number} updated_at
3356
3501
  */
@@ -3487,6 +3632,18 @@ export class DataRequestEvent {
3487
3632
  const ret = wasm.__wbg_get_datarequestevent_offset(this.__wbg_ptr);
3488
3633
  return ret[0] === 0 ? undefined : BigInt.asUintN(64, ret[1]);
3489
3634
  }
3635
+ /**
3636
+ * Fetch urgency: 0 is the most urgent (see `Priority::rank`). The web
3637
+ * side keeps its pending fetch queue sorted by this. Requests without an
3638
+ * ECS `Priority` (tileset / PMTiles bootstrap reads, 3D Tiles content)
3639
+ * rank as `Extreme`, matching the engine sender that dispatches them
3640
+ * ahead of the prioritized ones.
3641
+ * @returns {number}
3642
+ */
3643
+ get priority() {
3644
+ const ret = wasm.__wbg_get_datarequestevent_priority(this.__wbg_ptr);
3645
+ return ret;
3646
+ }
3490
3647
  /**
3491
3648
  * Quantized-mesh only: server should return the oct-encoded normals extension.
3492
3649
  * @returns {boolean}
@@ -3578,6 +3735,17 @@ export class DataRequestEvent {
3578
3735
  set offset(arg0) {
3579
3736
  wasm.__wbg_set_datarequestevent_offset(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
3580
3737
  }
3738
+ /**
3739
+ * Fetch urgency: 0 is the most urgent (see `Priority::rank`). The web
3740
+ * side keeps its pending fetch queue sorted by this. Requests without an
3741
+ * ECS `Priority` (tileset / PMTiles bootstrap reads, 3D Tiles content)
3742
+ * rank as `Extreme`, matching the engine sender that dispatches them
3743
+ * ahead of the prioritized ones.
3744
+ * @param {number} arg0
3745
+ */
3746
+ set priority(arg0) {
3747
+ wasm.__wbg_set_datarequestevent_priority(this.__wbg_ptr, arg0);
3748
+ }
3581
3749
  /**
3582
3750
  * Quantized-mesh only: server should return the oct-encoded normals extension.
3583
3751
  * @param {boolean} arg0
@@ -4015,6 +4183,72 @@ export class DelegatedWorkerTasksResult {
4015
4183
  }
4016
4184
  if (Symbol.dispose) DelegatedWorkerTasksResult.prototype[Symbol.dispose] = DelegatedWorkerTasksResult.prototype.free;
4017
4185
 
4186
+ /**
4187
+ * Maps a 3D Tiles feature table semantic (`POSITION`, `RGB`, ...) to its
4188
+ * Draco unique attribute id.
4189
+ */
4190
+ export class DracoAttributeId {
4191
+ static __wrap(ptr) {
4192
+ const obj = Object.create(DracoAttributeId.prototype);
4193
+ obj.__wbg_ptr = ptr;
4194
+ DracoAttributeIdFinalization.register(obj, obj.__wbg_ptr, obj);
4195
+ return obj;
4196
+ }
4197
+ static __unwrap(jsValue) {
4198
+ if (!(jsValue instanceof DracoAttributeId)) {
4199
+ return 0;
4200
+ }
4201
+ return jsValue.__destroy_into_raw();
4202
+ }
4203
+ __destroy_into_raw() {
4204
+ const ptr = this.__wbg_ptr;
4205
+ this.__wbg_ptr = 0;
4206
+ DracoAttributeIdFinalization.unregister(this);
4207
+ return ptr;
4208
+ }
4209
+ free() {
4210
+ const ptr = this.__destroy_into_raw();
4211
+ wasm.__wbg_dracoattributeid_free(ptr, 0);
4212
+ }
4213
+ /**
4214
+ * @returns {string}
4215
+ */
4216
+ get semantic() {
4217
+ let deferred1_0;
4218
+ let deferred1_1;
4219
+ try {
4220
+ const ret = wasm.__wbg_get_dracoattributeid_semantic(this.__wbg_ptr);
4221
+ deferred1_0 = ret[0];
4222
+ deferred1_1 = ret[1];
4223
+ return getStringFromWasm0(ret[0], ret[1]);
4224
+ } finally {
4225
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
4226
+ }
4227
+ }
4228
+ /**
4229
+ * @returns {number}
4230
+ */
4231
+ get uniqueId() {
4232
+ const ret = wasm.__wbg_get_dracoattributeid_uniqueId(this.__wbg_ptr);
4233
+ return ret >>> 0;
4234
+ }
4235
+ /**
4236
+ * @param {string} arg0
4237
+ */
4238
+ set semantic(arg0) {
4239
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4240
+ const len0 = WASM_VECTOR_LEN;
4241
+ wasm.__wbg_set_dracoattributeid_semantic(this.__wbg_ptr, ptr0, len0);
4242
+ }
4243
+ /**
4244
+ * @param {number} arg0
4245
+ */
4246
+ set uniqueId(arg0) {
4247
+ wasm.__wbg_set_dracoattributeid_uniqueId(this.__wbg_ptr, arg0);
4248
+ }
4249
+ }
4250
+ if (Symbol.dispose) DracoAttributeId.prototype[Symbol.dispose] = DracoAttributeId.prototype.free;
4251
+
4018
4252
  /**
4019
4253
  * Dynamic screen-space-error settings (CesiumJS `dynamicScreenSpaceError`
4020
4254
  * equivalent): tilted, street-level horizon views tolerate a larger error
@@ -4088,7 +4322,10 @@ export class DynamicSse {
4088
4322
  return ret;
4089
4323
  }
4090
4324
  /**
4091
- * Maximum SSE relaxation (in pixels) at full tilt and saturation.
4325
+ * Maximum SSE relaxation (in pixels) at full tilt and saturation for a
4326
+ * layer with the reference max SSE of 16 (the CesiumJS 3D Tiles default);
4327
+ * each layer scales it by its own max SSE, so terrain and imagery
4328
+ * (max SSE 2) relax by at most `sseFactor / 8` pixels.
4092
4329
  * @returns {number}
4093
4330
  */
4094
4331
  get sseFactor() {
@@ -4129,7 +4366,10 @@ export class DynamicSse {
4129
4366
  wasm.__wbg_set_dynamicsse_minHeight(this.__wbg_ptr, arg0);
4130
4367
  }
4131
4368
  /**
4132
- * Maximum SSE relaxation (in pixels) at full tilt and saturation.
4369
+ * Maximum SSE relaxation (in pixels) at full tilt and saturation for a
4370
+ * layer with the reference max SSE of 16 (the CesiumJS 3D Tiles default);
4371
+ * each layer scales it by its own max SSE, so terrain and imagery
4372
+ * (max SSE 2) relax by at most `sseFactor / 8` pixels.
4133
4373
  * @param {number} arg0
4134
4374
  */
4135
4375
  set sseFactor(arg0) {
@@ -4700,6 +4940,15 @@ export class Events {
4700
4940
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
4701
4941
  return v1;
4702
4942
  }
4943
+ /**
4944
+ * @returns {MeshGeometryReplaced[]}
4945
+ */
4946
+ take_mesh_geometry_replaced() {
4947
+ const ret = wasm.events_take_mesh_geometry_replaced(this.__wbg_ptr);
4948
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
4949
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
4950
+ return v1;
4951
+ }
4703
4952
  /**
4704
4953
  * @returns {EntityEvent[]}
4705
4954
  */
@@ -4781,6 +5030,15 @@ export class Events {
4781
5030
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
4782
5031
  return v1;
4783
5032
  }
5033
+ /**
5034
+ * @returns {TerrainHeightRangeUpdatedEvent[]}
5035
+ */
5036
+ take_update_terrain_height_range() {
5037
+ const ret = wasm.events_take_update_terrain_height_range(this.__wbg_ptr);
5038
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
5039
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
5040
+ return v1;
5041
+ }
4784
5042
  /**
4785
5043
  * @returns {WorkerTaskDelegatedEvent[]}
4786
5044
  */
@@ -5754,6 +6012,14 @@ export class Mesh {
5754
6012
  const ret = wasm.__wbg_get_mesh_active(this.__wbg_ptr);
5755
6013
  return ret !== 0;
5756
6014
  }
6015
+ /**
6016
+ * Quadrant bitmask to draw (`0` = whole tile); see `navara_mesh::Mesh`.
6017
+ * @returns {number}
6018
+ */
6019
+ get fill_quadrants() {
6020
+ const ret = wasm.__wbg_get_mesh_fill_quadrants(this.__wbg_ptr);
6021
+ return ret;
6022
+ }
5757
6023
  /**
5758
6024
  * @returns {number}
5759
6025
  */
@@ -5844,6 +6110,13 @@ export class Mesh {
5844
6110
  set active(arg0) {
5845
6111
  wasm.__wbg_set_mesh_active(this.__wbg_ptr, arg0);
5846
6112
  }
6113
+ /**
6114
+ * Quadrant bitmask to draw (`0` = whole tile); see `navara_mesh::Mesh`.
6115
+ * @param {number} arg0
6116
+ */
6117
+ set fill_quadrants(arg0) {
6118
+ wasm.__wbg_set_mesh_fill_quadrants(this.__wbg_ptr, arg0);
6119
+ }
5847
6120
  /**
5848
6121
  * @param {number} arg0
5849
6122
  */
@@ -6149,6 +6422,71 @@ export class MeshChanged {
6149
6422
  }
6150
6423
  if (Symbol.dispose) MeshChanged.prototype[Symbol.dispose] = MeshChanged.prototype.free;
6151
6424
 
6425
+ /**
6426
+ * A live tile mesh whose geometry buffers were rewritten in place (see
6427
+ * `EventStore::mesh_geometry_replaced`): only the geometry changes.
6428
+ */
6429
+ export class MeshGeometryReplaced {
6430
+ static __wrap(ptr) {
6431
+ const obj = Object.create(MeshGeometryReplaced.prototype);
6432
+ obj.__wbg_ptr = ptr;
6433
+ MeshGeometryReplacedFinalization.register(obj, obj.__wbg_ptr, obj);
6434
+ return obj;
6435
+ }
6436
+ __destroy_into_raw() {
6437
+ const ptr = this.__wbg_ptr;
6438
+ this.__wbg_ptr = 0;
6439
+ MeshGeometryReplacedFinalization.unregister(this);
6440
+ return ptr;
6441
+ }
6442
+ free() {
6443
+ const ptr = this.__destroy_into_raw();
6444
+ wasm.__wbg_meshgeometryreplaced_free(ptr, 0);
6445
+ }
6446
+ /**
6447
+ * @returns {number}
6448
+ */
6449
+ get gen() {
6450
+ const ret = wasm.__wbg_get_meshgeometryreplaced_gen(this.__wbg_ptr);
6451
+ return ret >>> 0;
6452
+ }
6453
+ /**
6454
+ * @returns {number}
6455
+ */
6456
+ get ind() {
6457
+ const ret = wasm.__wbg_get_meshgeometryreplaced_ind(this.__wbg_ptr);
6458
+ return ret >>> 0;
6459
+ }
6460
+ /**
6461
+ * @returns {Mesh}
6462
+ */
6463
+ get mesh() {
6464
+ const ret = wasm.__wbg_get_meshgeometryreplaced_mesh(this.__wbg_ptr);
6465
+ return Mesh.__wrap(ret);
6466
+ }
6467
+ /**
6468
+ * @param {number} arg0
6469
+ */
6470
+ set gen(arg0) {
6471
+ wasm.__wbg_set_meshgeometryreplaced_gen(this.__wbg_ptr, arg0);
6472
+ }
6473
+ /**
6474
+ * @param {number} arg0
6475
+ */
6476
+ set ind(arg0) {
6477
+ wasm.__wbg_set_meshgeometryreplaced_ind(this.__wbg_ptr, arg0);
6478
+ }
6479
+ /**
6480
+ * @param {Mesh} arg0
6481
+ */
6482
+ set mesh(arg0) {
6483
+ _assertClass(arg0, Mesh);
6484
+ var ptr0 = arg0.__destroy_into_raw();
6485
+ wasm.__wbg_set_meshgeometryreplaced_mesh(this.__wbg_ptr, ptr0);
6486
+ }
6487
+ }
6488
+ if (Symbol.dispose) MeshGeometryReplaced.prototype[Symbol.dispose] = MeshGeometryReplaced.prototype.free;
6489
+
6152
6490
  export class ModelInternalMaterial {
6153
6491
  static __wrap(ptr) {
6154
6492
  const obj = Object.create(ModelInternalMaterial.prototype);
@@ -6167,11 +6505,16 @@ export class ModelInternalMaterial {
6167
6505
  wasm.__wbg_modelinternalmaterial_free(ptr, 0);
6168
6506
  }
6169
6507
  /**
6170
- * @returns {boolean}
6508
+ * @returns {DracoAttributeId[] | undefined}
6171
6509
  */
6172
- get dracoCompressed() {
6173
- const ret = wasm.__wbg_get_modelinternalmaterial_dracoCompressed(this.__wbg_ptr);
6174
- return ret !== 0;
6510
+ get dracoAttributes() {
6511
+ const ret = wasm.__wbg_get_modelinternalmaterial_dracoAttributes(this.__wbg_ptr);
6512
+ let v1;
6513
+ if (ret[0] !== 0) {
6514
+ v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
6515
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
6516
+ }
6517
+ return v1;
6175
6518
  }
6176
6519
  /**
6177
6520
  * @returns {Vec3}
@@ -6188,10 +6531,12 @@ export class ModelInternalMaterial {
6188
6531
  return ret !== 0;
6189
6532
  }
6190
6533
  /**
6191
- * @param {boolean} arg0
6534
+ * @param {DracoAttributeId[] | null} [arg0]
6192
6535
  */
6193
- set dracoCompressed(arg0) {
6194
- wasm.__wbg_set_modelinternalmaterial_dracoCompressed(this.__wbg_ptr, arg0);
6536
+ set dracoAttributes(arg0) {
6537
+ var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
6538
+ var len0 = WASM_VECTOR_LEN;
6539
+ wasm.__wbg_set_modelinternalmaterial_dracoAttributes(this.__wbg_ptr, ptr0, len0);
6195
6540
  }
6196
6541
  /**
6197
6542
  * @param {Vec3} arg0
@@ -6313,7 +6658,7 @@ export class ModelMaterial {
6313
6658
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6314
6659
  }
6315
6660
  /**
6316
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
6661
+ * Emissive glow intensity (omitted = 0, no emissive output)
6317
6662
  * @returns {number | undefined}
6318
6663
  */
6319
6664
  get emissiveIntensity() {
@@ -6575,7 +6920,7 @@ export class ModelMaterial {
6575
6920
  wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6576
6921
  }
6577
6922
  /**
6578
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
6923
+ * Emissive glow intensity (omitted = 0, no emissive output)
6579
6924
  * @param {number | null} [arg0]
6580
6925
  */
6581
6926
  set emissiveIntensity(arg0) {
@@ -7328,6 +7673,17 @@ export class PointMaterial {
7328
7673
  const ptr = this.__destroy_into_raw();
7329
7674
  wasm.__wbg_pointmaterial_free(ptr, 0);
7330
7675
  }
7676
+ /**
7677
+ * Whether faces seen from behind are culled. Default is false, so a
7678
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
7679
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
7680
+ * over the horizon, which face away from the camera.
7681
+ * @returns {boolean | undefined}
7682
+ */
7683
+ get backfaceCulling() {
7684
+ const ret = wasm.__wbg_get_pointmaterial_backfaceCulling(this.__wbg_ptr);
7685
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
7686
+ }
7331
7687
  /**
7332
7688
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
7333
7689
  * Default is (0.0, 0.0) which means the center of the sprite.
@@ -7399,7 +7755,7 @@ export class PointMaterial {
7399
7755
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7400
7756
  }
7401
7757
  /**
7402
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
7758
+ * Emissive glow intensity (omitted = 0, no emissive output)
7403
7759
  * @returns {number | undefined}
7404
7760
  */
7405
7761
  get emissiveIntensity() {
@@ -7443,6 +7799,41 @@ export class PointMaterial {
7443
7799
  const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
7444
7800
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7445
7801
  }
7802
+ /**
7803
+ * Whether the point stands up (`"upright"`, the default) or lies on the
7804
+ * globe surface around its anchor (`"flat"`). Pair with
7805
+ * `rotateWithCamera`.
7806
+ * @returns {string | undefined}
7807
+ */
7808
+ get pointFacing() {
7809
+ const ret = wasm.__wbg_get_pointmaterial_pointFacing(this.__wbg_ptr);
7810
+ let v1;
7811
+ if (ret[0] !== 0) {
7812
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
7813
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
7814
+ }
7815
+ return v1;
7816
+ }
7817
+ /**
7818
+ * Whether the point turns to follow the camera. `true` (the default)
7819
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
7820
+ * east-north-up frame, so moving the camera never reorients it.
7821
+ * @returns {boolean | undefined}
7822
+ */
7823
+ get rotateWithCamera() {
7824
+ const ret = wasm.__wbg_get_pointmaterial_rotateWithCamera(this.__wbg_ptr);
7825
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
7826
+ }
7827
+ /**
7828
+ * Rotation of the point within its own plane, about its anchor point, in
7829
+ * degrees, clockwise seen from the front. `center` decides where inside
7830
+ * the quad the pivot sits. Defaults to `0.0`.
7831
+ * @returns {number | undefined}
7832
+ */
7833
+ get rotation() {
7834
+ const ret = wasm.__wbg_get_pointmaterial_rotation(this.__wbg_ptr);
7835
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7836
+ }
7446
7837
  /**
7447
7838
  * @returns {boolean | undefined}
7448
7839
  */
@@ -7473,6 +7864,16 @@ export class PointMaterial {
7473
7864
  const ret = wasm.__wbg_get_pointmaterial_transparent(this.__wbg_ptr);
7474
7865
  return ret === 0xFFFFFF ? undefined : ret !== 0;
7475
7866
  }
7867
+ /**
7868
+ * Whether faces seen from behind are culled. Default is false, so a
7869
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
7870
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
7871
+ * over the horizon, which face away from the camera.
7872
+ * @param {boolean | null} [arg0]
7873
+ */
7874
+ set backfaceCulling(arg0) {
7875
+ wasm.__wbg_set_pointmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
7876
+ }
7476
7877
  /**
7477
7878
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
7478
7879
  * Default is (0.0, 0.0) which means the center of the sprite.
@@ -7538,7 +7939,7 @@ export class PointMaterial {
7538
7939
  wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
7539
7940
  }
7540
7941
  /**
7541
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
7942
+ * Emissive glow intensity (omitted = 0, no emissive output)
7542
7943
  * @param {number | null} [arg0]
7543
7944
  */
7544
7945
  set emissiveIntensity(arg0) {
@@ -7574,6 +7975,35 @@ export class PointMaterial {
7574
7975
  set opacity(arg0) {
7575
7976
  wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7576
7977
  }
7978
+ /**
7979
+ * Whether the point stands up (`"upright"`, the default) or lies on the
7980
+ * globe surface around its anchor (`"flat"`). Pair with
7981
+ * `rotateWithCamera`.
7982
+ * @param {string | null} [arg0]
7983
+ */
7984
+ set pointFacing(arg0) {
7985
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7986
+ var len0 = WASM_VECTOR_LEN;
7987
+ wasm.__wbg_set_pointmaterial_pointFacing(this.__wbg_ptr, ptr0, len0);
7988
+ }
7989
+ /**
7990
+ * Whether the point turns to follow the camera. `true` (the default)
7991
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
7992
+ * east-north-up frame, so moving the camera never reorients it.
7993
+ * @param {boolean | null} [arg0]
7994
+ */
7995
+ set rotateWithCamera(arg0) {
7996
+ wasm.__wbg_set_pointmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
7997
+ }
7998
+ /**
7999
+ * Rotation of the point within its own plane, about its anchor point, in
8000
+ * degrees, clockwise seen from the front. `center` decides where inside
8001
+ * the quad the pivot sits. Defaults to `0.0`.
8002
+ * @param {number | null} [arg0]
8003
+ */
8004
+ set rotation(arg0) {
8005
+ wasm.__wbg_set_pointmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8006
+ }
7577
8007
  /**
7578
8008
  * @param {boolean | null} [arg0]
7579
8009
  */
@@ -8036,7 +8466,7 @@ export class PolygonMaterial {
8036
8466
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8037
8467
  }
8038
8468
  /**
8039
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
8469
+ * Emissive glow intensity (omitted = 0, no emissive output)
8040
8470
  * @returns {number | undefined}
8041
8471
  */
8042
8472
  get emissiveIntensity() {
@@ -8312,7 +8742,7 @@ export class PolygonMaterial {
8312
8742
  wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
8313
8743
  }
8314
8744
  /**
8315
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
8745
+ * Emissive glow intensity (omitted = 0, no emissive output)
8316
8746
  * @param {number | null} [arg0]
8317
8747
  */
8318
8748
  set emissiveIntensity(arg0) {
@@ -9155,7 +9585,7 @@ export class PolylineMaterial {
9155
9585
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9156
9586
  }
9157
9587
  /**
9158
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
9588
+ * Emissive glow intensity (omitted = 0, no emissive output)
9159
9589
  * @returns {number | undefined}
9160
9590
  */
9161
9591
  get emissiveIntensity() {
@@ -9330,7 +9760,7 @@ export class PolylineMaterial {
9330
9760
  wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
9331
9761
  }
9332
9762
  /**
9333
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
9763
+ * Emissive glow intensity (omitted = 0, no emissive output)
9334
9764
  * @param {number | null} [arg0]
9335
9765
  */
9336
9766
  set emissiveIntensity(arg0) {
@@ -11630,6 +12060,13 @@ export class ReturnedTransferablePolylineBatchedFeature {
11630
12060
  const ret = wasm.returnedtransferablepolylinebatchedfeature_transferPointsSizes(this.__wbg_ptr);
11631
12061
  return ret;
11632
12062
  }
12063
+ /**
12064
+ * @returns {Uint8Array}
12065
+ */
12066
+ transferRingFlags() {
12067
+ const ret = wasm.returnedtransferablepolylinebatchedfeature_transferRingFlags(this.__wbg_ptr);
12068
+ return ret;
12069
+ }
11633
12070
  /**
11634
12071
  * @param {PolylineMaterial} arg0
11635
12072
  */
@@ -11735,6 +12172,65 @@ export class SourceDescription {
11735
12172
  }
11736
12173
  if (Symbol.dispose) SourceDescription.prototype[Symbol.dispose] = SourceDescription.prototype.free;
11737
12174
 
12175
+ export class TerrainHeightRangeUpdatedEvent {
12176
+ static __wrap(ptr) {
12177
+ const obj = Object.create(TerrainHeightRangeUpdatedEvent.prototype);
12178
+ obj.__wbg_ptr = ptr;
12179
+ TerrainHeightRangeUpdatedEventFinalization.register(obj, obj.__wbg_ptr, obj);
12180
+ return obj;
12181
+ }
12182
+ __destroy_into_raw() {
12183
+ const ptr = this.__wbg_ptr;
12184
+ this.__wbg_ptr = 0;
12185
+ TerrainHeightRangeUpdatedEventFinalization.unregister(this);
12186
+ return ptr;
12187
+ }
12188
+ free() {
12189
+ const ptr = this.__destroy_into_raw();
12190
+ wasm.__wbg_terrainheightrangeupdatedevent_free(ptr, 0);
12191
+ }
12192
+ /**
12193
+ * @returns {bigint}
12194
+ */
12195
+ get bits() {
12196
+ const ret = wasm.__wbg_get_terrainheightrangeupdatedevent_bits(this.__wbg_ptr);
12197
+ return BigInt.asUintN(64, ret);
12198
+ }
12199
+ /**
12200
+ * @returns {number}
12201
+ */
12202
+ get max() {
12203
+ const ret = wasm.__wbg_get_terrainheightrangeupdatedevent_max(this.__wbg_ptr);
12204
+ return ret;
12205
+ }
12206
+ /**
12207
+ * @returns {number}
12208
+ */
12209
+ get min() {
12210
+ const ret = wasm.__wbg_get_terrainheightrangeupdatedevent_min(this.__wbg_ptr);
12211
+ return ret;
12212
+ }
12213
+ /**
12214
+ * @param {bigint} arg0
12215
+ */
12216
+ set bits(arg0) {
12217
+ wasm.__wbg_set_terrainheightrangeupdatedevent_bits(this.__wbg_ptr, arg0);
12218
+ }
12219
+ /**
12220
+ * @param {number} arg0
12221
+ */
12222
+ set max(arg0) {
12223
+ wasm.__wbg_set_terrainheightrangeupdatedevent_max(this.__wbg_ptr, arg0);
12224
+ }
12225
+ /**
12226
+ * @param {number} arg0
12227
+ */
12228
+ set min(arg0) {
12229
+ wasm.__wbg_set_terrainheightrangeupdatedevent_min(this.__wbg_ptr, arg0);
12230
+ }
12231
+ }
12232
+ if (Symbol.dispose) TerrainHeightRangeUpdatedEvent.prototype[Symbol.dispose] = TerrainHeightRangeUpdatedEvent.prototype.free;
12233
+
11738
12234
  export class TerrainHeightUpdatedEvent {
11739
12235
  static __wrap(ptr) {
11740
12236
  const obj = Object.create(TerrainHeightUpdatedEvent.prototype);
@@ -12055,6 +12551,17 @@ export class TextMaterial {
12055
12551
  const ptr = this.__destroy_into_raw();
12056
12552
  wasm.__wbg_textmaterial_free(ptr, 0);
12057
12553
  }
12554
+ /**
12555
+ * Whether faces seen from behind are culled. Default is false, so a
12556
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
12557
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
12558
+ * over the horizon, which face away from the camera.
12559
+ * @returns {boolean | undefined}
12560
+ */
12561
+ get backfaceCulling() {
12562
+ const ret = wasm.__wbg_get_textmaterial_backfaceCulling(this.__wbg_ptr);
12563
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
12564
+ }
12058
12565
  /**
12059
12566
  * @returns {number | undefined}
12060
12567
  */
@@ -12123,6 +12630,35 @@ export class TextMaterial {
12123
12630
  const ret = wasm.__wbg_get_textmaterial_depthTest(this.__wbg_ptr);
12124
12631
  return ret === 0xFFFFFF ? undefined : ret !== 0;
12125
12632
  }
12633
+ /**
12634
+ * IDs of selective effects to apply (e.g., "bloom", "outline")
12635
+ * @returns {string[] | undefined}
12636
+ */
12637
+ get effectIds() {
12638
+ const ret = wasm.__wbg_get_textmaterial_effectIds(this.__wbg_ptr);
12639
+ let v1;
12640
+ if (ret[0] !== 0) {
12641
+ v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
12642
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
12643
+ }
12644
+ return v1;
12645
+ }
12646
+ /**
12647
+ * Emissive glow color in 0xRRGGBB format
12648
+ * @returns {number | undefined}
12649
+ */
12650
+ get emissiveColor() {
12651
+ const ret = wasm.__wbg_get_textmaterial_emissiveColor(this.__wbg_ptr);
12652
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
12653
+ }
12654
+ /**
12655
+ * Emissive glow intensity (omitted = 0, no emissive output)
12656
+ * @returns {number | undefined}
12657
+ */
12658
+ get emissiveIntensity() {
12659
+ const ret = wasm.__wbg_get_textmaterial_emissiveIntensity(this.__wbg_ptr);
12660
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
12661
+ }
12126
12662
  /**
12127
12663
  * Specifies either the URL of a single font file or the `family` name of a font family
12128
12664
  * previously registered with `view.addFontFamily()`. Supported file formats are ttf, otf,
@@ -12254,6 +12790,31 @@ export class TextMaterial {
12254
12790
  const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
12255
12791
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
12256
12792
  }
12793
+ /**
12794
+ * Whether the label turns to follow the camera. `true` (the default)
12795
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
12796
+ * east-north-up frame, so moving the camera never reorients it: with
12797
+ * `textFacing: "upright"` it becomes a signboard standing on the
12798
+ * surface, with `"flat"` a north-up label painted on it.
12799
+ * @returns {boolean | undefined}
12800
+ */
12801
+ get rotateWithCamera() {
12802
+ const ret = wasm.__wbg_get_textmaterial_rotateWithCamera(this.__wbg_ptr);
12803
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
12804
+ }
12805
+ /**
12806
+ * Rotation of the label within its own plane, about its anchor point, in
12807
+ * degrees, clockwise seen from the front. Applied on top of whatever
12808
+ * orientation `textFacing` and `rotateWithCamera` resolve to: it spins a
12809
+ * billboard on screen and turns a surface label like a compass bearing.
12810
+ * `center` decides where inside the text the pivot sits. Defaults to
12811
+ * `0.0`.
12812
+ * @returns {number | undefined}
12813
+ */
12814
+ get rotation() {
12815
+ const ret = wasm.__wbg_get_textmaterial_rotation(this.__wbg_ptr);
12816
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
12817
+ }
12257
12818
  /**
12258
12819
  * @returns {boolean | undefined}
12259
12820
  */
@@ -12291,6 +12852,21 @@ export class TextMaterial {
12291
12852
  }
12292
12853
  return v1;
12293
12854
  }
12855
+ /**
12856
+ * Whether the label stands up (`"upright"`, the default) or lies on the
12857
+ * globe surface around its anchor (`"flat"`), following its curvature so
12858
+ * it reads as painted on the surface. Pair with `rotateWithCamera`.
12859
+ * @returns {string | undefined}
12860
+ */
12861
+ get textFacing() {
12862
+ const ret = wasm.__wbg_get_textmaterial_textFacing(this.__wbg_ptr);
12863
+ let v1;
12864
+ if (ret[0] !== 0) {
12865
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
12866
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
12867
+ }
12868
+ return v1;
12869
+ }
12294
12870
  /**
12295
12871
  * @returns {string | undefined}
12296
12872
  */
@@ -12311,6 +12887,16 @@ export class TextMaterial {
12311
12887
  const ret = wasm.__wbg_get_textmaterial_transparent(this.__wbg_ptr);
12312
12888
  return ret === 0xFFFFFF ? undefined : ret !== 0;
12313
12889
  }
12890
+ /**
12891
+ * Whether faces seen from behind are culled. Default is false, so a
12892
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
12893
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
12894
+ * over the horizon, which face away from the camera.
12895
+ * @param {boolean | null} [arg0]
12896
+ */
12897
+ set backfaceCulling(arg0) {
12898
+ wasm.__wbg_set_textmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
12899
+ }
12314
12900
  /**
12315
12901
  * @param {number | null} [arg0]
12316
12902
  */
@@ -12375,6 +12961,29 @@ export class TextMaterial {
12375
12961
  set depthTest(arg0) {
12376
12962
  wasm.__wbg_set_textmaterial_depthTest(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
12377
12963
  }
12964
+ /**
12965
+ * IDs of selective effects to apply (e.g., "bloom", "outline")
12966
+ * @param {string[] | null} [arg0]
12967
+ */
12968
+ set effectIds(arg0) {
12969
+ var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
12970
+ var len0 = WASM_VECTOR_LEN;
12971
+ wasm.__wbg_set_textmaterial_effectIds(this.__wbg_ptr, ptr0, len0);
12972
+ }
12973
+ /**
12974
+ * Emissive glow color in 0xRRGGBB format
12975
+ * @param {number | null} [arg0]
12976
+ */
12977
+ set emissiveColor(arg0) {
12978
+ wasm.__wbg_set_textmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
12979
+ }
12980
+ /**
12981
+ * Emissive glow intensity (omitted = 0, no emissive output)
12982
+ * @param {number | null} [arg0]
12983
+ */
12984
+ set emissiveIntensity(arg0) {
12985
+ wasm.__wbg_set_textmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
12986
+ }
12378
12987
  /**
12379
12988
  * Specifies either the URL of a single font file or the `family` name of a font family
12380
12989
  * previously registered with `view.addFontFamily()`. Supported file formats are ttf, otf,
@@ -12485,6 +13094,29 @@ export class TextMaterial {
12485
13094
  set outlineWidth(arg0) {
12486
13095
  wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
12487
13096
  }
13097
+ /**
13098
+ * Whether the label turns to follow the camera. `true` (the default)
13099
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
13100
+ * east-north-up frame, so moving the camera never reorients it: with
13101
+ * `textFacing: "upright"` it becomes a signboard standing on the
13102
+ * surface, with `"flat"` a north-up label painted on it.
13103
+ * @param {boolean | null} [arg0]
13104
+ */
13105
+ set rotateWithCamera(arg0) {
13106
+ wasm.__wbg_set_textmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
13107
+ }
13108
+ /**
13109
+ * Rotation of the label within its own plane, about its anchor point, in
13110
+ * degrees, clockwise seen from the front. Applied on top of whatever
13111
+ * orientation `textFacing` and `rotateWithCamera` resolve to: it spins a
13112
+ * billboard on screen and turns a surface label like a compass bearing.
13113
+ * `center` decides where inside the text the pivot sits. Defaults to
13114
+ * `0.0`.
13115
+ * @param {number | null} [arg0]
13116
+ */
13117
+ set rotation(arg0) {
13118
+ wasm.__wbg_set_textmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13119
+ }
12488
13120
  /**
12489
13121
  * @param {boolean | null} [arg0]
12490
13122
  */
@@ -12515,6 +13147,17 @@ export class TextMaterial {
12515
13147
  var len0 = WASM_VECTOR_LEN;
12516
13148
  wasm.__wbg_set_textmaterial_textAlign(this.__wbg_ptr, ptr0, len0);
12517
13149
  }
13150
+ /**
13151
+ * Whether the label stands up (`"upright"`, the default) or lies on the
13152
+ * globe surface around its anchor (`"flat"`), following its curvature so
13153
+ * it reads as painted on the surface. Pair with `rotateWithCamera`.
13154
+ * @param {string | null} [arg0]
13155
+ */
13156
+ set textFacing(arg0) {
13157
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
13158
+ var len0 = WASM_VECTOR_LEN;
13159
+ wasm.__wbg_set_textmaterial_textFacing(this.__wbg_ptr, ptr0, len0);
13160
+ }
12518
13161
  /**
12519
13162
  * @param {string | null} [arg0]
12520
13163
  */
@@ -14170,6 +14813,13 @@ export class TransferablePolylineBatchedFeature {
14170
14813
  setPointsSizes(byte_length, f) {
14171
14814
  wasm.transferablepolylinebatchedfeature_setPointsSizes(this.__wbg_ptr, byte_length, f);
14172
14815
  }
14816
+ /**
14817
+ * @param {number} byte_length
14818
+ * @param {Function} f
14819
+ */
14820
+ setRingFlags(byte_length, f) {
14821
+ wasm.transferablepolylinebatchedfeature_setRingFlags(this.__wbg_ptr, byte_length, f);
14822
+ }
14173
14823
  /**
14174
14824
  * @returns {Uint32Array}
14175
14825
  */
@@ -14198,6 +14848,13 @@ export class TransferablePolylineBatchedFeature {
14198
14848
  const ret = wasm.transferablepolylinebatchedfeature_transferPointsSizes(this.__wbg_ptr);
14199
14849
  return ret;
14200
14850
  }
14851
+ /**
14852
+ * @returns {Uint8Array}
14853
+ */
14854
+ transferRingFlags() {
14855
+ const ret = wasm.transferablepolylinebatchedfeature_transferRingFlags(this.__wbg_ptr);
14856
+ return ret;
14857
+ }
14201
14858
  }
14202
14859
  if (Symbol.dispose) TransferablePolylineBatchedFeature.prototype[Symbol.dispose] = TransferablePolylineBatchedFeature.prototype.free;
14203
14860
 
@@ -15043,6 +15700,20 @@ export class UpsampleTerrainMeshParameters {
15043
15700
  const ret = wasm.__wbg_get_upsampleterrainmeshparameters_isQuantizedMesh(this.__wbg_ptr);
15044
15701
  return ret !== 0;
15045
15702
  }
15703
+ /**
15704
+ * @returns {boolean}
15705
+ */
15706
+ get poleNorth() {
15707
+ const ret = wasm.__wbg_get_upsampleterrainmeshparameters_poleNorth(this.__wbg_ptr);
15708
+ return ret !== 0;
15709
+ }
15710
+ /**
15711
+ * @returns {boolean}
15712
+ */
15713
+ get poleSouth() {
15714
+ const ret = wasm.__wbg_get_upsampleterrainmeshparameters_poleSouth(this.__wbg_ptr);
15715
+ return ret !== 0;
15716
+ }
15046
15717
  /**
15047
15718
  * Multiplier for the automatically calculated skirt height.
15048
15719
  * @returns {number}
@@ -15059,6 +15730,14 @@ export class UpsampleTerrainMeshParameters {
15059
15730
  const ret = wasm.__wbg_get_upsampleterrainmeshparameters_skirt(this.__wbg_ptr);
15060
15731
  return ret !== 0;
15061
15732
  }
15733
+ /**
15734
+ * The ancestor tile whose mesh is clipped down to `tile_handle`.
15735
+ * @returns {bigint}
15736
+ */
15737
+ get source_tile_handle() {
15738
+ const ret = wasm.__wbg_get_upsampleterrainmeshparameters_source_tile_handle(this.__wbg_ptr);
15739
+ return BigInt.asUintN(64, ret);
15740
+ }
15062
15741
  /**
15063
15742
  * @returns {bigint}
15064
15743
  */
@@ -15066,6 +15745,14 @@ export class UpsampleTerrainMeshParameters {
15066
15745
  const ret = wasm.__wbg_get_upsampleterrainmeshparameters_tile_handle(this.__wbg_ptr);
15067
15746
  return BigInt.asUintN(64, ret);
15068
15747
  }
15748
+ /**
15749
+ * DEM tile width in pixels (raster DEM only).
15750
+ * @returns {number}
15751
+ */
15752
+ get tile_size() {
15753
+ const ret = wasm.__wbg_get_upsampleterrainmeshparameters_tile_size(this.__wbg_ptr);
15754
+ return ret >>> 0;
15755
+ }
15069
15756
  /**
15070
15757
  * @returns {boolean}
15071
15758
  */
@@ -15085,6 +15772,18 @@ export class UpsampleTerrainMeshParameters {
15085
15772
  set isQuantizedMesh(arg0) {
15086
15773
  wasm.__wbg_set_upsampleterrainmeshparameters_isQuantizedMesh(this.__wbg_ptr, arg0);
15087
15774
  }
15775
+ /**
15776
+ * @param {boolean} arg0
15777
+ */
15778
+ set poleNorth(arg0) {
15779
+ wasm.__wbg_set_upsampleterrainmeshparameters_poleNorth(this.__wbg_ptr, arg0);
15780
+ }
15781
+ /**
15782
+ * @param {boolean} arg0
15783
+ */
15784
+ set poleSouth(arg0) {
15785
+ wasm.__wbg_set_upsampleterrainmeshparameters_poleSouth(this.__wbg_ptr, arg0);
15786
+ }
15088
15787
  /**
15089
15788
  * Multiplier for the automatically calculated skirt height.
15090
15789
  * @param {number} arg0
@@ -15099,12 +15798,26 @@ export class UpsampleTerrainMeshParameters {
15099
15798
  set skirt(arg0) {
15100
15799
  wasm.__wbg_set_upsampleterrainmeshparameters_skirt(this.__wbg_ptr, arg0);
15101
15800
  }
15801
+ /**
15802
+ * The ancestor tile whose mesh is clipped down to `tile_handle`.
15803
+ * @param {bigint} arg0
15804
+ */
15805
+ set source_tile_handle(arg0) {
15806
+ wasm.__wbg_set_upsampleterrainmeshparameters_source_tile_handle(this.__wbg_ptr, arg0);
15807
+ }
15102
15808
  /**
15103
15809
  * @param {bigint} arg0
15104
15810
  */
15105
15811
  set tile_handle(arg0) {
15106
15812
  wasm.__wbg_set_upsampleterrainmeshparameters_tile_handle(this.__wbg_ptr, arg0);
15107
15813
  }
15814
+ /**
15815
+ * DEM tile width in pixels (raster DEM only).
15816
+ * @param {number} arg0
15817
+ */
15818
+ set tile_size(arg0) {
15819
+ wasm.__wbg_set_upsampleterrainmeshparameters_tile_size(this.__wbg_ptr, arg0);
15820
+ }
15108
15821
  /**
15109
15822
  * @param {boolean} arg0
15110
15823
  */
@@ -15113,11 +15826,13 @@ export class UpsampleTerrainMeshParameters {
15113
15826
  }
15114
15827
  /**
15115
15828
  * @param {bigint} tile_handle
15829
+ * @param {bigint} source_tile_handle
15830
+ * @param {number} tile_size
15116
15831
  * @param {boolean} skirt
15117
15832
  * @param {number} skirt_exaggeration
15118
15833
  */
15119
- constructor(tile_handle, skirt, skirt_exaggeration) {
15120
- const ret = wasm.upsampleterrainmeshparameters_new(tile_handle, skirt, skirt_exaggeration);
15834
+ constructor(tile_handle, source_tile_handle, tile_size, skirt, skirt_exaggeration) {
15835
+ const ret = wasm.upsampleterrainmeshparameters_new(tile_handle, source_tile_handle, tile_size, skirt, skirt_exaggeration);
15121
15836
  this.__wbg_ptr = ret;
15122
15837
  UpsampleTerrainMeshParametersFinalization.register(this, this.__wbg_ptr, this);
15123
15838
  return this;
@@ -15936,6 +16651,16 @@ export class WorkerTaskDelegatedEvent {
15936
16651
  const ret = wasm.__wbg_get_workertaskdelegatedevent_ind(this.__wbg_ptr);
15937
16652
  return ret >>> 0;
15938
16653
  }
16654
+ /**
16655
+ * Dispatch urgency: 0 is the most urgent (see `Priority::rank`). The
16656
+ * platform keeps its pending stack sorted by this so a terrain mesh task
16657
+ * overtakes older, less urgent work waiting for a worker.
16658
+ * @returns {number}
16659
+ */
16660
+ get priority() {
16661
+ const ret = wasm.__wbg_get_workertaskdelegatedevent_priority(this.__wbg_ptr);
16662
+ return ret;
16663
+ }
15939
16664
  /**
15940
16665
  * @returns {DelegatedWorkerTasksParameters}
15941
16666
  */
@@ -15961,6 +16686,15 @@ export class WorkerTaskDelegatedEvent {
15961
16686
  set ind(arg0) {
15962
16687
  wasm.__wbg_set_workertaskdelegatedevent_ind(this.__wbg_ptr, arg0);
15963
16688
  }
16689
+ /**
16690
+ * Dispatch urgency: 0 is the most urgent (see `Priority::rank`). The
16691
+ * platform keeps its pending stack sorted by this so a terrain mesh task
16692
+ * overtakes older, less urgent work waiting for a worker.
16693
+ * @param {number} arg0
16694
+ */
16695
+ set priority(arg0) {
16696
+ wasm.__wbg_set_workertaskdelegatedevent_priority(this.__wbg_ptr, arg0);
16697
+ }
15964
16698
  /**
15965
16699
  * @param {DelegatedWorkerTasksParameters} arg0
15966
16700
  */
@@ -16022,11 +16756,11 @@ export function start() {
16022
16756
  function __wbg_get_imports() {
16023
16757
  const import0 = {
16024
16758
  __proto__: null,
16025
- __wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
16759
+ __wbg_Error_408e67f47ca7b58b: function(arg0, arg1) {
16026
16760
  const ret = Error(getStringFromWasm0(arg0, arg1));
16027
16761
  return ret;
16028
16762
  },
16029
- __wbg_Number_9a4e0ecb0fa16705: function(arg0) {
16763
+ __wbg_Number_3890faa6d3ff057d: function(arg0) {
16030
16764
  const ret = Number(arg0);
16031
16765
  return ret;
16032
16766
  },
@@ -16037,72 +16771,72 @@ function __wbg_get_imports() {
16037
16771
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
16038
16772
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
16039
16773
  },
16040
- __wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
16774
+ __wbg___wbindgen_bigint_get_as_i64_c4ecf48528083721: function(arg0, arg1) {
16041
16775
  const v = arg1;
16042
16776
  const ret = typeof(v) === 'bigint' ? v : undefined;
16043
16777
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
16044
16778
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
16045
16779
  },
16046
- __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
16780
+ __wbg___wbindgen_boolean_get_c9c83ebd41b34df3: function(arg0) {
16047
16781
  const v = arg0;
16048
16782
  const ret = typeof(v) === 'boolean' ? v : undefined;
16049
16783
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
16050
16784
  },
16051
- __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
16785
+ __wbg___wbindgen_debug_string_a57024b9c6e4a48b: function(arg0, arg1) {
16052
16786
  const ret = debugString(arg1);
16053
16787
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
16054
16788
  const len1 = WASM_VECTOR_LEN;
16055
16789
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
16056
16790
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
16057
16791
  },
16058
- __wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
16792
+ __wbg___wbindgen_in_ac983077f137f2e6: function(arg0, arg1) {
16059
16793
  const ret = arg0 in arg1;
16060
16794
  return ret;
16061
16795
  },
16062
- __wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
16796
+ __wbg___wbindgen_is_bigint_8ffbbef442139384: function(arg0) {
16063
16797
  const ret = typeof(arg0) === 'bigint';
16064
16798
  return ret;
16065
16799
  },
16066
- __wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
16800
+ __wbg___wbindgen_is_function_5e4570eb24ffa122: function(arg0) {
16067
16801
  const ret = typeof(arg0) === 'function';
16068
16802
  return ret;
16069
16803
  },
16070
- __wbg___wbindgen_is_null_ea9085d691f535d3: function(arg0) {
16804
+ __wbg___wbindgen_is_null_7d13f41e1a2d5140: function(arg0) {
16071
16805
  const ret = arg0 === null;
16072
16806
  return ret;
16073
16807
  },
16074
- __wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
16808
+ __wbg___wbindgen_is_object_a2790eb24c211ea0: function(arg0) {
16075
16809
  const val = arg0;
16076
16810
  const ret = typeof(val) === 'object' && val !== null;
16077
16811
  return ret;
16078
16812
  },
16079
- __wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
16813
+ __wbg___wbindgen_is_string_e6f02f0ea5f20a32: function(arg0) {
16080
16814
  const ret = typeof(arg0) === 'string';
16081
16815
  return ret;
16082
16816
  },
16083
- __wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
16817
+ __wbg___wbindgen_is_undefined_6cff064c44e0d823: function(arg0) {
16084
16818
  const ret = arg0 === undefined;
16085
16819
  return ret;
16086
16820
  },
16087
- __wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
16821
+ __wbg___wbindgen_jsval_eq_0a18949a61670320: function(arg0, arg1) {
16088
16822
  const ret = arg0 === arg1;
16089
16823
  return ret;
16090
16824
  },
16091
- __wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
16825
+ __wbg___wbindgen_jsval_loose_eq_acf2776254a8d832: function(arg0, arg1) {
16092
16826
  const ret = arg0 == arg1;
16093
16827
  return ret;
16094
16828
  },
16095
- __wbg___wbindgen_memory_de265df8aadd6273: function() {
16829
+ __wbg___wbindgen_memory_5dc2a138835b0f8e: function() {
16096
16830
  const ret = wasm.memory;
16097
16831
  return ret;
16098
16832
  },
16099
- __wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
16833
+ __wbg___wbindgen_number_get_136b9679cab35cfb: function(arg0, arg1) {
16100
16834
  const obj = arg1;
16101
16835
  const ret = typeof(obj) === 'number' ? obj : undefined;
16102
16836
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
16103
16837
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
16104
16838
  },
16105
- __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
16839
+ __wbg___wbindgen_string_get_d154f1e671052120: function(arg0, arg1) {
16106
16840
  const obj = arg1;
16107
16841
  const ret = typeof(obj) === 'string' ? obj : undefined;
16108
16842
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -16110,27 +16844,27 @@ function __wbg_get_imports() {
16110
16844
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
16111
16845
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
16112
16846
  },
16113
- __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
16847
+ __wbg___wbindgen_throw_bb96b2010945f0bc: function(arg0, arg1) {
16114
16848
  throw new Error(getStringFromWasm0(arg0, arg1));
16115
16849
  },
16116
- __wbg_buffer_0f212447ac64c53b: function(arg0) {
16850
+ __wbg_buffer_8117fe4dab119813: function(arg0) {
16117
16851
  const ret = arg0.buffer;
16118
16852
  return ret;
16119
16853
  },
16120
- __wbg_call_44b7209e1e252e6a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
16121
- const ret = arg0.call(arg1, arg2, arg3, arg4);
16854
+ __wbg_call_0f2a9af232c18fd2: function() { return handleError(function (arg0, arg1, arg2, arg3) {
16855
+ const ret = arg0.call(arg1, arg2, arg3);
16122
16856
  return ret;
16123
16857
  }, arguments); },
16124
- __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
16858
+ __wbg_call_1c5886ab9c57d1c7: function() { return handleError(function (arg0, arg1) {
16125
16859
  const ret = arg0.call(arg1);
16126
16860
  return ret;
16127
16861
  }, arguments); },
16128
- __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
16862
+ __wbg_call_35dba3c747ad7521: function() { return handleError(function (arg0, arg1, arg2) {
16129
16863
  const ret = arg0.call(arg1, arg2);
16130
16864
  return ret;
16131
16865
  }, arguments); },
16132
- __wbg_call_e3b662382210db98: function() { return handleError(function (arg0, arg1, arg2, arg3) {
16133
- const ret = arg0.call(arg1, arg2, arg3);
16866
+ __wbg_call_39f824e18d9d2414: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
16867
+ const ret = arg0.call(arg1, arg2, arg3, arg4);
16134
16868
  return ret;
16135
16869
  }, arguments); },
16136
16870
  __wbg_cameraflightendedevent_new: function(arg0) {
@@ -16145,30 +16879,38 @@ function __wbg_get_imports() {
16145
16879
  const ret = DataRequestEvent.__wrap(arg0);
16146
16880
  return ret;
16147
16881
  },
16148
- __wbg_done_89b2b13e91a60321: function(arg0) {
16882
+ __wbg_done_669171204c3dcae2: function(arg0) {
16149
16883
  const ret = arg0.done;
16150
16884
  return ret;
16151
16885
  },
16886
+ __wbg_dracoattributeid_new: function(arg0) {
16887
+ const ret = DracoAttributeId.__wrap(arg0);
16888
+ return ret;
16889
+ },
16890
+ __wbg_dracoattributeid_unwrap: function(arg0) {
16891
+ const ret = DracoAttributeId.__unwrap(arg0);
16892
+ return ret;
16893
+ },
16152
16894
  __wbg_entityevent_new: function(arg0) {
16153
16895
  const ret = EntityEvent.__wrap(arg0);
16154
16896
  return ret;
16155
16897
  },
16156
- __wbg_entries_015dc610cd81ede0: function(arg0) {
16898
+ __wbg_entries_7774d489e1da5f4f: function(arg0) {
16157
16899
  const ret = Object.entries(arg0);
16158
16900
  return ret;
16159
16901
  },
16160
- __wbg_getRandomValues_cc7f052a444bb2ce: function() { return handleError(function (arg0, arg1) {
16902
+ __wbg_getRandomValues_436a51d0629d84e1: function() { return handleError(function (arg0, arg1) {
16161
16903
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
16162
16904
  }, arguments); },
16163
- __wbg_get_507a50627bffa49b: function(arg0, arg1) {
16905
+ __wbg_get_c0c8f8d7da0c03dd: function(arg0, arg1) {
16164
16906
  const ret = arg0[arg1 >>> 0];
16165
16907
  return ret;
16166
16908
  },
16167
- __wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
16909
+ __wbg_get_d173c0308df22d37: function() { return handleError(function (arg0, arg1) {
16168
16910
  const ret = Reflect.get(arg0, arg1);
16169
16911
  return ret;
16170
16912
  }, arguments); },
16171
- __wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
16913
+ __wbg_get_unchecked_e20b893aeafc3fca: function(arg0, arg1) {
16172
16914
  const ret = arg0[arg1 >>> 0];
16173
16915
  return ret;
16174
16916
  },
@@ -16180,7 +16922,7 @@ function __wbg_get_imports() {
16180
16922
  const ret = HillshadeBackfilledEvent.__wrap(arg0);
16181
16923
  return ret;
16182
16924
  },
16183
- __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
16925
+ __wbg_instanceof_ArrayBuffer_993d02d2d254cad1: function(arg0) {
16184
16926
  let result;
16185
16927
  try {
16186
16928
  result = arg0 instanceof ArrayBuffer;
@@ -16190,7 +16932,7 @@ function __wbg_get_imports() {
16190
16932
  const ret = result;
16191
16933
  return ret;
16192
16934
  },
16193
- __wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
16935
+ __wbg_instanceof_Map_9a4d6ead180ae3a9: function(arg0) {
16194
16936
  let result;
16195
16937
  try {
16196
16938
  result = arg0 instanceof Map;
@@ -16200,7 +16942,7 @@ function __wbg_get_imports() {
16200
16942
  const ret = result;
16201
16943
  return ret;
16202
16944
  },
16203
- __wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
16945
+ __wbg_instanceof_Uint8Array_f935dbb0aa7cdeed: function(arg0) {
16204
16946
  let result;
16205
16947
  try {
16206
16948
  result = arg0 instanceof Uint8Array;
@@ -16210,35 +16952,35 @@ function __wbg_get_imports() {
16210
16952
  const ret = result;
16211
16953
  return ret;
16212
16954
  },
16213
- __wbg_isArray_0677c962b281d01a: function(arg0) {
16955
+ __wbg_isArray_6339f732981044bf: function(arg0) {
16214
16956
  const ret = Array.isArray(arg0);
16215
16957
  return ret;
16216
16958
  },
16217
- __wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
16959
+ __wbg_isSafeInteger_f3d6cd19ccfe4512: function(arg0) {
16218
16960
  const ret = Number.isSafeInteger(arg0);
16219
16961
  return ret;
16220
16962
  },
16221
- __wbg_iterator_6f722e4a93058b71: function() {
16963
+ __wbg_iterator_5cebbb86e33c6dd6: function() {
16222
16964
  const ret = Symbol.iterator;
16223
16965
  return ret;
16224
16966
  },
16225
- __wbg_length_0133fa10e3234c57: function(arg0) {
16967
+ __wbg_length_1009454859bb3e03: function(arg0) {
16226
16968
  const ret = arg0.length;
16227
16969
  return ret;
16228
16970
  },
16229
- __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
16971
+ __wbg_length_36bd29c6848c2144: function(arg0) {
16230
16972
  const ret = arg0.length;
16231
16973
  return ret;
16232
16974
  },
16233
- __wbg_length_370319915dc99107: function(arg0) {
16975
+ __wbg_length_46f80504ebb6ebb4: function(arg0) {
16234
16976
  const ret = arg0.length;
16235
16977
  return ret;
16236
16978
  },
16237
- __wbg_length_381d540857ec99e8: function(arg0) {
16979
+ __wbg_length_7528cf2a241bef97: function(arg0) {
16238
16980
  const ret = arg0.length;
16239
16981
  return ret;
16240
16982
  },
16241
- __wbg_length_98f10d1e2f4ea968: function(arg0) {
16983
+ __wbg_length_ecfa2c63d3d0d82c: function(arg0) {
16242
16984
  const ret = arg0.length;
16243
16985
  return ret;
16244
16986
  },
@@ -16246,7 +16988,7 @@ function __wbg_get_imports() {
16246
16988
  const ret = LLE.__wrap(arg0);
16247
16989
  return ret;
16248
16990
  },
16249
- __wbg_log_4b4c9fd369267eb9: function(arg0, arg1) {
16991
+ __wbg_log_d65e71c48ae3cbbb: function(arg0, arg1) {
16250
16992
  console.log(getStringFromWasm0(arg0, arg1));
16251
16993
  },
16252
16994
  __wbg_meshadded_new: function(arg0) {
@@ -16257,66 +16999,70 @@ function __wbg_get_imports() {
16257
16999
  const ret = MeshChanged.__wrap(arg0);
16258
17000
  return ret;
16259
17001
  },
16260
- __wbg_new_32b398fb48b6d94a: function() {
17002
+ __wbg_meshgeometryreplaced_new: function(arg0) {
17003
+ const ret = MeshGeometryReplaced.__wrap(arg0);
17004
+ return ret;
17005
+ },
17006
+ __wbg_new_078f4f4b1eaabdec: function(arg0) {
17007
+ const ret = new Float32Array(arg0);
17008
+ return ret;
17009
+ },
17010
+ __wbg_new_116be93542d39019: function() {
16261
17011
  const ret = new Array();
16262
17012
  return ret;
16263
17013
  },
16264
- __wbg_new_80efd62ef570c5de: function(arg0) {
17014
+ __wbg_new_2aa179ec5b1fefa8: function(arg0) {
16265
17015
  const ret = new Float64Array(arg0);
16266
17016
  return ret;
16267
17017
  },
16268
- __wbg_new_92a08b12c30e98e8: function(arg0) {
16269
- const ret = new Float32Array(arg0);
17018
+ __wbg_new_68c044c0b3877148: function(arg0) {
17019
+ const ret = new Uint32Array(arg0);
16270
17020
  return ret;
16271
17021
  },
16272
- __wbg_new_cd45aabdf6073e84: function(arg0) {
17022
+ __wbg_new_77cc4f4f472aeb81: function(arg0) {
16273
17023
  const ret = new Uint8Array(arg0);
16274
17024
  return ret;
16275
17025
  },
16276
- __wbg_new_da52cf8fe3429cb2: function() {
17026
+ __wbg_new_ebe3e0f6837f0879: function() {
16277
17027
  const ret = new Object();
16278
17028
  return ret;
16279
17029
  },
16280
- __wbg_new_dfd44b7151fab657: function(arg0) {
16281
- const ret = new Uint32Array(arg0);
17030
+ __wbg_new_with_byte_offset_and_length_042855770b1f0cf5: function(arg0, arg1, arg2) {
17031
+ const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
16282
17032
  return ret;
16283
17033
  },
16284
- __wbg_new_with_byte_offset_and_length_1fdfe3033ce1dccd: function(arg0, arg1, arg2) {
17034
+ __wbg_new_with_byte_offset_and_length_1aca16330a3ebb0a: function(arg0, arg1, arg2) {
16285
17035
  const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0);
16286
17036
  return ret;
16287
17037
  },
16288
- __wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
16289
- const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
16290
- return ret;
16291
- },
16292
- __wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
17038
+ __wbg_new_with_byte_offset_and_length_8a19fd6506a908ea: function(arg0, arg1, arg2) {
16293
17039
  const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
16294
17040
  return ret;
16295
17041
  },
16296
- __wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
16297
- const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
17042
+ __wbg_new_with_byte_offset_and_length_ff6e927f8d72f0c3: function(arg0, arg1, arg2) {
17043
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
16298
17044
  return ret;
16299
17045
  },
16300
- __wbg_new_with_length_f8cbc3a5b9ff9368: function(arg0) {
17046
+ __wbg_new_with_length_2ccc5dbfb4541247: function(arg0) {
16301
17047
  const ret = new Array(arg0 >>> 0);
16302
17048
  return ret;
16303
17049
  },
16304
- __wbg_next_6dbf2c0ac8cde20f: function(arg0) {
16305
- const ret = arg0.next;
16306
- return ret;
16307
- },
16308
- __wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
17050
+ __wbg_next_42cf16ee0dafc9e2: function() { return handleError(function (arg0) {
16309
17051
  const ret = arg0.next();
16310
17052
  return ret;
16311
17053
  }, arguments); },
17054
+ __wbg_next_8f26b64fa5e9f64b: function(arg0) {
17055
+ const ret = arg0.next;
17056
+ return ret;
17057
+ },
16312
17058
  __wbg_objecttransformevent_new: function(arg0) {
16313
17059
  const ret = ObjectTransformEvent.__wrap(arg0);
16314
17060
  return ret;
16315
17061
  },
16316
- __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
17062
+ __wbg_prototypesetcall_de8e0d9553586985: function(arg0, arg1, arg2) {
16317
17063
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
16318
17064
  },
16319
- __wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
17065
+ __wbg_push_adb0107829f02d75: function(arg0, arg1) {
16320
17066
  const ret = arg0.push(arg1);
16321
17067
  return ret;
16322
17068
  },
@@ -16336,28 +17082,32 @@ function __wbg_get_imports() {
16336
17082
  const ret = RenderableFeatureRemovedEvent.__wrap(arg0);
16337
17083
  return ret;
16338
17084
  },
16339
- __wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
16340
- arg0.set(getArrayF32FromWasm0(arg1, arg2));
16341
- },
16342
- __wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
17085
+ __wbg_set_22c3e3730946c809: function(arg0, arg1, arg2) {
16343
17086
  arg0.set(getArrayF64FromWasm0(arg1, arg2));
16344
17087
  },
16345
- __wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
16346
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
17088
+ __wbg_set_577f5f7485b6744e: function(arg0, arg1, arg2) {
17089
+ arg0.set(getArrayF32FromWasm0(arg1, arg2));
16347
17090
  },
16348
17091
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
16349
17092
  arg0[arg1] = arg2;
16350
17093
  },
16351
- __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
17094
+ __wbg_set_8155bb79a948541b: function() { return handleError(function (arg0, arg1, arg2) {
16352
17095
  const ret = Reflect.set(arg0, arg1, arg2);
16353
17096
  return ret;
16354
17097
  }, arguments); },
16355
- __wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
17098
+ __wbg_set_a80955eb93b145c6: function(arg0, arg1, arg2) {
16356
17099
  arg0[arg1 >>> 0] = arg2;
16357
17100
  },
16358
- __wbg_set_b5e6b338281ca6ff: function(arg0, arg1, arg2) {
17101
+ __wbg_set_b9b5b5cb7b495037: function(arg0, arg1, arg2) {
17102
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
17103
+ },
17104
+ __wbg_set_e575799cdfbae72f: function(arg0, arg1, arg2) {
16359
17105
  arg0.set(getArrayU32FromWasm0(arg1, arg2));
16360
17106
  },
17107
+ __wbg_terrainheightrangeupdatedevent_new: function(arg0) {
17108
+ const ret = TerrainHeightRangeUpdatedEvent.__wrap(arg0);
17109
+ return ret;
17110
+ },
16361
17111
  __wbg_terrainheightupdatedevent_new: function(arg0) {
16362
17112
  const ret = TerrainHeightUpdatedEvent.__wrap(arg0);
16363
17113
  return ret;
@@ -16374,7 +17124,7 @@ function __wbg_get_imports() {
16374
17124
  const ret = TileUvTransform.__wrap(arg0);
16375
17125
  return ret;
16376
17126
  },
16377
- __wbg_value_a5d5488a9589444a: function(arg0) {
17127
+ __wbg_value_1e2369fab29b420e: function(arg0) {
16378
17128
  const ret = arg0.value;
16379
17129
  return ret;
16380
17130
  },
@@ -16503,6 +17253,9 @@ const DelegatedWorkerTasksParametersFinalization = (typeof FinalizationRegistry
16503
17253
  const DelegatedWorkerTasksResultFinalization = (typeof FinalizationRegistry === 'undefined')
16504
17254
  ? { register: () => {}, unregister: () => {} }
16505
17255
  : new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksresult_free(ptr, 1));
17256
+ const DracoAttributeIdFinalization = (typeof FinalizationRegistry === 'undefined')
17257
+ ? { register: () => {}, unregister: () => {} }
17258
+ : new FinalizationRegistry(ptr => wasm.__wbg_dracoattributeid_free(ptr, 1));
16506
17259
  const DynamicSseFinalization = (typeof FinalizationRegistry === 'undefined')
16507
17260
  ? { register: () => {}, unregister: () => {} }
16508
17261
  : new FinalizationRegistry(ptr => wasm.__wbg_dynamicsse_free(ptr, 1));
@@ -16563,6 +17316,9 @@ const MeshAddedFinalization = (typeof FinalizationRegistry === 'undefined')
16563
17316
  const MeshChangedFinalization = (typeof FinalizationRegistry === 'undefined')
16564
17317
  ? { register: () => {}, unregister: () => {} }
16565
17318
  : new FinalizationRegistry(ptr => wasm.__wbg_meshchanged_free(ptr, 1));
17319
+ const MeshGeometryReplacedFinalization = (typeof FinalizationRegistry === 'undefined')
17320
+ ? { register: () => {}, unregister: () => {} }
17321
+ : new FinalizationRegistry(ptr => wasm.__wbg_meshgeometryreplaced_free(ptr, 1));
16566
17322
  const ModelInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
16567
17323
  ? { register: () => {}, unregister: () => {} }
16568
17324
  : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr, 1));
@@ -16683,6 +17439,9 @@ const SourceDataFinalization = (typeof FinalizationRegistry === 'undefined')
16683
17439
  const SourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
16684
17440
  ? { register: () => {}, unregister: () => {} }
16685
17441
  : new FinalizationRegistry(ptr => wasm.__wbg_sourcedescription_free(ptr, 1));
17442
+ const TerrainHeightRangeUpdatedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17443
+ ? { register: () => {}, unregister: () => {} }
17444
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainheightrangeupdatedevent_free(ptr, 1));
16686
17445
  const TerrainHeightUpdatedEventFinalization = (typeof FinalizationRegistry === 'undefined')
16687
17446
  ? { register: () => {}, unregister: () => {} }
16688
17447
  : new FinalizationRegistry(ptr => wasm.__wbg_terrainheightupdatedevent_free(ptr, 1));