mars3d-cesium 1.131.0 → 1.132.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 (109) hide show
  1. package/Build/Cesium/Cesium.d.ts +82 -53
  2. package/Build/Cesium/Cesium.js +4334 -4344
  3. package/Build/Cesium/ThirdParty/Workers/z-worker-pako.js +1 -1
  4. package/Build/Cesium/Workers/{chunk-HLQSM5SN.js → chunk-3JTNXRJV.js} +2 -2
  5. package/Build/Cesium/Workers/{chunk-6FDDLPKR.js → chunk-3UI62PNL.js} +2 -2
  6. package/Build/Cesium/Workers/{chunk-D3EOFLUL.js → chunk-47ME7AUQ.js} +2 -2
  7. package/Build/Cesium/Workers/{chunk-TBAVFI4H.js → chunk-4AYOP6XD.js} +2 -2
  8. package/Build/Cesium/Workers/{chunk-VCTCRKEN.js → chunk-5HEB7B66.js} +2 -2
  9. package/Build/Cesium/Workers/{chunk-USFLASYL.js → chunk-5OD5AKEJ.js} +2 -2
  10. package/Build/Cesium/Workers/{chunk-VMS4W7Q6.js → chunk-6FDKAUDV.js} +2 -2
  11. package/Build/Cesium/Workers/{chunk-KH3EJFE4.js → chunk-76WMPD6G.js} +2 -2
  12. package/Build/Cesium/Workers/{chunk-DZLMLGXT.js → chunk-AURYMYTN.js} +2 -2
  13. package/Build/Cesium/Workers/{chunk-4Y72SQR5.js → chunk-BV2VMUIE.js} +2 -2
  14. package/Build/Cesium/Workers/{chunk-VX3MABUO.js → chunk-C3KMTC4E.js} +2 -2
  15. package/Build/Cesium/Workers/{chunk-XSUTGEEJ.js → chunk-D6462WKK.js} +2 -2
  16. package/Build/Cesium/Workers/{chunk-JR7YHEST.js → chunk-DZ42UGGL.js} +2 -2
  17. package/Build/Cesium/Workers/{chunk-TAWFJ2HY.js → chunk-EAM5L3WY.js} +2 -2
  18. package/Build/Cesium/Workers/{chunk-WZQFTWS6.js → chunk-ENONVEMD.js} +2 -2
  19. package/Build/Cesium/Workers/{chunk-ZKR66ARQ.js → chunk-F4R6NSH4.js} +1 -1
  20. package/Build/Cesium/Workers/{chunk-B43XY262.js → chunk-F56LQMUX.js} +2 -2
  21. package/Build/Cesium/Workers/chunk-FM3NKVZJ.js +26 -0
  22. package/Build/Cesium/Workers/{chunk-GSQVTMOC.js → chunk-FS4UNHBA.js} +1 -1
  23. package/Build/Cesium/Workers/{chunk-337ELWCW.js → chunk-GCGQM3V5.js} +2 -2
  24. package/Build/Cesium/Workers/{chunk-BX45C3XS.js → chunk-GV7ABLTE.js} +2 -2
  25. package/Build/Cesium/Workers/{chunk-6IDW5JLT.js → chunk-HEWRROTS.js} +2 -2
  26. package/Build/Cesium/Workers/{chunk-TLPTAWYY.js → chunk-HTCWAAZA.js} +2 -2
  27. package/Build/Cesium/Workers/{chunk-XGQXNCPN.js → chunk-HZRI4TWB.js} +2 -2
  28. package/Build/Cesium/Workers/{chunk-I6OYI7CO.js → chunk-IG7TTJ5O.js} +2 -2
  29. package/Build/Cesium/Workers/{chunk-WMIJKK2Q.js → chunk-IUDH6UEG.js} +2 -2
  30. package/Build/Cesium/Workers/{chunk-5YBMFRSO.js → chunk-JC3ZIYJV.js} +2 -2
  31. package/Build/Cesium/Workers/{chunk-4SIZTNYP.js → chunk-KX7PF2KS.js} +2 -2
  32. package/Build/Cesium/Workers/{chunk-VIY5BSFY.js → chunk-PT6HOSMO.js} +2 -2
  33. package/Build/Cesium/Workers/{chunk-7NAAA2KT.js → chunk-QNF6DOIT.js} +2 -2
  34. package/Build/Cesium/Workers/{chunk-SEHPSUUF.js → chunk-RCCOZIA4.js} +2 -2
  35. package/Build/Cesium/Workers/{chunk-J6I5ZCTL.js → chunk-RKHPBM2Z.js} +1 -1
  36. package/Build/Cesium/Workers/{chunk-SZMZ5HN2.js → chunk-RTWVL2BE.js} +2 -2
  37. package/Build/Cesium/Workers/{chunk-RFLSXUIZ.js → chunk-RUPDKDAQ.js} +1 -1
  38. package/Build/Cesium/Workers/{chunk-C4HEU6LX.js → chunk-RVXELCI5.js} +3 -3
  39. package/Build/Cesium/Workers/{chunk-VQH37XSD.js → chunk-S2VOP6QV.js} +2 -2
  40. package/Build/Cesium/Workers/{chunk-LW5M4YCC.js → chunk-S3ES7CTS.js} +2 -2
  41. package/Build/Cesium/Workers/{chunk-NGP2CKO6.js → chunk-S7SJV35K.js} +2 -2
  42. package/Build/Cesium/Workers/{chunk-HKRYI6DV.js → chunk-TNL347LO.js} +2 -2
  43. package/Build/Cesium/Workers/{chunk-K5HT7UXL.js → chunk-UTZVABQ2.js} +2 -2
  44. package/Build/Cesium/Workers/{chunk-QQYGWGGH.js → chunk-UXDFNPCW.js} +2 -2
  45. package/Build/Cesium/Workers/{chunk-VG3VFFCL.js → chunk-W2IXI6NO.js} +2 -2
  46. package/Build/Cesium/Workers/{chunk-LYPYPFXC.js → chunk-W6HHAHPN.js} +2 -2
  47. package/Build/Cesium/Workers/{chunk-CCOTWSWP.js → chunk-WV5JVSBM.js} +2 -2
  48. package/Build/Cesium/Workers/{chunk-QZSZBS3D.js → chunk-XGAIMGHL.js} +2 -2
  49. package/Build/Cesium/Workers/{chunk-SWHLGANK.js → chunk-Y6NRM5YP.js} +2 -2
  50. package/Build/Cesium/Workers/{chunk-XTMVK6TZ.js → chunk-YQWHD5N7.js} +2 -2
  51. package/Build/Cesium/Workers/{chunk-LMPXL43O.js → chunk-YRM53DL5.js} +2 -2
  52. package/Build/Cesium/Workers/{chunk-E4CTQDNR.js → chunk-ZD22Y5N3.js} +2 -2
  53. package/Build/Cesium/Workers/{chunk-PC37ZX6T.js → chunk-ZMYARR55.js} +2 -2
  54. package/Build/Cesium/Workers/{chunk-GFRD27HW.js → chunk-ZO574IGQ.js} +1 -1
  55. package/Build/Cesium/Workers/{chunk-AXHDVWNT.js → chunk-ZOLTURIP.js} +2 -2
  56. package/Build/Cesium/Workers/combineGeometry.js +2 -2
  57. package/Build/Cesium/Workers/createBoxGeometry.js +2 -2
  58. package/Build/Cesium/Workers/createBoxOutlineGeometry.js +2 -2
  59. package/Build/Cesium/Workers/createCircleGeometry.js +2 -2
  60. package/Build/Cesium/Workers/createCircleOutlineGeometry.js +2 -2
  61. package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +2 -2
  62. package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +2 -2
  63. package/Build/Cesium/Workers/createCorridorGeometry.js +2 -2
  64. package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +2 -2
  65. package/Build/Cesium/Workers/createCylinderGeometry.js +2 -2
  66. package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +2 -2
  67. package/Build/Cesium/Workers/createEllipseGeometry.js +2 -2
  68. package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +2 -2
  69. package/Build/Cesium/Workers/createEllipsoidGeometry.js +2 -2
  70. package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +2 -2
  71. package/Build/Cesium/Workers/createFrustumGeometry.js +2 -2
  72. package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +2 -2
  73. package/Build/Cesium/Workers/createGeometry.js +2 -2
  74. package/Build/Cesium/Workers/createGroundPolylineGeometry.js +2 -2
  75. package/Build/Cesium/Workers/createPlaneGeometry.js +2 -2
  76. package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +2 -2
  77. package/Build/Cesium/Workers/createPolygonGeometry.js +2 -2
  78. package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +2 -2
  79. package/Build/Cesium/Workers/createPolylineGeometry.js +2 -2
  80. package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +2 -2
  81. package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +2 -2
  82. package/Build/Cesium/Workers/createRectangleGeometry.js +2 -2
  83. package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +2 -2
  84. package/Build/Cesium/Workers/createSimplePolylineGeometry.js +2 -2
  85. package/Build/Cesium/Workers/createSphereGeometry.js +2 -2
  86. package/Build/Cesium/Workers/createSphereOutlineGeometry.js +2 -2
  87. package/Build/Cesium/Workers/createTaskProcessorWorker.js +2 -2
  88. package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +2 -2
  89. package/Build/Cesium/Workers/createVectorTileGeometries.js +2 -2
  90. package/Build/Cesium/Workers/createVectorTilePoints.js +2 -2
  91. package/Build/Cesium/Workers/createVectorTilePolygons.js +2 -2
  92. package/Build/Cesium/Workers/createVectorTilePolylines.js +2 -2
  93. package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
  94. package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
  95. package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -2
  96. package/Build/Cesium/Workers/createWallGeometry.js +2 -2
  97. package/Build/Cesium/Workers/createWallOutlineGeometry.js +2 -2
  98. package/Build/Cesium/Workers/decodeDraco.js +2 -2
  99. package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
  100. package/Build/Cesium/Workers/decodeI3S.js +2 -2
  101. package/Build/Cesium/Workers/gaussianSplatSorter.js +2 -2
  102. package/Build/Cesium/Workers/gaussianSplatTextureGenerator.js +2 -2
  103. package/Build/Cesium/Workers/transcodeKTX2.js +2 -2
  104. package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
  105. package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
  106. package/Build/Cesium/index.cjs +4350 -4360
  107. package/Build/Cesium/index.js +4343 -4353
  108. package/package.json +1 -1
  109. package/Build/Cesium/Workers/chunk-7EKY3AQ3.js +0 -26
@@ -28533,7 +28533,7 @@ export namespace Cesium3DTileset {
28533
28533
  * @property [instanceFeatureIdLabel = "instanceFeatureId_0"] - Label of the instance feature ID set used for picking and styling. If instanceFeatureIdLabel is set to an integer N, it is converted to the string "instanceFeatureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
28534
28534
  * @property [showCreditsOnScreen = false] - Whether to display the credits of this tileset on screen.
28535
28535
  * @property [splitDirection = SplitDirection.NONE] - The {@link SplitDirection} split to apply to this tileset.
28536
- * @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.
28536
+ * @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. This also affects the behavior of {@link HeightReference.CLAMP_TO_GROUND} when clamping to 3D Tiles surfaces. If <code>enableCollision</code> is <code>false</code>, entities may not be correctly clamped to the tileset geometry.
28537
28537
  * @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.
28538
28538
  * @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.
28539
28539
  * @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.
@@ -33818,7 +33818,7 @@ export enum HeightReference {
33818
33818
  */
33819
33819
  NONE = 0,
33820
33820
  /**
33821
- * The position is clamped to the terrain and 3D Tiles.
33821
+ * The position is clamped to the terrain and 3D Tiles. When clamping to 3D Tilesets such as photorealistic 3D Tiles, ensure the tileset has {@link Cesium3DTileset#enableCollision} set to <code>true</code>. Otherwise, the entity may not be correctly clamped to the tileset surface.
33822
33822
  */
33823
33823
  CLAMP_TO_GROUND = 1,
33824
33824
  /**
@@ -34626,6 +34626,12 @@ export class ImageryLayer {
34626
34626
  * Returns true when the terrain provider has been successfully created. Otherwise, returns false.
34627
34627
  */
34628
34628
  readonly ready: boolean;
34629
+ /**
34630
+ * Gets an event that is raised when the imagery provider encounters an asynchronous error. By subscribing
34631
+ to the event, you will be notified of the error and can potentially recover from it. Event listeners
34632
+ are passed an instance of the thrown error.
34633
+ */
34634
+ readonly errorEvent: Event<ImageryLayer.ErrorEventCallback>;
34629
34635
  /**
34630
34636
  * Gets an event that is raised when the imagery provider has been successfully created. Event listeners
34631
34637
  are passed the created instance of {@link ImageryProvider}.
@@ -34699,7 +34705,7 @@ export class ImageryLayer {
34699
34705
  viewer.imageryLayers.add(imageryLayer);
34700
34706
 
34701
34707
  imageryLayer.readyEvent.addEventListener(provider => {
34702
- imageryLayer.provider.errorEvent.addEventListener(error => {
34708
+ imageryLayer.imageryProvider.errorEvent.addEventListener(error => {
34703
34709
  alert(`Encountered an error while loading imagery tiles! ${error}`);
34704
34710
  });
34705
34711
  });
@@ -34725,7 +34731,7 @@ export class ImageryLayer {
34725
34731
  viewer.imageryLayers.add(imageryLayer);
34726
34732
 
34727
34733
  imageryLayer.readyEvent.addEventListener(provider => {
34728
- imageryLayer.provider.errorEvent.addEventListener(error => {
34734
+ imageryLayer.imageryProvider.errorEvent.addEventListener(error => {
34729
34735
  alert(`Encountered an error while loading imagery tiles! ${error}`);
34730
34736
  });
34731
34737
  });
@@ -35268,47 +35274,68 @@ export namespace ITwinData {
35268
35274
  If there is not a completed export available for the given iModel id, the returned promise will resolve to <code>undefined</code>.
35269
35275
  We recommend waiting 10-20 seconds and trying to load the tileset again.
35270
35276
  If all exports are Invalid this will throw an error.
35277
+
35278
+ See the {@link https://developer.bentley.com/apis/mesh-export/overview/|iTwin Platform Mesh Export API documentation} for more information on request parameters
35271
35279
  * @example
35272
- * const tileset = await Cesium.ITwinData.createTilesetFromIModelId(iModelId);
35280
+ * const tileset = await Cesium.ITwinData.createTilesetFromIModelId({ iModelId });
35273
35281
  if (Cesium.defined(tileset)) {
35274
35282
  viewer.scene.primitives.add(tileset);
35275
35283
  }
35276
- * @param iModelId - The id of the iModel to load
35277
- * @param [options] - Object containing options to pass to the internally created {@link Cesium3DTileset}.
35284
+ * @param options.iModelId - The id of the iModel to load
35285
+ * @param [options.tilesetOptions] - Object containing options to pass to the internally created {@link Cesium3DTileset}.
35286
+ * @param [options.changesetId] - The id of the changeset to load, if not provided the latest changesets will be used
35278
35287
  * @returns A promise that will resolve to the created 3D tileset or <code>undefined</code> if there is no completed export for the given iModel id
35279
35288
  */
35280
- function createTilesetFromIModelId(iModelId: string, options?: Cesium3DTileset.ConstructorOptions): Promise<Cesium3DTileset | undefined>;
35289
+ function createTilesetFromIModelId(options: {
35290
+ iModelId: string;
35291
+ tilesetOptions?: Cesium3DTileset.ConstructorOptions;
35292
+ changesetId?: string;
35293
+ }): Promise<Cesium3DTileset | undefined>;
35281
35294
  /**
35282
35295
  * Create a tileset for the specified reality data id. This function only works
35283
35296
  with 3D Tiles meshes and point clouds.
35284
35297
 
35285
35298
  If the <code>type</code> or <code>rootDocument</code> are not provided this function
35286
35299
  will first request the full metadata for the specified reality data to fill these values.
35287
- * @param iTwinId - The id of the iTwin to load data from
35288
- * @param realityDataId - The id of the reality data to load
35289
- * @param [type] - The type of this reality data
35290
- * @param [rootDocument] - The path of the root document for this reality data
35291
- */
35292
- function createTilesetForRealityDataId(iTwinId: string, realityDataId: string, type?: ITwinPlatform.RealityDataType, rootDocument?: string): Promise<Cesium3DTileset>;
35300
+ * @param options.iTwinId - The id of the iTwin to load data from
35301
+ * @param options.realityDataId - The id of the reality data to load
35302
+ * @param [options.type] - The type of this reality data
35303
+ * @param [options.rootDocument] - The path of the root document for this reality data
35304
+ */
35305
+ function createTilesetForRealityDataId(options: {
35306
+ iTwinId: string;
35307
+ realityDataId: string;
35308
+ type?: ITwinPlatform.RealityDataType;
35309
+ rootDocument?: string;
35310
+ }): Promise<Cesium3DTileset>;
35293
35311
  /**
35294
35312
  * Create a data source of the correct type for the specified reality data id.
35295
35313
  This function only works for KML and GeoJSON type data.
35296
35314
 
35297
35315
  If the <code>type</code> or <code>rootDocument</code> are not provided this function
35298
35316
  will first request the full metadata for the specified reality data to fill these values.
35299
- * @param iTwinId - The id of the iTwin to load data from
35300
- * @param realityDataId - The id of the reality data to load
35301
- * @param [type] - The type of this reality data
35302
- * @param [rootDocument] - The path of the root document for this reality data
35303
- */
35304
- function createDataSourceForRealityDataId(iTwinId: string, realityDataId: string, type?: ITwinPlatform.RealityDataType, rootDocument?: string): Promise<GeoJsonDataSource | KmlDataSource>;
35317
+ * @param options.iTwinId - The id of the iTwin to load data from
35318
+ * @param options.realityDataId - The id of the reality data to load
35319
+ * @param [options.type] - The type of this reality data
35320
+ * @param [options.rootDocument] - The path of the root document for this reality data
35321
+ */
35322
+ function createDataSourceForRealityDataId(options: {
35323
+ iTwinId: string;
35324
+ realityDataId: string;
35325
+ type?: ITwinPlatform.RealityDataType;
35326
+ rootDocument?: string;
35327
+ }): Promise<GeoJsonDataSource | KmlDataSource>;
35305
35328
  /**
35306
35329
  * Load data from the Geospatial Features API as GeoJSON.
35307
- * @param iTwinId - The id of the iTwin to load data from
35308
- * @param collectionId - The id of the data collection to load
35309
- * @param [limit = 10000] - number of items per page, must be between 1 and 10,000 inclusive
35330
+ * @param options.iTwinId - The id of the iTwin to load data from
35331
+ * @param options.collectionId - The id of the data collection to load
35332
+ * @param [options.limit = 10000] - number of items per page, must be between 1 and 10,000 inclusive
35310
35333
  */
35311
- function loadGeospatialFeatures(iTwinId: string, collectionId: string, limit?: number): Promise<GeoJsonDataSource>;
35334
+ function loadGeospatialFeatures(options: {
35335
+ iTwinId: string;
35336
+ collectionId: string;
35337
+ limit?: number;
35338
+ }): Promise<GeoJsonDataSource>;
35312
35339
  }
35313
35340
 
35314
35341
  export namespace Label {
@@ -41409,15 +41436,15 @@ export class Scene {
41409
41436
  /**
41410
41437
  * The {@link SkyBox} used to draw the stars.
41411
41438
  */
41412
- skyBox: SkyBox;
41439
+ skyBox: SkyBox | undefined;
41413
41440
  /**
41414
41441
  * The sky atmosphere drawn around the globe.
41415
41442
  */
41416
- skyAtmosphere: SkyAtmosphere;
41443
+ skyAtmosphere: SkyAtmosphere | undefined;
41417
41444
  /**
41418
41445
  * The {@link Sun}.
41419
41446
  */
41420
- sun: Sun;
41447
+ sun: Sun | undefined;
41421
41448
  /**
41422
41449
  * Uses a bloom filter on the sun when enabled.
41423
41450
  */
@@ -41425,9 +41452,9 @@ export class Scene {
41425
41452
  /**
41426
41453
  * The {@link Moon}
41427
41454
  */
41428
- moon: Moon;
41455
+ moon: Moon | undefined;
41429
41456
  /**
41430
- * The background color, which is only visible if there is no sky box, i.e., {@link Scene#skyBox} is undefined.
41457
+ * The background color, which is only visible if there is no sky box, i.e., {@link Scene#skyBox} is <code>undefined</code>.
41431
41458
  */
41432
41459
  backgroundColor: Color;
41433
41460
  /**
@@ -41491,7 +41518,7 @@ export class Scene {
41491
41518
  return command.owner === billboards;
41492
41519
  };
41493
41520
  */
41494
- debugCommandFilter: (...params: any[]) => any;
41521
+ debugCommandFilter: ((...params: any[]) => any) | undefined;
41495
41522
  /**
41496
41523
  * This property is for debugging only; it is not for production use.
41497
41524
  <p>
@@ -41739,10 +41766,10 @@ export class Scene {
41739
41766
  */
41740
41767
  readonly postRender: Event;
41741
41768
  /**
41742
- * Gets the simulation time when the scene was last rendered. Returns undefined if the scene has not yet been
41743
- rendered.
41769
+ * Gets the simulation time when the scene was last rendered. Returns <code>undefined</code>
41770
+ if the scene has not yet been rendered.
41744
41771
  */
41745
- readonly lastRenderTime: JulianDate;
41772
+ readonly lastRenderTime: JulianDate | undefined;
41746
41773
  /**
41747
41774
  * This property is for debugging only; it is not for production use.
41748
41775
  <p>
@@ -41754,7 +41781,7 @@ export class Scene {
41754
41781
  three frustums.
41755
41782
  </p>
41756
41783
  */
41757
- readonly debugFrustumStatistics: any;
41784
+ readonly debugFrustumStatistics: any | undefined;
41758
41785
  /**
41759
41786
  * Gets whether or not the scene is optimized for 3D only viewing.
41760
41787
  */
@@ -41840,8 +41867,8 @@ export class Scene {
41840
41867
  */
41841
41868
  requestRender(): void;
41842
41869
  /**
41843
- * Returns an object with a `primitive` property that contains the first (top) primitive in the scene
41844
- at a particular window coordinate or undefined if nothing is at the location. Other properties may
41870
+ * Returns an object with a <code>primitive</code> property that contains the first (top) primitive in the scene
41871
+ at a particular window coordinate or <code>undefined</code> if nothing is at the location. Other properties may
41845
41872
  potentially be set depending on the type of primitive and may be used to further identify the picked object.
41846
41873
  <p>
41847
41874
  When a feature of a 3D Tiles tileset is picked, <code>pick</code> returns a {@link Cesium3DTileFeature} object.
@@ -41857,12 +41884,12 @@ export class Scene {
41857
41884
  * @param windowPosition - Window coordinates to perform picking on.
41858
41885
  * @param [width = 3] - Width of the pick rectangle.
41859
41886
  * @param [height = 3] - Height of the pick rectangle.
41860
- * @returns Object containing the picked primitive.
41887
+ * @returns Object containing the picked primitive or <code>undefined</code> if nothing is at the location.
41861
41888
  */
41862
- pick(windowPosition: Cartesian2, width?: number, height?: number): any;
41889
+ pick(windowPosition: Cartesian2, width?: number, height?: number): any | undefined;
41863
41890
  /**
41864
41891
  * Returns a {@link VoxelCell} for the voxel sample rendered at a particular window coordinate,
41865
- or undefined if no voxel is rendered at that position.
41892
+ or <code>undefined</code> if no voxel is rendered at that position.
41866
41893
  * @example
41867
41894
  * On left click, report the value of the "color" property at that voxel sample.
41868
41895
  handler.setInputAction(function(movement) {
@@ -41874,30 +41901,30 @@ export class Scene {
41874
41901
  * @param windowPosition - Window coordinates to perform picking on.
41875
41902
  * @param [width = 3] - Width of the pick rectangle.
41876
41903
  * @param [height = 3] - Height of the pick rectangle.
41877
- * @returns Information about the voxel cell rendered at the picked position.
41904
+ * @returns Information about the voxel cell rendered at the picked position or <code>undefined</code> if no voxel is rendered at that position.
41878
41905
  */
41879
41906
  pickVoxel(windowPosition: Cartesian2, width?: number, height?: number): VoxelCell | undefined;
41880
41907
  /**
41881
41908
  * Pick a metadata value at the given window position.
41882
41909
  * @param windowPosition - Window coordinates to perform picking on.
41883
41910
  * @param schemaId - The ID of the metadata schema to pick values
41884
- from. If this is `undefined`, then it will pick the values from the object
41911
+ from. If this is <code>undefined</code>, then it will pick the values from the object
41885
41912
  that match the given class- and property name, regardless of the schema ID.
41886
41913
  * @param className - The name of the metadata class to pick
41887
41914
  values from
41888
41915
  * @param propertyName - The name of the metadata property to pick
41889
41916
  values from
41890
- * @returns The metadata value, or `undefined` when
41917
+ * @returns The metadata value, or <code>undefined</code> when
41891
41918
  no matching metadata was found at the given position
41892
41919
  */
41893
41920
  pickMetadata(windowPosition: Cartesian2, schemaId: string | undefined, className: string, propertyName: string): MetadataValue | undefined;
41894
41921
  /**
41895
41922
  * Pick the schema of the metadata of the object at the given position
41896
41923
  * @param windowPosition - Window coordinates to perform picking on.
41897
- * @returns The metadata schema, or `undefined` if there is no object with
41924
+ * @returns The metadata schema, or <code>undefined</code> if there is no object with
41898
41925
  associated metadata at the given position.
41899
41926
  */
41900
- pickMetadataSchema(windowPosition: Cartesian2): MetadataSchema;
41927
+ pickMetadataSchema(windowPosition: Cartesian2): MetadataSchema | undefined;
41901
41928
  /**
41902
41929
  * Returns the cartesian position reconstructed from the depth buffer and window position.
41903
41930
  <p>
@@ -41915,7 +41942,7 @@ export class Scene {
41915
41942
  */
41916
41943
  pickPosition(windowPosition: Cartesian2, result?: Cartesian3): Cartesian3;
41917
41944
  /**
41918
- * Returns a list of objects, each containing a `primitive` property, for all primitives at
41945
+ * Returns a list of objects, each containing a <code>primitive</code> property, for all primitives at
41919
41946
  a particular window coordinate position. Other properties may also be set depending on the
41920
41947
  type of primitive and may be used to further identify the picked object. The primitives in
41921
41948
  the list are ordered by their visual order in the scene (front to back).
@@ -41945,7 +41972,7 @@ export class Scene {
41945
41972
  * @param [width = 0.1] - Width of the intersection volume in meters.
41946
41973
  * @returns The height. This may be <code>undefined</code> if there was no scene geometry to sample height from.
41947
41974
  */
41948
- sampleHeight(position: Cartographic, objectsToExclude?: object[], width?: number): number;
41975
+ sampleHeight(position: Cartographic, objectsToExclude?: object[], width?: number): number | undefined;
41949
41976
  /**
41950
41977
  * Clamps the given cartesian position to the scene geometry along the geodetic surface normal. Returns the
41951
41978
  clamped position or <code>undefined</code> if there was no scene geometry to clamp to. May be used to clamp
@@ -41964,13 +41991,13 @@ export class Scene {
41964
41991
  * @param [result] - An optional object to return the clamped position.
41965
41992
  * @returns The modified result parameter or a new Cartesian3 instance if one was not provided. This may be <code>undefined</code> if there was no scene geometry to clamp to.
41966
41993
  */
41967
- clampToHeight(cartesian: Cartesian3, objectsToExclude?: object[], width?: number, result?: Cartesian3): Cartesian3;
41994
+ clampToHeight(cartesian: Cartesian3, objectsToExclude?: object[], width?: number, result?: Cartesian3): Cartesian3 | undefined;
41968
41995
  /**
41969
41996
  * Initiates an asynchronous {@link Scene#sampleHeight} query for an array of {@link Cartographic} positions
41970
41997
  using the maximum level of detail for 3D Tilesets in the scene. The height of the input positions is ignored.
41971
41998
  Returns a promise that is resolved when the query completes. Each point height is modified in place.
41972
41999
  If a height cannot be determined because no geometry can be sampled at that location, or another error occurs,
41973
- the height is set to undefined.
42000
+ the height is set to <code>undefined</code>.
41974
42001
  * @example
41975
42002
  * const positions = [
41976
42003
  new Cesium.Cartographic(-1.31968, 0.69887),
@@ -41984,9 +42011,9 @@ export class Scene {
41984
42011
  * @param positions - The cartographic positions to update with sampled heights.
41985
42012
  * @param [objectsToExclude] - A list of primitives, entities, or 3D Tiles features to not sample height from.
41986
42013
  * @param [width = 0.1] - Width of the intersection volume in meters.
41987
- * @returns A promise that resolves to the provided list of positions when the query has completed.
42014
+ * @returns A promise that resolves to the provided list of positions when the query has completed. Positions may become <code>undefined</code> if the height cannot be determined.
41988
42015
  */
41989
- sampleHeightMostDetailed(positions: Cartographic[], objectsToExclude?: object[], width?: number): Promise<Cartographic[]>;
42016
+ sampleHeightMostDetailed(positions: Cartographic[], objectsToExclude?: object[], width?: number): Promise<(Cartographic | undefined)[]>;
41990
42017
  /**
41991
42018
  * Initiates an asynchronous {@link Scene#clampToHeight} query for an array of {@link Cartesian3} positions
41992
42019
  using the maximum level of detail for 3D Tilesets in the scene. Returns a promise that is resolved when
@@ -42005,9 +42032,9 @@ export class Scene {
42005
42032
  * @param cartesians - The cartesian positions to update with clamped positions.
42006
42033
  * @param [objectsToExclude] - A list of primitives, entities, or 3D Tiles features to not clamp to.
42007
42034
  * @param [width = 0.1] - Width of the intersection volume in meters.
42008
- * @returns A promise that resolves to the provided list of positions when the query has completed.
42035
+ * @returns A promise that resolves to the provided list of positions when the query has completed. Positions may become <code>undefined</code> if they cannot be clamped.
42009
42036
  */
42010
- clampToHeightMostDetailed(cartesians: Cartesian3[], objectsToExclude?: object[], width?: number): Promise<Cartesian3[]>;
42037
+ clampToHeightMostDetailed(cartesians: Cartesian3[], objectsToExclude?: object[], width?: number): Promise<(Cartesian3 | undefined)[]>;
42011
42038
  /**
42012
42039
  * Transforms a position in cartesian coordinates to canvas coordinates. This is commonly used to place an
42013
42040
  HTML element at the same screen position as an object in the scene.
@@ -42023,7 +42050,7 @@ export class Scene {
42023
42050
  * @param [result] - An optional object to return the input position transformed to canvas coordinates.
42024
42051
  * @returns The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
42025
42052
  */
42026
- cartesianToCanvasCoordinates(position: Cartesian3, result?: Cartesian2): Cartesian2;
42053
+ cartesianToCanvasCoordinates(position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
42027
42054
  /**
42028
42055
  * Instantly completes an active transition.
42029
42056
  */
@@ -42299,6 +42326,8 @@ export class ScreenSpaceCameraController {
42299
42326
  minimumTrackBallHeight: number;
42300
42327
  /**
42301
42328
  * When disabled, the values of <code>maximumZoomDistance</code> and <code>minimumZoomDistance</code> are ignored.
42329
+ Also used in conjunction with {@link Cesium3DTileset#enableCollision} to prevent the camera from moving through or below a 3D Tileset surface.
42330
+ This may also affect clamping behavior when using {@link HeightReference.CLAMP_TO_GROUND} on 3D Tiles.
42302
42331
  */
42303
42332
  enableCollisionDetection: boolean;
42304
42333
  /**