mars3d-cesium 1.129.0 → 1.130.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.
Files changed (104) hide show
  1. package/Build/Cesium/Cesium.d.ts +50 -2
  2. package/Build/Cesium/Cesium.js +4386 -4338
  3. package/Build/Cesium/Workers/{chunk-K6A7NKZT.js → chunk-2BQS357A.js} +2 -2
  4. package/Build/Cesium/Workers/{chunk-4W2MZV6I.js → chunk-3GAA5LN3.js} +1 -1
  5. package/Build/Cesium/Workers/{chunk-UVR3GLLW.js → chunk-47DQ6FOM.js} +2 -2
  6. package/Build/Cesium/Workers/{chunk-AVPLM4UI.js → chunk-4NRUVMTY.js} +2 -2
  7. package/Build/Cesium/Workers/{chunk-NEXD3R4K.js → chunk-4Q74JV76.js} +2 -2
  8. package/Build/Cesium/Workers/{chunk-3RSLEP7W.js → chunk-4UC7BAHF.js} +2 -2
  9. package/Build/Cesium/Workers/{chunk-ALKSRI7Y.js → chunk-5T3EM2R6.js} +2 -2
  10. package/Build/Cesium/Workers/{chunk-ZYYZDBKK.js → chunk-66GTWASE.js} +2 -2
  11. package/Build/Cesium/Workers/{chunk-L4JCTZ6Y.js → chunk-6EYQ674U.js} +2 -2
  12. package/Build/Cesium/Workers/{chunk-S5KJ4JQS.js → chunk-6FIMO5GS.js} +2 -2
  13. package/Build/Cesium/Workers/{chunk-PZWPGERZ.js → chunk-CKR4KBAR.js} +2 -2
  14. package/Build/Cesium/Workers/{chunk-IFR5HKVH.js → chunk-CMAUJTC5.js} +1 -1
  15. package/Build/Cesium/Workers/{chunk-OVIPITBL.js → chunk-D3ZB6QMA.js} +1 -1
  16. package/Build/Cesium/Workers/{chunk-HRZKIJQA.js → chunk-DA32SD3L.js} +2 -2
  17. package/Build/Cesium/Workers/{chunk-G65SAF2P.js → chunk-DK2I5HA3.js} +2 -2
  18. package/Build/Cesium/Workers/{chunk-RQKZTHAV.js → chunk-EHSMLS57.js} +2 -2
  19. package/Build/Cesium/Workers/{chunk-ASLWXOD7.js → chunk-G6BXWUC5.js} +2 -2
  20. package/Build/Cesium/Workers/{chunk-23RYXNR3.js → chunk-G76VEUE6.js} +2 -2
  21. package/Build/Cesium/Workers/{chunk-OAGMF473.js → chunk-GE75ICV4.js} +2 -2
  22. package/Build/Cesium/Workers/{chunk-BKYT7QHD.js → chunk-GR6GQHHW.js} +2 -2
  23. package/Build/Cesium/Workers/{chunk-JQLYZQ6V.js → chunk-IG67OOLD.js} +2 -2
  24. package/Build/Cesium/Workers/{chunk-X6N776GR.js → chunk-IRFSGQVQ.js} +2 -2
  25. package/Build/Cesium/Workers/{chunk-FUD3WFGN.js → chunk-JFGA5XXL.js} +2 -2
  26. package/Build/Cesium/Workers/{chunk-Q4LSC5X3.js → chunk-JM3CE6II.js} +2 -2
  27. package/Build/Cesium/Workers/{chunk-WER4LUMF.js → chunk-KP2AFTT4.js} +2 -2
  28. package/Build/Cesium/Workers/{chunk-3PT5NNSP.js → chunk-KRWQFK55.js} +2 -2
  29. package/Build/Cesium/Workers/{chunk-YRCAQUFT.js → chunk-KSWW7DXW.js} +2 -2
  30. package/Build/Cesium/Workers/{chunk-QFKZXFLI.js → chunk-MNWK3MJ5.js} +2 -2
  31. package/Build/Cesium/Workers/{chunk-NXL34BSE.js → chunk-N3TZO6S4.js} +2 -2
  32. package/Build/Cesium/Workers/{chunk-2V6KZTKL.js → chunk-NEHQKGY4.js} +2 -2
  33. package/Build/Cesium/Workers/{chunk-BCYPTFKK.js → chunk-NTG45YOQ.js} +2 -2
  34. package/Build/Cesium/Workers/{chunk-SP23RJSN.js → chunk-O622HRQO.js} +2 -2
  35. package/Build/Cesium/Workers/{chunk-IAW6QHRG.js → chunk-QEBTWX4I.js} +2 -2
  36. package/Build/Cesium/Workers/{chunk-3RMLTUUP.js → chunk-QO4IFWD6.js} +2 -2
  37. package/Build/Cesium/Workers/{chunk-Q7QJJ4HI.js → chunk-QWFWPXRT.js} +2 -2
  38. package/Build/Cesium/Workers/{chunk-J3L5WX3X.js → chunk-R7RI4F7L.js} +2 -2
  39. package/Build/Cesium/Workers/{chunk-ITJR6PVW.js → chunk-RQ7MNZCS.js} +2 -2
  40. package/Build/Cesium/Workers/{chunk-ELJAHN3H.js → chunk-RUYK5KOR.js} +2 -2
  41. package/Build/Cesium/Workers/{chunk-XOTNFHCP.js → chunk-S2T76NRX.js} +2 -2
  42. package/Build/Cesium/Workers/{chunk-4OIYAFXA.js → chunk-S4ON2QB4.js} +2 -2
  43. package/Build/Cesium/Workers/{chunk-3BGP4HCL.js → chunk-TMUAGJIG.js} +1 -1
  44. package/Build/Cesium/Workers/{chunk-OM62BMPV.js → chunk-UZGR2A63.js} +2 -2
  45. package/Build/Cesium/Workers/{chunk-U3N6LNE4.js → chunk-VONARDNV.js} +2 -2
  46. package/Build/Cesium/Workers/{chunk-62UOPIGN.js → chunk-VP3OTMUG.js} +2 -2
  47. package/Build/Cesium/Workers/{chunk-FGKVHLJ4.js → chunk-WAYT5ODG.js} +2 -2
  48. package/Build/Cesium/Workers/{chunk-S3L7VZFL.js → chunk-WVN6AQQN.js} +2 -2
  49. package/Build/Cesium/Workers/{chunk-EFXTPVRC.js → chunk-X3IPNCJV.js} +2 -2
  50. package/Build/Cesium/Workers/{chunk-ZQVZZSUG.js → chunk-XPRQXPRC.js} +2 -2
  51. package/Build/Cesium/Workers/{chunk-LUT6AMUC.js → chunk-Y4YOSGCD.js} +2 -2
  52. package/Build/Cesium/Workers/{chunk-PNMU44JZ.js → chunk-YHR5775C.js} +2 -2
  53. package/Build/Cesium/Workers/{chunk-2RJONVEL.js → chunk-YY64G2VY.js} +2 -2
  54. package/Build/Cesium/Workers/combineGeometry.js +2 -2
  55. package/Build/Cesium/Workers/createBoxGeometry.js +2 -2
  56. package/Build/Cesium/Workers/createBoxOutlineGeometry.js +2 -2
  57. package/Build/Cesium/Workers/createCircleGeometry.js +2 -2
  58. package/Build/Cesium/Workers/createCircleOutlineGeometry.js +2 -2
  59. package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +2 -2
  60. package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +2 -2
  61. package/Build/Cesium/Workers/createCorridorGeometry.js +2 -2
  62. package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +2 -2
  63. package/Build/Cesium/Workers/createCylinderGeometry.js +2 -2
  64. package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +2 -2
  65. package/Build/Cesium/Workers/createEllipseGeometry.js +2 -2
  66. package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +2 -2
  67. package/Build/Cesium/Workers/createEllipsoidGeometry.js +2 -2
  68. package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +2 -2
  69. package/Build/Cesium/Workers/createFrustumGeometry.js +2 -2
  70. package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +2 -2
  71. package/Build/Cesium/Workers/createGeometry.js +2 -2
  72. package/Build/Cesium/Workers/createGroundPolylineGeometry.js +2 -2
  73. package/Build/Cesium/Workers/createPlaneGeometry.js +2 -2
  74. package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +2 -2
  75. package/Build/Cesium/Workers/createPolygonGeometry.js +2 -2
  76. package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +2 -2
  77. package/Build/Cesium/Workers/createPolylineGeometry.js +2 -2
  78. package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +2 -2
  79. package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +2 -2
  80. package/Build/Cesium/Workers/createRectangleGeometry.js +2 -2
  81. package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +2 -2
  82. package/Build/Cesium/Workers/createSimplePolylineGeometry.js +2 -2
  83. package/Build/Cesium/Workers/createSphereGeometry.js +2 -2
  84. package/Build/Cesium/Workers/createSphereOutlineGeometry.js +2 -2
  85. package/Build/Cesium/Workers/createTaskProcessorWorker.js +2 -2
  86. package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +2 -2
  87. package/Build/Cesium/Workers/createVectorTileGeometries.js +2 -2
  88. package/Build/Cesium/Workers/createVectorTilePoints.js +2 -2
  89. package/Build/Cesium/Workers/createVectorTilePolygons.js +2 -2
  90. package/Build/Cesium/Workers/createVectorTilePolylines.js +2 -2
  91. package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
  92. package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
  93. package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -2
  94. package/Build/Cesium/Workers/createWallGeometry.js +2 -2
  95. package/Build/Cesium/Workers/createWallOutlineGeometry.js +2 -2
  96. package/Build/Cesium/Workers/decodeDraco.js +2 -2
  97. package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
  98. package/Build/Cesium/Workers/decodeI3S.js +2 -2
  99. package/Build/Cesium/Workers/transcodeKTX2.js +14 -14
  100. package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
  101. package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
  102. package/Build/Cesium/index.cjs +4401 -4353
  103. package/Build/Cesium/index.js +4364 -4316
  104. package/package.json +1 -1
@@ -28518,6 +28518,7 @@ export namespace Cesium3DTileset {
28518
28518
  * @property [enableCollision = false] - When <code>true</code>, enables collisions for camera or CPU picking. While this is <code>true</code> the camera will be prevented from going below the tileset surface if {@link ScreenSpaceCameraController#enableCollisionDetection} is true.
28519
28519
  * @property [projectTo2D = false] - Whether to accurately project the tileset to 2D. If this is true, the tileset will be projected accurately to 2D, but it will use more memory to do so. If this is false, the tileset will use less memory and will still render in 2D / CV mode, but its projected positions may be inaccurate. This cannot be set after the tileset has been created.
28520
28520
  * @property [enablePick = false] - Whether to allow collision and CPU picking with <code>pick</code> when using WebGL 1. If using WebGL 2 or above, this option will be ignored. If using WebGL 1 and this is true, the <code>pick</code> operation will work correctly, but it will use more memory to do so. If running with WebGL 1 and this is false, the model will use less memory, but <code>pick</code> will always return <code>undefined</code>. This cannot be set after the tileset has loaded.
28521
+ * @property [asynchronouslyLoadImagery = false] - Whether loading imagery that is draped over the tileset should be done asynchronously. If this is <code>true</code>, then tile content will be displayed with its original texture until the imagery texture is loaded. If this is <code>false</code>, then the tile content will not be displayed until the imagery is ready.
28521
28522
  * @property [debugHeatmapTilePropertyName] - The tile variable to colorize as a heatmap. All rendered tiles will be colorized relative to each other's specified variable value.
28522
28523
  * @property [debugFreezeFrame = false] - For debugging only. Determines if only the tiles from last frame should be used for rendering.
28523
28524
  * @property [debugColorizeTiles = false] - For debugging only. When true, assigns a random color to each tile.
@@ -28583,6 +28584,7 @@ export namespace Cesium3DTileset {
28583
28584
  enableCollision?: boolean;
28584
28585
  projectTo2D?: boolean;
28585
28586
  enablePick?: boolean;
28587
+ asynchronouslyLoadImagery?: boolean;
28586
28588
  debugHeatmapTilePropertyName?: string;
28587
28589
  debugFreezeFrame?: boolean;
28588
28590
  debugColorizeTiles?: boolean;
@@ -29088,6 +29090,20 @@ export class Cesium3DTileset {
29088
29090
  * The {@link ClippingPolygonCollection} used to selectively disable rendering the tileset.
29089
29091
  */
29090
29092
  clippingPolygons: ClippingPolygonCollection;
29093
+ /**
29094
+ * The collection of <code>ImageryLayer</code> objects providing 2D georeferenced
29095
+ image data that will be rendered over the tileset.
29096
+
29097
+ The imagery will be draped over glTF, B3DM, PNTS, or GeoJSON tile content.
29098
+ * @example
29099
+ * // Drape Bing Maps Aerial imagery over the tileset
29100
+ const imageryProvider = await Cesium.createWorldImageryAsync({
29101
+ style: Cesium.IonWorldImageryStyle.AERIAL,
29102
+ });
29103
+ const imageryLayer = new ImageryLayer(imageryProvider);
29104
+ tileset.imageryLayers.add(imageryLayer);
29105
+ */
29106
+ readonly imageryLayers: ImageryLayerCollection;
29091
29107
  /**
29092
29108
  * Gets the tileset's properties dictionary object, which contains metadata about per-feature properties.
29093
29109
  <p>
@@ -34450,7 +34466,7 @@ export namespace ImageryLayer {
34450
34466
 
34451
34467
  /**
34452
34468
  * An imagery layer that displays tiled image data from a single imagery provider
34453
- on a {@link Globe}.
34469
+ on a {@link Globe} or {@link Cesium3DTileset}.
34454
34470
  * @example
34455
34471
  * // Add an OpenStreetMaps layer
34456
34472
  const imageryLayer = new Cesium.ImageryLayer(new Cesium.OpenStreetMapImageryProvider({
@@ -34466,6 +34482,18 @@ scene.imageryLayers.add(imageryLayer);
34466
34482
  const imageryLayer = Cesium.ImageryLayer.fromProviderAsync(Cesium.IonImageryProvider.fromAssetId(3812));
34467
34483
  imageryLayer.alpha = 0.5;
34468
34484
  scene.imageryLayers.add(imageryLayer);
34485
+ * @example
34486
+ * // Drape Bing Maps Aerial imagery over a 3D tileset
34487
+ const tileset = await Cesium.Cesium3DTileset.fromUrl(
34488
+ "http://localhost:8002/tilesets/Seattle/tileset.json"
34489
+ );
34490
+ scene.primitives.add(tileset);
34491
+
34492
+ const imageryProvider = await Cesium.createWorldImageryAsync({
34493
+ style: Cesium.IonWorldImageryStyle.AERIAL,
34494
+ });
34495
+ const imageryLayer = new ImageryLayer(imageryProvider);
34496
+ tileset.imageryLayers.add(imageryLayer);
34469
34497
  * @param [imageryProvider] - The imagery provider to use.
34470
34498
  * @param [options] - An object describing initialization options
34471
34499
  */
@@ -34715,7 +34743,7 @@ export class ImageryLayer {
34715
34743
  }
34716
34744
 
34717
34745
  /**
34718
- * An ordered collection of imagery layers.
34746
+ * An ordered collection of imagery layers for rendering raster imagery on a {@link Globe} or {@link Cesium3DTileset}.
34719
34747
  */
34720
34748
  export class ImageryLayerCollection {
34721
34749
  constructor();
@@ -38622,6 +38650,26 @@ export class ModelNode {
38622
38650
  originalMatrix: Matrix4;
38623
38651
  }
38624
38652
 
38653
+ /**
38654
+ * Reads and returns a value with the given type
38655
+ at the given byte offset from the data view, in little-endian
38656
+ order
38657
+ * @param dataView - Typed data view into a binary buffer
38658
+ * @param byteOffset - The offset, in bytes, from the start of the view to read the data from
38659
+ * @param numberOfComponents - The number of components to read
38660
+ * @param result - The array in which to read the result
38661
+ */
38662
+ export type ComponentsReaderCallback = (dataView: DataView, byteOffset: number, numberOfComponents: number, result: number[]) => void;
38663
+
38664
+ /**
38665
+ * Reads and returns a value with the given type
38666
+ at the given byte offset from the data view, in little-endian
38667
+ order
38668
+ * @param dataView - Typed data view into a binary buffer
38669
+ * @param byteOffset - The offset, in bytes, from the start of the view to read the data from
38670
+ */
38671
+ export type ComponentReaderCallback = (dataView: DataView, byteOffset: number) => number | bigint;
38672
+
38625
38673
  /**
38626
38674
  * A simple struct that serves as a value of a <code>sampler2D</code>-valued
38627
38675
  uniform. This is used with {@link CustomShader} and {@link TextureManager}