@cesium/engine 2.4.1 → 3.0.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 (88) hide show
  1. package/Build/Workers/cesiumWorkerBootstrapper.js +1 -1
  2. package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -22
  3. package/Build/Workers/package.js +1 -1
  4. package/Build/Workers/transferTypedArrayTest.js +1 -1
  5. package/Source/Core/ArcGISTiledElevationTerrainProvider.js +0 -75
  6. package/Source/Core/CesiumTerrainProvider.js +0 -75
  7. package/Source/Core/CustomHeightmapTerrainProvider.js +0 -38
  8. package/Source/Core/EllipsoidTerrainProvider.js +0 -37
  9. package/Source/Core/GoogleEarthEnterpriseMetadata.js +0 -53
  10. package/Source/Core/GoogleEarthEnterpriseTerrainProvider.js +1 -101
  11. package/Source/Core/GoogleMaps.js +1 -1
  12. package/Source/Core/Ion.js +1 -2
  13. package/Source/Core/TerrainProvider.js +0 -22
  14. package/Source/Core/VRTheWorldTerrainProvider.js +0 -59
  15. package/Source/Core/sampleTerrain.js +0 -7
  16. package/Source/Core/sampleTerrainMostDetailed.js +0 -7
  17. package/Source/DataSources/Cesium3DTilesetVisualizer.js +6 -5
  18. package/Source/DataSources/KmlTour.js +1 -12
  19. package/Source/DataSources/ModelVisualizer.js +0 -12
  20. package/Source/Renderer/Context.js +10 -2
  21. package/Source/Scene/ArcGisMapServerImageryProvider.js +7 -335
  22. package/Source/Scene/ArcGisMapService.js +1 -1
  23. package/Source/Scene/Billboard.js +7 -0
  24. package/Source/Scene/BingMapsImageryProvider.js +0 -326
  25. package/Source/Scene/Camera.js +1 -1
  26. package/Source/Scene/Cesium3DTile.js +4 -5
  27. package/Source/Scene/Cesium3DTileContent.js +0 -16
  28. package/Source/Scene/Cesium3DTilesVoxelProvider.js +0 -123
  29. package/Source/Scene/Cesium3DTileset.js +183 -184
  30. package/Source/Scene/Cesium3DTilesetBaseTraversal.js +1 -1
  31. package/Source/Scene/Cesium3DTilesetCache.js +1 -3
  32. package/Source/Scene/Cesium3DTilesetSkipTraversal.js +5 -2
  33. package/Source/Scene/Cesium3DTilesetTraversal.js +2 -2
  34. package/Source/Scene/ClassificationPrimitive.js +5 -43
  35. package/Source/Scene/Composite3DTileContent.js +0 -27
  36. package/Source/Scene/CreditDisplay.js +0 -54
  37. package/Source/Scene/DerivedCommand.js +15 -10
  38. package/Source/Scene/Empty3DTileContent.js +0 -21
  39. package/Source/Scene/Geometry3DTileContent.js +0 -29
  40. package/Source/Scene/Globe.js +1 -9
  41. package/Source/Scene/GlobeSurfaceTile.js +13 -8
  42. package/Source/Scene/GlobeSurfaceTileProvider.js +8 -60
  43. package/Source/Scene/GltfPipeline/removeUnusedElements.js +27 -0
  44. package/Source/Scene/GltfPipeline/updateVersion.js +21 -4
  45. package/Source/Scene/GoogleEarthEnterpriseImageryProvider.js +1 -339
  46. package/Source/Scene/GoogleEarthEnterpriseMapsProvider.js +0 -326
  47. package/Source/Scene/GridImageryProvider.js +0 -274
  48. package/Source/Scene/GroundPolylinePrimitive.js +5 -38
  49. package/Source/Scene/GroundPrimitive.js +5 -43
  50. package/Source/Scene/I3SDataProvider.js +4 -99
  51. package/Source/Scene/I3SLayer.js +15 -22
  52. package/Source/Scene/Imagery.js +1 -9
  53. package/Source/Scene/ImageryLayer.js +1 -40
  54. package/Source/Scene/ImageryProvider.js +0 -138
  55. package/Source/Scene/Implicit3DTileContent.js +0 -23
  56. package/Source/Scene/IonImageryProvider.js +1 -369
  57. package/Source/Scene/MapboxImageryProvider.js +0 -276
  58. package/Source/Scene/MapboxStyleImageryProvider.js +0 -274
  59. package/Source/Scene/Model/Model.js +6 -249
  60. package/Source/Scene/Model/Model3DTileContent.js +0 -50
  61. package/Source/Scene/Model/ModelAnimationCollection.js +1 -1
  62. package/Source/Scene/Model/PointCloudStylingPipelineStage.js +1 -1
  63. package/Source/Scene/Multiple3DTileContent.js +0 -27
  64. package/Source/Scene/Primitive.js +10 -38
  65. package/Source/Scene/QuadtreePrimitive.js +3 -5
  66. package/Source/Scene/QuadtreeTileProvider.js +0 -10
  67. package/Source/Scene/Scene.js +3 -3
  68. package/Source/Scene/ScreenSpaceCameraController.js +5 -5
  69. package/Source/Scene/SingleTileImageryProvider.js +6 -302
  70. package/Source/Scene/TileCoordinatesImageryProvider.js +0 -273
  71. package/Source/Scene/TileMapServiceImageryProvider.js +3 -48
  72. package/Source/Scene/Tileset3DTileContent.js +0 -22
  73. package/Source/Scene/TimeDynamicPointCloud.js +0 -28
  74. package/Source/Scene/UrlTemplateImageryProvider.js +0 -375
  75. package/Source/Scene/Vector3DTileContent.js +0 -29
  76. package/Source/Scene/VoxelPrimitive.js +9 -49
  77. package/Source/Scene/VoxelProvider.js +0 -24
  78. package/Source/Scene/WebMapServiceImageryProvider.js +0 -274
  79. package/Source/Scene/WebMapTileServiceImageryProvider.js +0 -274
  80. package/Source/Scene/computeFlyToLocationForRectangle.js +0 -6
  81. package/Source/Scene/createGooglePhotorealistic3DTileset.js +5 -0
  82. package/Source/Widget/CesiumWidget.js +2 -19
  83. package/index.d.ts +62 -1183
  84. package/index.js +54 -57
  85. package/package.json +2 -2
  86. package/Source/Core/createWorldTerrain.js +0 -61
  87. package/Source/Scene/createOsmBuildings.js +0 -82
  88. package/Source/Scene/createWorldImagery.js +0 -47
package/index.d.ts CHANGED
@@ -600,12 +600,10 @@ export namespace ArcGISTiledElevationTerrainProvider {
600
600
  * @property [ellipsoid] - The ellipsoid. If the tilingScheme is specified,
601
601
  * this parameter is ignored and the tiling scheme's ellipsoid is used instead.
602
602
  * If neither parameter is specified, the WGS84 ellipsoid is used.
603
- * @property [url] - The URL of the ArcGIS ImageServer service. Deprecated.
604
603
  */
605
604
  type ConstructorOptions = {
606
605
  token?: string;
607
606
  ellipsoid?: Ellipsoid;
608
- url?: Resource | string | Promise<Resource> | Promise<string>;
609
607
  };
610
608
  }
611
609
 
@@ -640,14 +638,6 @@ export class ArcGISTiledElevationTerrainProvider {
640
638
  * Gets the tiling scheme used by this provider.
641
639
  */
642
640
  readonly tilingScheme: GeographicTilingScheme;
643
- /**
644
- * Gets a value indicating whether or not the provider is ready for use.
645
- */
646
- readonly ready: boolean;
647
- /**
648
- * Gets a promise that resolves to true when the provider is ready for use.
649
- */
650
- readonly readyPromise: Promise<boolean>;
651
641
  /**
652
642
  * Gets a value indicating whether or not the provider includes a water mask. The water mask
653
643
  * indicates which areas of the globe are water rather than land, so they can be rendered
@@ -2819,7 +2809,6 @@ export namespace CesiumTerrainProvider {
2819
2809
  * @property [requestMetadata = true] - Flag that indicates if the client should request per tile metadata from the server, if available.
2820
2810
  * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
2821
2811
  * @property [credit] - A credit for the data source, which is displayed on the canvas.
2822
- * @property [url] - The URL of the Cesium terrain server. Deprecated.
2823
2812
  */
2824
2813
  type ConstructorOptions = {
2825
2814
  requestVertexNormals?: boolean;
@@ -2827,7 +2816,6 @@ export namespace CesiumTerrainProvider {
2827
2816
  requestMetadata?: boolean;
2828
2817
  ellipsoid?: Ellipsoid;
2829
2818
  credit?: Credit | string;
2830
- url?: Resource | string | Promise<Resource> | Promise<string>;
2831
2819
  };
2832
2820
  }
2833
2821
 
@@ -2884,14 +2872,6 @@ export class CesiumTerrainProvider {
2884
2872
  * Gets the tiling scheme used by this provider.
2885
2873
  */
2886
2874
  readonly tilingScheme: GeographicTilingScheme;
2887
- /**
2888
- * Gets a value indicating whether or not the provider is ready for use.
2889
- */
2890
- readonly ready: boolean;
2891
- /**
2892
- * Gets a promise that resolves to true when the provider is ready for use.
2893
- */
2894
- readonly readyPromise: Promise<boolean>;
2895
2875
  /**
2896
2876
  * Gets a value indicating whether or not the provider includes a water mask. The water mask
2897
2877
  * indicates which areas of the globe are water rather than land, so they can be rendered
@@ -4983,14 +4963,6 @@ export class CustomHeightmapTerrainProvider {
4983
4963
  * Gets the tiling scheme used by this provider.
4984
4964
  */
4985
4965
  readonly tilingScheme: TilingScheme;
4986
- /**
4987
- * Gets a value indicating whether or not the provider is ready for use.
4988
- */
4989
- readonly ready: boolean;
4990
- /**
4991
- * Gets a promise that resolves to true when the provider is ready for use.
4992
- */
4993
- readonly readyPromise: Promise<boolean>;
4994
4966
  /**
4995
4967
  * Gets a value indicating whether or not the provider includes a water mask. The water mask
4996
4968
  * indicates which areas of the globe are water rather than land, so they can be rendered
@@ -6221,14 +6193,6 @@ export class EllipsoidTerrainProvider {
6221
6193
  * Gets the tiling scheme used by this provider.
6222
6194
  */
6223
6195
  readonly tilingScheme: GeographicTilingScheme;
6224
- /**
6225
- * Gets a value indicating whether or not the provider is ready for use.
6226
- */
6227
- readonly ready: boolean;
6228
- /**
6229
- * Gets a promise that resolves to true when the provider is ready for use.
6230
- */
6231
- readonly readyPromise: Promise<boolean>;
6232
6196
  /**
6233
6197
  * Gets a value indicating whether or not the provider includes a water mask. The water mask
6234
6198
  * indicates which areas of the globe are water rather than land, so they can be rendered
@@ -7328,10 +7292,9 @@ export namespace GeometryPipeline {
7328
7292
  *
7329
7293
  * Provides metadata using the Google Earth Enterprise REST API. This is used by the GoogleEarthEnterpriseImageryProvider
7330
7294
  * and GoogleEarthEnterpriseTerrainProvider to share metadata requests.
7331
- * @param [resourceOrUrl] - The url of the Google Earth Enterprise server hosting the imagery. Deprecated.
7332
7295
  */
7333
7296
  export class GoogleEarthEnterpriseMetadata {
7334
- constructor(resourceOrUrl?: Resource | string);
7297
+ constructor();
7335
7298
  /**
7336
7299
  * True if imagery is available.
7337
7300
  */
@@ -7372,10 +7335,6 @@ export class GoogleEarthEnterpriseMetadata {
7372
7335
  * Gets the resource used for metadata requests.
7373
7336
  */
7374
7337
  readonly resource: Resource;
7375
- /**
7376
- * Gets a promise that resolves to true when the metadata is ready for use.
7377
- */
7378
- readonly readyPromise: Promise<boolean>;
7379
7338
  /**
7380
7339
  * Creates a metadata object using the Google Earth Enterprise REST API. This is used by the GoogleEarthEnterpriseImageryProvider
7381
7340
  * and GoogleEarthEnterpriseTerrainProvider to share metadata requests.
@@ -7498,14 +7457,10 @@ export namespace GoogleEarthEnterpriseTerrainProvider {
7498
7457
  * Initialization options for GoogleEarthEnterpriseTerrainProvider constructor
7499
7458
  * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
7500
7459
  * @property [credit] - A credit for the data source, which is displayed on the canvas.
7501
- * @property [url] - The url of the Google Earth Enterprise server hosting the imagery. Deprecated.
7502
- * @property [metadata] - A metadata object that can be used to share metadata requests with a GoogleEarthEnterpriseImageryProvider. Deprecated.
7503
7460
  */
7504
7461
  type ConstructorOptions = {
7505
7462
  ellipsoid?: Ellipsoid;
7506
7463
  credit?: Credit | string;
7507
- url?: Resource | string;
7508
- metadata?: GoogleEarthEnterpriseMetadata;
7509
7464
  };
7510
7465
  }
7511
7466
 
@@ -7518,10 +7473,10 @@ export namespace GoogleEarthEnterpriseTerrainProvider {
7518
7473
  * @example
7519
7474
  * const geeMetadata = await GoogleEarthEnterpriseMetadata.fromUrl("http://www.example.com");
7520
7475
  * const gee = Cesium.GoogleEarthEnterpriseTerrainProvider.fromMetadata(geeMetadata);
7521
- * @param options - An object describing initialization options
7476
+ * @param [options] - An object describing initialization options
7522
7477
  */
7523
7478
  export class GoogleEarthEnterpriseTerrainProvider {
7524
- constructor(options: GoogleEarthEnterpriseTerrainProvider.ConstructorOptions);
7479
+ constructor(options?: GoogleEarthEnterpriseTerrainProvider.ConstructorOptions);
7525
7480
  /**
7526
7481
  * Gets the name of the Google Earth Enterprise server url hosting the imagery.
7527
7482
  */
@@ -7540,14 +7495,6 @@ export class GoogleEarthEnterpriseTerrainProvider {
7540
7495
  * are passed an instance of {@link TileProviderError}.
7541
7496
  */
7542
7497
  readonly errorEvent: Event;
7543
- /**
7544
- * Gets a value indicating whether or not the provider is ready for use.
7545
- */
7546
- readonly ready: boolean;
7547
- /**
7548
- * Gets a promise that resolves to true when the provider is ready for use.
7549
- */
7550
- readonly readyPromise: Promise<boolean>;
7551
7498
  /**
7552
7499
  * Gets the credit to display when this terrain provider is active. Typically this is used to credit
7553
7500
  * the source of the terrain.
@@ -16295,14 +16242,6 @@ export class TerrainProvider {
16295
16242
  * Gets the tiling scheme used by the provider.
16296
16243
  */
16297
16244
  readonly tilingScheme: TilingScheme;
16298
- /**
16299
- * Gets a value indicating whether or not the provider is ready for use.
16300
- */
16301
- readonly ready: boolean;
16302
- /**
16303
- * Gets a promise that resolves to true when the provider is ready for use.
16304
- */
16305
- readonly readyPromise: Promise<boolean>;
16306
16245
  /**
16307
16246
  * Gets a value indicating whether or not the provider includes a water mask. The water mask
16308
16247
  * indicates which areas of the globe are water rather than land, so they can be rendered
@@ -17391,12 +17330,10 @@ export namespace VRTheWorldTerrainProvider {
17391
17330
  * Initialization options for the VRTheWorldTerrainProvider constructor
17392
17331
  * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
17393
17332
  * @property [credit] - A credit for the data source, which is displayed on the canvas.
17394
- * @property [url] - The URL of the VR-TheWorld TileMap. Deprecated.
17395
17333
  */
17396
17334
  type ConstructorOptions = {
17397
17335
  ellipsoid?: Ellipsoid;
17398
17336
  credit?: Credit | string;
17399
- url?: Resource | string;
17400
17337
  };
17401
17338
  }
17402
17339
 
@@ -17431,14 +17368,6 @@ export class VRTheWorldTerrainProvider {
17431
17368
  * Gets the tiling scheme used by this provider.
17432
17369
  */
17433
17370
  readonly tilingScheme: GeographicTilingScheme;
17434
- /**
17435
- * Gets a value indicating whether or not the provider is ready for use.
17436
- */
17437
- readonly ready: boolean;
17438
- /**
17439
- * Gets a promise that resolves to true when the provider is ready for use.
17440
- */
17441
- readonly readyPromise: Promise<boolean>;
17442
17371
  /**
17443
17372
  * Gets a value indicating whether or not the provider includes a water mask. The water mask
17444
17373
  * indicates which areas of the globe are water rather than land, so they can be rendered
@@ -18156,30 +18085,6 @@ export function combine(object1?: any, object2?: any, deep?: boolean): any;
18156
18085
  */
18157
18086
  export function createGuid(): string;
18158
18087
 
18159
- /**
18160
- * Creates a {@link CesiumTerrainProvider} instance for the {@link https://cesium.com/content/#cesium-world-terrain|Cesium World Terrain}.
18161
- * @example
18162
- * // Create Cesium World Terrain with default settings
18163
- * const viewer = new Cesium.Viewer('cesiumContainer', {
18164
- * terrainProvider : Cesium.createWorldTerrain();
18165
- * });
18166
- * @example
18167
- * // Create Cesium World Terrain with water and normals.
18168
- * const viewer1 = new Cesium.Viewer('cesiumContainer', {
18169
- * terrainProvider : Cesium.createWorldTerrain({
18170
- * requestWaterMask : true,
18171
- * requestVertexNormals : true
18172
- * });
18173
- * });
18174
- * @param [options] - Object with the following properties:
18175
- * @param [options.requestVertexNormals = false] - Flag that indicates if the client should request additional lighting information from the server if available.
18176
- * @param [options.requestWaterMask = false] - Flag that indicates if the client should request per tile water masks from the server if available.
18177
- */
18178
- export function createWorldTerrain(options?: {
18179
- requestVertexNormals?: boolean;
18180
- requestWaterMask?: boolean;
18181
- }): CesiumTerrainProvider;
18182
-
18183
18088
  /**
18184
18089
  * Creates a {@link CesiumTerrainProvider} instance for the {@link https://cesium.com/content/#cesium-world-terrain|Cesium World Terrain}.
18185
18090
  * @example
@@ -22014,7 +21919,7 @@ export class KmlTour {
22014
21919
  * @param [cameraOptions] - these options will be merged with {@link Camera#flyTo}
22015
21920
  * options for FlyTo playlist entries.
22016
21921
  */
22017
- play(widget: Viewer | CesiumWidget, cameraOptions?: any): void;
21922
+ play(widget: CesiumWidget, cameraOptions?: any): void;
22018
21923
  /**
22019
21924
  * Stop curently playing tour.
22020
21925
  */
@@ -25358,8 +25263,6 @@ export enum ArcGisBaseMapType {
25358
25263
  export namespace ArcGisMapServerImageryProvider {
25359
25264
  /**
25360
25265
  * Initialization options for the ArcGisMapServerImageryProvider constructor
25361
- * @property [url] - The URL of the ArcGIS MapServer service. Deprecated.
25362
- * @property [token] - The ArcGIS token used to authenticate with the ArcGIS MapServer service. Deprecated.
25363
25266
  * @property [tileDiscardPolicy] - The policy that determines if a tile
25364
25267
  * is invalid and should be discarded. If this value is not specified, a default
25365
25268
  * {@link DiscardMissingTileImagePolicy} is used for tiled map servers, and a
@@ -25393,8 +25296,6 @@ export namespace ArcGisMapServerImageryProvider {
25393
25296
  * a tiled server.
25394
25297
  */
25395
25298
  type ConstructorOptions = {
25396
- url?: Resource | string;
25397
- token?: string;
25398
25299
  tileDiscardPolicy?: TileDiscardPolicy;
25399
25300
  usePreCachedTilesIfAvailable?: boolean;
25400
25301
  layers?: string;
@@ -25524,17 +25425,9 @@ export class ArcGisMapServerImageryProvider {
25524
25425
  * are passed an instance of {@link TileProviderError}.
25525
25426
  */
25526
25427
  readonly errorEvent: Event;
25527
- /**
25528
- * Gets a value indicating whether or not the provider is ready for use.
25529
- */
25530
- readonly ready: boolean;
25531
- /**
25532
- * Gets a promise that resolves to true when the provider is ready for use.
25533
- */
25534
- readonly readyPromise: Promise<boolean>;
25535
25428
  /**
25536
25429
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
25537
- * the source of the imagery. This function should not be called before {@link ArcGisMapServerImageryProvider#ready} returns true.
25430
+ * the source of the imagery.
25538
25431
  */
25539
25432
  readonly credit: Credit;
25540
25433
  /**
@@ -25554,52 +25447,6 @@ export class ArcGisMapServerImageryProvider {
25554
25447
  * Gets the comma-separated list of layer IDs to show.
25555
25448
  */
25556
25449
  layers: string;
25557
- /**
25558
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
25559
- * 1.0 representing fully opaque.
25560
- */
25561
- defaultAlpha: number | undefined;
25562
- /**
25563
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
25564
- * 1.0 representing fully opaque.
25565
- */
25566
- defaultNightAlpha: number | undefined;
25567
- /**
25568
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
25569
- * 1.0 representing fully opaque.
25570
- */
25571
- defaultDayAlpha: number | undefined;
25572
- /**
25573
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
25574
- * makes the imagery darker while greater than 1.0 makes it brighter.
25575
- */
25576
- defaultBrightness: number | undefined;
25577
- /**
25578
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
25579
- * the contrast while greater than 1.0 increases it.
25580
- */
25581
- defaultContrast: number | undefined;
25582
- /**
25583
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
25584
- */
25585
- defaultHue: number | undefined;
25586
- /**
25587
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
25588
- * saturation while greater than 1.0 increases it.
25589
- */
25590
- defaultSaturation: number | undefined;
25591
- /**
25592
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
25593
- */
25594
- defaultGamma: number | undefined;
25595
- /**
25596
- * The default texture minification filter to apply to this provider.
25597
- */
25598
- defaultMinificationFilter: TextureMinificationFilter;
25599
- /**
25600
- * The default texture magnification filter to apply to this provider.
25601
- */
25602
- defaultMagnificationFilter: TextureMagnificationFilter;
25603
25450
  /**
25604
25451
  * Creates an {@link ImageryProvider} which provides tiled imagery hosted by an ArcGIS MapServer. By default, the server's pre-cached tiles are
25605
25452
  * used, if available.
@@ -26224,7 +26071,6 @@ export class BillboardCollection {
26224
26071
  export namespace BingMapsImageryProvider {
26225
26072
  /**
26226
26073
  * Initialization options for the BingMapsImageryProvider constructor
26227
- * @property [url] - The url of the Bing Maps server hosting the imagery. Deprecated.
26228
26074
  * @property [key] - The Bing Maps key for your application, which can be
26229
26075
  * created at {@link https://www.bingmapsportal.com/}.
26230
26076
  * @property [tileProtocol] - The protocol to use when loading tiles, e.g. 'http' or 'https'.
@@ -26240,7 +26086,6 @@ export namespace BingMapsImageryProvider {
26240
26086
  * To ensure that no tiles are discarded, construct and pass a {@link NeverTileDiscardPolicy} for this parameter.
26241
26087
  */
26242
26088
  type ConstructorOptions = {
26243
- url?: Resource | string;
26244
26089
  key?: string;
26245
26090
  tileProtocol?: string;
26246
26091
  mapStyle?: BingMapsStyle;
@@ -26324,14 +26169,6 @@ export class BingMapsImageryProvider {
26324
26169
  * are passed an instance of {@link TileProviderError}.
26325
26170
  */
26326
26171
  readonly errorEvent: Event;
26327
- /**
26328
- * Gets a value indicating whether or not the provider is ready for use.
26329
- */
26330
- readonly ready: boolean;
26331
- /**
26332
- * Gets a promise that resolves to true when the provider is ready for use.
26333
- */
26334
- readonly readyPromise: Promise<boolean>;
26335
26172
  /**
26336
26173
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
26337
26174
  * the source of the imagery.
@@ -26345,52 +26182,6 @@ export class BingMapsImageryProvider {
26345
26182
  * and texture upload time.
26346
26183
  */
26347
26184
  readonly hasAlphaChannel: boolean;
26348
- /**
26349
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
26350
- * 1.0 representing fully opaque.
26351
- */
26352
- defaultAlpha: number | undefined;
26353
- /**
26354
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
26355
- * 1.0 representing fully opaque.
26356
- */
26357
- defaultNightAlpha: number | undefined;
26358
- /**
26359
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
26360
- * 1.0 representing fully opaque.
26361
- */
26362
- defaultDayAlpha: number | undefined;
26363
- /**
26364
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
26365
- * makes the imagery darker while greater than 1.0 makes it brighter.
26366
- */
26367
- defaultBrightness: number | undefined;
26368
- /**
26369
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
26370
- * the contrast while greater than 1.0 increases it.
26371
- */
26372
- defaultContrast: number | undefined;
26373
- /**
26374
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
26375
- */
26376
- defaultHue: number | undefined;
26377
- /**
26378
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
26379
- * saturation while greater than 1.0 increases it.
26380
- */
26381
- defaultSaturation: number | undefined;
26382
- /**
26383
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
26384
- */
26385
- defaultGamma: number | undefined;
26386
- /**
26387
- * The default texture minification filter to apply to this provider.
26388
- */
26389
- defaultMinificationFilter: TextureMinificationFilter;
26390
- /**
26391
- * The default texture magnification filter to apply to this provider.
26392
- */
26393
- defaultMagnificationFilter: TextureMagnificationFilter;
26394
26185
  /**
26395
26186
  * Creates an {@link ImageryProvider} which provides tiled imagery using the Bing Maps Imagery REST API.
26396
26187
  * @example
@@ -26667,7 +26458,7 @@ export type DirectionUp = {
26667
26458
  * An orientation given by numeric heading, pitch, and roll
26668
26459
  * @property [heading = 0.0] - The heading in radians
26669
26460
  * @property [pitch = -Math.PI_OVER_TWO] - The pitch in radians
26670
- * @property [roll = 0.0] - The roll in meters
26461
+ * @property [roll = 0.0] - The roll in radians
26671
26462
  */
26672
26463
  export type HeadingPitchRollValues = {
26673
26464
  heading?: number;
@@ -27582,10 +27373,6 @@ export class Cesium3DTileContent {
27582
27373
  * Returns true when the tile's content is ready to render; otherwise false
27583
27374
  */
27584
27375
  readonly ready: boolean;
27585
- /**
27586
- * Gets the promise that will be resolved when the tile's content is ready to render.
27587
- */
27588
- readonly readyPromise: Promise<Cesium3DTileContent>;
27589
27376
  /**
27590
27377
  * Gets the tileset for this tile.
27591
27378
  */
@@ -28699,20 +28486,9 @@ export class Cesium3DTileStyle {
28699
28486
  * This object is normally not instantiated directly, use {@link Cesium3DTilesVoxelProvider.fromUrl}.
28700
28487
  * </div>
28701
28488
  * @param options - Object with the following properties:
28702
- * @param [options.url] - The URL to a tileset JSON file. Deprecated.
28703
28489
  */
28704
28490
  export class Cesium3DTilesVoxelProvider extends VoxelProvider {
28705
- constructor(options: {
28706
- url?: Resource | string | Promise<Resource> | Promise<string>;
28707
- });
28708
- /**
28709
- * Gets the promise that will be resolved when the provider is ready for use.
28710
- */
28711
- readonly readyPromise: Promise<Cesium3DTilesVoxelProvider>;
28712
- /**
28713
- * Gets a value indicating whether or not the provider is ready for use.
28714
- */
28715
- readonly ready: boolean;
28491
+ constructor(options: any);
28716
28492
  /**
28717
28493
  * Creates a {@link VoxelProvider} that fetches voxel data from a 3D Tiles tileset.
28718
28494
  * @param url - The URL to a tileset JSON file
@@ -28810,14 +28586,15 @@ export class Cesium3DTilesVoxelProvider extends VoxelProvider {
28810
28586
  export namespace Cesium3DTileset {
28811
28587
  /**
28812
28588
  * Initialization options for the Cesium3DTileset constructor
28813
- * @property [.url] - The url to a tileset JSON file. Deprecated.
28814
28589
  * @property [show = true] - Determines if the tileset will be shown.
28815
28590
  * @property [modelMatrix = Matrix4.IDENTITY] - A 4x4 transformation matrix that transforms the tileset's root tile.
28816
28591
  * @property [modelUpAxis = Axis.Y] - Which axis is considered up when loading models for tile contents.
28817
28592
  * @property [modelForwardAxis = Axis.X] - Which axis is considered forward when loading models for tile contents.
28818
28593
  * @property [shadows = ShadowMode.ENABLED] - Determines whether the tileset casts or receives shadows from light sources.
28819
28594
  * @property [maximumScreenSpaceError = 16] - The maximum screen space error used to drive level of detail refinement.
28820
- * @property [maximumMemoryUsage = 512] - The maximum amount of memory in MB that can be used by the tileset.
28595
+ * @property [maximumMemoryUsage = 512] - The maximum amount of memory in MB that can be used by the tileset. Deprecated.
28596
+ * @property [cacheBytes = 536870912] - The size (in bytes) to which the tile cache will be trimmed, if the cache contains tiles not needed for the current view.
28597
+ * @property [maximumCacheOverflowBytes = 536870912] - The maximum additional memory (in bytes) to allow for cache headroom, if more than {@link Cesium3DTileset#cacheBytes} are needed for the current view.
28821
28598
  * @property [cullWithChildrenBounds = true] - Optimization option. Whether to cull tiles using the union of their children bounding volumes.
28822
28599
  * @property [cullRequestsWhileMoving = true] - Optimization option. Don't request tiles that will likely be unused when they come back because of the camera's movement. This optimization only applies to stationary tilesets.
28823
28600
  * @property [cullRequestsWhileMovingMultiplier = 60.0] - Optimization option. Multiplier used in culling requests while moving. Larger is more aggressive culling, smaller less aggressive culling.
@@ -28878,6 +28655,8 @@ export namespace Cesium3DTileset {
28878
28655
  shadows?: ShadowMode;
28879
28656
  maximumScreenSpaceError?: number;
28880
28657
  maximumMemoryUsage?: number;
28658
+ cacheBytes?: number;
28659
+ maximumCacheOverflowBytes?: number;
28881
28660
  cullWithChildrenBounds?: boolean;
28882
28661
  cullRequestsWhileMoving?: boolean;
28883
28662
  cullRequestsWhileMovingMultiplier?: number;
@@ -29404,27 +29183,6 @@ export class Cesium3DTileset {
29404
29183
  * console.log(`Minimum building height: ${tileset.properties.height.minimum}`);
29405
29184
  */
29406
29185
  readonly properties: any;
29407
- /**
29408
- * When <code>true</code>, the tileset's root tile is loaded and the tileset is ready to render.
29409
- */
29410
- readonly ready: boolean;
29411
- /**
29412
- * Gets the promise that will be resolved when the tileset's root tile is loaded and the tileset is ready to render.
29413
- * <p>
29414
- * This promise is resolved at the end of the frame before the first frame the tileset is rendered in.
29415
- * </p>
29416
- * @example
29417
- * tileset.readyPromise.then(function(tileset) {
29418
- * // tile.properties is not defined until readyPromise resolves.
29419
- * const properties = tileset.properties;
29420
- * if (Cesium.defined(properties)) {
29421
- * for (const name in properties) {
29422
- * console.log(properties[name]);
29423
- * }
29424
- * }
29425
- * });
29426
- */
29427
- readonly readyPromise: Promise<Cesium3DTileset>;
29428
29186
  /**
29429
29187
  * When <code>true</code>, all tiles that meet the screen space error this frame are loaded. The tileset is
29430
29188
  * completely loaded for this view.
@@ -29515,6 +29273,40 @@ export class Cesium3DTileset {
29515
29273
  * </p>
29516
29274
  */
29517
29275
  maximumMemoryUsage: number;
29276
+ /**
29277
+ * The amount of GPU memory (in bytes) used to cache tiles. This memory usage is estimated from
29278
+ * geometry, textures, and batch table textures of loaded tiles. For point clouds, this value also
29279
+ * includes per-point metadata.
29280
+ * <p>
29281
+ * Tiles not in view are unloaded to enforce this.
29282
+ * </p>
29283
+ * <p>
29284
+ * If decreasing this value results in unloading tiles, the tiles are unloaded the next frame.
29285
+ * </p>
29286
+ * <p>
29287
+ * If tiles sized more than <code>cacheBytes</code> are needed to meet the
29288
+ * desired screen space error, determined by {@link Cesium3DTileset#maximumScreenSpaceError},
29289
+ * for the current view, then the memory usage of the tiles loaded will exceed
29290
+ * <code>cacheBytes</code> by up to <code>maximumCacheOverflowBytes</code>.
29291
+ * For example, if <code>cacheBytes</code> is 500000, but 600000 bytes
29292
+ * of tiles are needed to meet the screen space error, then 600000 bytes of tiles
29293
+ * may be loaded (if <code>maximumCacheOverflowBytes</code> is at least 100000).
29294
+ * When these tiles go out of view, they will be unloaded.
29295
+ * </p>
29296
+ */
29297
+ cacheBytes: number;
29298
+ /**
29299
+ * The maximum additional amount of GPU memory (in bytes) that will be used to cache tiles.
29300
+ * <p>
29301
+ * If tiles sized more than <code>cacheBytes</code> plus <code>maximumCacheOverflowBytes</code>
29302
+ * are needed to meet the desired screen space error, determined by
29303
+ * {@link Cesium3DTileset#maximumScreenSpaceError} for the current view, then
29304
+ * {@link Cesium3DTileset#memoryAdjustedScreenSpaceError} will be adjusted
29305
+ * until the tiles required to meet the adjusted screen space error use less
29306
+ * than <code>cacheBytes</code> plus <code>maximumCacheOverflowBytes</code>.
29307
+ * </p>
29308
+ */
29309
+ maximumCacheOverflowBytes: number;
29518
29310
  /**
29519
29311
  * Options for controlling point size based on geometric error and eye dome lighting.
29520
29312
  */
@@ -29716,7 +29508,7 @@ export class Cesium3DTileset {
29716
29508
  /**
29717
29509
  * Unloads all tiles that weren't selected the previous frame. This can be used to
29718
29510
  * explicitly manage the tile cache and reduce the total number of tiles loaded below
29719
- * {@link Cesium3DTileset#maximumMemoryUsage}.
29511
+ * {@link Cesium3DTileset#cacheBytes}.
29720
29512
  * <p>
29721
29513
  * Tile unloads occur at the next frame to keep all the WebGL delete calls
29722
29514
  * within the render loop.
@@ -29886,10 +29678,6 @@ export class ClassificationPrimitive {
29886
29678
  * is called.
29887
29679
  */
29888
29680
  readonly ready: boolean;
29889
- /**
29890
- * Gets a promise that resolves when the primitive is ready to render.
29891
- */
29892
- readonly readyPromise: Promise<ClassificationPrimitive>;
29893
29681
  /**
29894
29682
  * Determines if ClassificationPrimitive rendering is supported.
29895
29683
  * @param scene - The scene.
@@ -30432,23 +30220,12 @@ export class CreditDisplay {
30432
30220
  * The HTML element where credits will be displayed.
30433
30221
  */
30434
30222
  container: HTMLElement;
30435
- /**
30436
- * Adds a credit to the list of current credits to be displayed in the credit container
30437
- * for the next frame
30438
- * @param credit - The credit to display
30439
- */
30440
- addCredit(credit: Credit): void;
30441
30223
  /**
30442
30224
  * Adds a {@link Credit} that will show on screen or in the lightbox until
30443
30225
  * the next frame. This is mostly for internal use. Use {@link CreditDisplay.addStaticCredit} to add a persistent credit to the screen.
30444
30226
  * @param credit - The credit to display in the next frame.
30445
30227
  */
30446
30228
  addCreditToNextFrame(credit: Credit): void;
30447
- /**
30448
- * Adds credits that will persist until they are removed
30449
- * @param credit - The credit to added to defaults
30450
- */
30451
- addDefaultCredit(credit: Credit): void;
30452
30229
  /**
30453
30230
  * Adds a {@link Credit} that will show on screen or in the lightbox until removed with {@link CreditDisplay.removeStaticCredit}.
30454
30231
  * @example
@@ -30467,11 +30244,6 @@ export class CreditDisplay {
30467
30244
  * @param credit - The credit to be removed.
30468
30245
  */
30469
30246
  removeStaticCredit(credit: Credit): void;
30470
- /**
30471
- * Removes a default credit.
30472
- * @param credit - The credit to be removed from defaults
30473
- */
30474
- removeDefaultCredit(credit: Credit): void;
30475
30247
  /**
30476
30248
  * Updates the credit display before a new frame is rendered.
30477
30249
  */
@@ -31755,8 +31527,6 @@ export function removeExtension(gltf: any, extension: string): any;
31755
31527
  export namespace GoogleEarthEnterpriseImageryProvider {
31756
31528
  /**
31757
31529
  * Initialization options for the GoogleEarthEnterpriseImageryProvider constructor
31758
- * @property [url] - The url of the Google Earth Enterprise server hosting the imagery. Deprecated.
31759
- * @property [metadata] - A metadata object that can be used to share metadata requests with a GoogleEarthEnterpriseTerrainProvider. Deprecated.
31760
31530
  * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
31761
31531
  * @property [tileDiscardPolicy] - The policy that determines if a tile
31762
31532
  * is invalid and should be discarded. If this value is not specified, a default
@@ -31764,8 +31534,6 @@ export namespace GoogleEarthEnterpriseImageryProvider {
31764
31534
  * @property [credit] - A credit for the data source, which is displayed on the canvas.
31765
31535
  */
31766
31536
  type ConstructorOptions = {
31767
- url?: Resource | string;
31768
- metadata?: GoogleEarthEnterpriseMetadata;
31769
31537
  ellipsoid?: Ellipsoid;
31770
31538
  tileDiscardPolicy?: TileDiscardPolicy;
31771
31539
  credit?: Credit | string;
@@ -31784,10 +31552,10 @@ export namespace GoogleEarthEnterpriseImageryProvider {
31784
31552
  * @example
31785
31553
  * const geeMetadata = await GoogleEarthEnterpriseMetadata.fromUrl("http://www.example.com");
31786
31554
  * const gee = Cesium.GoogleEarthEnterpriseImageryProvider.fromMetadata(geeMetadata);
31787
- * @param options - Object describing initialization options
31555
+ * @param [options] - Object describing initialization options
31788
31556
  */
31789
31557
  export class GoogleEarthEnterpriseImageryProvider {
31790
- constructor(options: GoogleEarthEnterpriseImageryProvider.ConstructorOptions);
31558
+ constructor(options?: GoogleEarthEnterpriseImageryProvider.ConstructorOptions);
31791
31559
  /**
31792
31560
  * Gets the name of the Google Earth Enterprise server url hosting the imagery.
31793
31561
  */
@@ -31832,14 +31600,6 @@ export class GoogleEarthEnterpriseImageryProvider {
31832
31600
  * are passed an instance of {@link TileProviderError}.
31833
31601
  */
31834
31602
  readonly errorEvent: Event;
31835
- /**
31836
- * Gets a value indicating whether or not the provider is ready for use.
31837
- */
31838
- readonly ready: boolean;
31839
- /**
31840
- * Gets a promise that resolves to true when the provider is ready for use.
31841
- */
31842
- readonly readyPromise: Promise<boolean>;
31843
31603
  /**
31844
31604
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
31845
31605
  * the source of the imagery.
@@ -31853,52 +31613,6 @@ export class GoogleEarthEnterpriseImageryProvider {
31853
31613
  * and texture upload time.
31854
31614
  */
31855
31615
  readonly hasAlphaChannel: boolean;
31856
- /**
31857
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
31858
- * 1.0 representing fully opaque.
31859
- */
31860
- defaultAlpha: number | undefined;
31861
- /**
31862
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
31863
- * 1.0 representing fully opaque.
31864
- */
31865
- defaultNightAlpha: number | undefined;
31866
- /**
31867
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
31868
- * 1.0 representing fully opaque.
31869
- */
31870
- defaultDayAlpha: number | undefined;
31871
- /**
31872
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
31873
- * makes the imagery darker while greater than 1.0 makes it brighter.
31874
- */
31875
- defaultBrightness: number | undefined;
31876
- /**
31877
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
31878
- * the contrast while greater than 1.0 increases it.
31879
- */
31880
- defaultContrast: number | undefined;
31881
- /**
31882
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
31883
- */
31884
- defaultHue: number | undefined;
31885
- /**
31886
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
31887
- * saturation while greater than 1.0 increases it.
31888
- */
31889
- defaultSaturation: number | undefined;
31890
- /**
31891
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
31892
- */
31893
- defaultGamma: number | undefined;
31894
- /**
31895
- * The default texture minification filter to apply to this provider.
31896
- */
31897
- defaultMinificationFilter: TextureMinificationFilter;
31898
- /**
31899
- * The default texture magnification filter to apply to this provider.
31900
- */
31901
- defaultMagnificationFilter: TextureMagnificationFilter;
31902
31616
  /**
31903
31617
  * Creates a tiled imagery provider using the Google Earth Enterprise REST API.
31904
31618
  * @example
@@ -31942,7 +31656,6 @@ export class GoogleEarthEnterpriseImageryProvider {
31942
31656
  export namespace GoogleEarthEnterpriseMapsProvider {
31943
31657
  /**
31944
31658
  * Initialization options for the GoogleEarthEnterpriseMapsProvider constructor
31945
- * @property [url] - The url of the Google Earth server hosting the imagery. Deprecated.
31946
31659
  * @property channel - The channel (id) to be used when requesting data from the server.
31947
31660
  * The channel number can be found by looking at the json file located at:
31948
31661
  * earth.localdomain/default_map/query?request=Json&vars=geeServerDefs The /default_map path may
@@ -31970,7 +31683,6 @@ export namespace GoogleEarthEnterpriseMapsProvider {
31970
31683
  * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
31971
31684
  */
31972
31685
  type ConstructorOptions = {
31973
- url?: Resource | string;
31974
31686
  channel: number;
31975
31687
  path?: string;
31976
31688
  maximumLevel?: number;
@@ -32063,14 +31775,6 @@ export class GoogleEarthEnterpriseMapsProvider {
32063
31775
  * are passed an instance of {@link TileProviderError}.
32064
31776
  */
32065
31777
  readonly errorEvent: Event;
32066
- /**
32067
- * Gets a value indicating whether or not the provider is ready for use.
32068
- */
32069
- readonly ready: boolean;
32070
- /**
32071
- * Gets a promise that resolves to true when the provider is ready for use.
32072
- */
32073
- readonly readyPromise: Promise<boolean>;
32074
31778
  /**
32075
31779
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
32076
31780
  * the source of the imagery.
@@ -32084,52 +31788,6 @@ export class GoogleEarthEnterpriseMapsProvider {
32084
31788
  * and texture upload time are reduced.
32085
31789
  */
32086
31790
  readonly hasAlphaChannel: boolean;
32087
- /**
32088
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
32089
- * 1.0 representing fully opaque.
32090
- */
32091
- defaultAlpha: number | undefined;
32092
- /**
32093
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
32094
- * 1.0 representing fully opaque.
32095
- */
32096
- defaultNightAlpha: number | undefined;
32097
- /**
32098
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
32099
- * 1.0 representing fully opaque.
32100
- */
32101
- defaultDayAlpha: number | undefined;
32102
- /**
32103
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
32104
- * makes the imagery darker while greater than 1.0 makes it brighter.
32105
- */
32106
- defaultBrightness: number | undefined;
32107
- /**
32108
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
32109
- * the contrast while greater than 1.0 increases it.
32110
- */
32111
- defaultContrast: number | undefined;
32112
- /**
32113
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
32114
- */
32115
- defaultHue: number | undefined;
32116
- /**
32117
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
32118
- * saturation while greater than 1.0 increases it.
32119
- */
32120
- defaultSaturation: number | undefined;
32121
- /**
32122
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
32123
- */
32124
- defaultGamma: number | undefined;
32125
- /**
32126
- * The default texture minification filter to apply to this provider.
32127
- */
32128
- defaultMinificationFilter: TextureMinificationFilter;
32129
- /**
32130
- * The default texture magnification filter to apply to this provider.
32131
- */
32132
- defaultMagnificationFilter: TextureMagnificationFilter;
32133
31791
  /**
32134
31792
  * Creates a tiled imagery provider using the Google Earth Imagery API.
32135
31793
  * @example
@@ -32251,14 +31909,6 @@ export class GridImageryProvider {
32251
31909
  * are passed an instance of {@link TileProviderError}.
32252
31910
  */
32253
31911
  readonly errorEvent: Event;
32254
- /**
32255
- * Gets a value indicating whether or not the provider is ready for use.
32256
- */
32257
- readonly ready: boolean;
32258
- /**
32259
- * Gets a promise that resolves to true when the provider is ready for use.
32260
- */
32261
- readonly readyPromise: Promise<boolean>;
32262
31912
  /**
32263
31913
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
32264
31914
  * the source of the imagery.
@@ -32272,52 +31922,6 @@ export class GridImageryProvider {
32272
31922
  * and texture upload time are reduced.
32273
31923
  */
32274
31924
  readonly hasAlphaChannel: boolean;
32275
- /**
32276
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
32277
- * 1.0 representing fully opaque.
32278
- */
32279
- defaultAlpha: number | undefined;
32280
- /**
32281
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
32282
- * 1.0 representing fully opaque.
32283
- */
32284
- defaultNightAlpha: number | undefined;
32285
- /**
32286
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
32287
- * 1.0 representing fully opaque.
32288
- */
32289
- defaultDayAlpha: number | undefined;
32290
- /**
32291
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
32292
- * makes the imagery darker while greater than 1.0 makes it brighter.
32293
- */
32294
- defaultBrightness: number | undefined;
32295
- /**
32296
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
32297
- * the contrast while greater than 1.0 increases it.
32298
- */
32299
- defaultContrast: number | undefined;
32300
- /**
32301
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
32302
- */
32303
- defaultHue: number | undefined;
32304
- /**
32305
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
32306
- * saturation while greater than 1.0 increases it.
32307
- */
32308
- defaultSaturation: number | undefined;
32309
- /**
32310
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
32311
- */
32312
- defaultGamma: number | undefined;
32313
- /**
32314
- * The default texture minification filter to apply to this provider.
32315
- */
32316
- defaultMinificationFilter: TextureMinificationFilter;
32317
- /**
32318
- * The default texture magnification filter to apply to this provider.
32319
- */
32320
- defaultMagnificationFilter: TextureMagnificationFilter;
32321
31925
  /**
32322
31926
  * Draws a grid of lines into a canvas.
32323
31927
  */
@@ -32484,10 +32088,6 @@ export class GroundPolylinePrimitive {
32484
32088
  * is called.
32485
32089
  */
32486
32090
  readonly ready: boolean;
32487
- /**
32488
- * Gets a promise that resolves when the primitive is ready to render.
32489
- */
32490
- readonly readyPromise: Promise<GroundPolylinePrimitive>;
32491
32091
  /**
32492
32092
  * This property is for debugging only; it is not for production use nor is it optimized.
32493
32093
  * <p>
@@ -32712,10 +32312,6 @@ export class GroundPrimitive {
32712
32312
  * is called.
32713
32313
  */
32714
32314
  readonly ready: boolean;
32715
- /**
32716
- * Gets a promise that resolves when the primitive is ready to render.
32717
- */
32718
- readonly readyPromise: Promise<GroundPrimitive>;
32719
32315
  /**
32720
32316
  * Determines if GroundPrimitive rendering is supported.
32721
32317
  * @param scene - The scene.
@@ -32823,7 +32419,6 @@ export enum HorizontalOrigin {
32823
32419
  export namespace I3SDataProvider {
32824
32420
  /**
32825
32421
  * Initialization options for the I3SDataProvider constructor
32826
- * @property [url] - The url of the I3S dataset. Deprecated.
32827
32422
  * @property [name] - The name of the I3S dataset.
32828
32423
  * @property [show = true] - Determines if the dataset will be shown.
32829
32424
  * @property [geoidTiledTerrainProvider] - Tiled elevation provider describing an Earth Gravitational Model. If defined, geometry will be shifted based on the offsets given by this provider. Required to position I3S data sets with gravity-related height at the correct location.
@@ -32831,7 +32426,6 @@ export namespace I3SDataProvider {
32831
32426
  * @property [cesium3dTilesetOptions] - Object containing options to pass to an internally created {@link Cesium3DTileset}. See {@link Cesium3DTileset} for list of valid properties. All options can be used with the exception of <code>url</code> and <code>show</code> which are overridden by values from I3SDataProvider.
32832
32427
  */
32833
32428
  type ConstructorOptions = {
32834
- url?: Resource | string;
32835
32429
  name?: string;
32836
32430
  show?: boolean;
32837
32431
  geoidTiledTerrainProvider?: ArcGISTiledElevationTerrainProvider | Promise<ArcGISTiledElevationTerrainProvider>;
@@ -32903,15 +32497,6 @@ export class I3SDataProvider {
32903
32497
  * Gets the extent covered by this I3S.
32904
32498
  */
32905
32499
  readonly extent: Rectangle;
32906
- /**
32907
- * Gets the promise that will be resolved when the I3S scene is loaded.
32908
- */
32909
- readonly readyPromise: Promise<I3SDataProvider>;
32910
- /**
32911
- * When <code>true</code>, the I3S scene is loaded.
32912
- * This is set to <code>true</code> right before {@link I3SDataProvider#readyPromise} is resolved.
32913
- */
32914
- readonly ready: boolean;
32915
32500
  /**
32916
32501
  * The resource used to fetch the I3S dataset.
32917
32502
  */
@@ -33575,19 +33160,6 @@ export class ImageryLayer {
33575
33160
  * imageryLayer = imageryLayer && imageryLayer.destroy();
33576
33161
  */
33577
33162
  destroy(): void;
33578
- /**
33579
- * Computes the intersection of this layer's rectangle with the imagery provider's availability rectangle,
33580
- * producing the overall bounds of imagery that can be produced by this layer.
33581
- * @example
33582
- * // Zoom to an imagery layer.
33583
- * imageryLayer.getViewableRectangle().then(function (rectangle) {
33584
- * return camera.flyTo({
33585
- * destination: rectangle
33586
- * });
33587
- * });
33588
- * @returns A promise to a rectangle which defines the overall bounds of imagery that can be produced by this layer.
33589
- */
33590
- getViewableRectangle(): Promise<Rectangle>;
33591
33163
  /**
33592
33164
  * Computes the intersection of this layer's rectangle with the imagery provider's availability rectangle,
33593
33165
  * producing the overall bounds of imagery that can be produced by this layer.
@@ -33829,14 +33401,6 @@ export type ImageryTypes = HTMLImageElement | HTMLCanvasElement | ImageBitmap;
33829
33401
  */
33830
33402
  export class ImageryProvider {
33831
33403
  constructor();
33832
- /**
33833
- * Gets a value indicating whether or not the provider is ready for use.
33834
- */
33835
- readonly ready: boolean;
33836
- /**
33837
- * Gets a promise that resolves to true when the provider is ready for use.
33838
- */
33839
- readonly readyPromise: Promise<boolean>;
33840
33404
  /**
33841
33405
  * Gets the rectangle, in radians, of the imagery provided by the instance.
33842
33406
  */
@@ -33894,52 +33458,6 @@ export class ImageryProvider {
33894
33458
  * and texture upload time are reduced.
33895
33459
  */
33896
33460
  readonly hasAlphaChannel: boolean;
33897
- /**
33898
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
33899
- * 1.0 representing fully opaque.
33900
- */
33901
- defaultAlpha: number | undefined;
33902
- /**
33903
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
33904
- * 1.0 representing fully opaque.
33905
- */
33906
- defaultNightAlpha: number | undefined;
33907
- /**
33908
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
33909
- * 1.0 representing fully opaque.
33910
- */
33911
- defaultDayAlpha: number | undefined;
33912
- /**
33913
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
33914
- * makes the imagery darker while greater than 1.0 makes it brighter.
33915
- */
33916
- defaultBrightness: number | undefined;
33917
- /**
33918
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
33919
- * the contrast while greater than 1.0 increases it.
33920
- */
33921
- defaultContrast: number | undefined;
33922
- /**
33923
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
33924
- */
33925
- defaultHue: number | undefined;
33926
- /**
33927
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
33928
- * saturation while greater than 1.0 increases it.
33929
- */
33930
- defaultSaturation: number | undefined;
33931
- /**
33932
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
33933
- */
33934
- defaultGamma: number | undefined;
33935
- /**
33936
- * The default texture minification filter to apply to this provider.
33937
- */
33938
- defaultMinificationFilter: TextureMinificationFilter;
33939
- /**
33940
- * The default texture magnification filter to apply to this provider.
33941
- */
33942
- defaultMagnificationFilter: TextureMagnificationFilter;
33943
33461
  /**
33944
33462
  * Gets the credits to be displayed when a given tile is displayed.
33945
33463
  * @param x - The tile X coordinate.
@@ -33988,12 +33506,10 @@ export class ImageryProvider {
33988
33506
  export namespace IonImageryProvider {
33989
33507
  /**
33990
33508
  * Initialization options for the TileMapServiceImageryProvider constructor
33991
- * @property [assetId] - An ion imagery asset ID. Deprecated.
33992
33509
  * @property [accessToken = Ion.defaultAccessToken] - The access token to use.
33993
33510
  * @property [server = Ion.defaultServer] - The resource to the Cesium ion API server.
33994
33511
  */
33995
33512
  type ConstructorOptions = {
33996
- assetId?: number;
33997
33513
  accessToken?: string;
33998
33514
  server?: string | Resource;
33999
33515
  };
@@ -34008,18 +33524,10 @@ export namespace IonImageryProvider {
34008
33524
  * @example
34009
33525
  * const imageryLayer = Cesium.ImageryLayer.fromProviderAsync(Cesium.IonImageryProvider.fromAssetId(3812));
34010
33526
  * viewer.imageryLayers.add(imageryLayer);
34011
- * @param options - Object describing initialization options
33527
+ * @param [options] - Object describing initialization options
34012
33528
  */
34013
33529
  export class IonImageryProvider {
34014
- constructor(options: IonImageryProvider.ConstructorOptions);
34015
- /**
34016
- * Gets a value indicating whether or not the provider is ready for use.
34017
- */
34018
- readonly ready: boolean;
34019
- /**
34020
- * Gets a promise that resolves to true when the provider is ready for use.
34021
- */
34022
- readonly readyPromise: Promise<boolean>;
33530
+ constructor(options?: IonImageryProvider.ConstructorOptions);
34023
33531
  /**
34024
33532
  * Gets the rectangle, in radians, of the imagery provided by the instance.
34025
33533
  */
@@ -34077,52 +33585,6 @@ export class IonImageryProvider {
34077
33585
  * Gets the proxy used by this provider.
34078
33586
  */
34079
33587
  readonly proxy: Proxy;
34080
- /**
34081
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
34082
- * 1.0 representing fully opaque.
34083
- */
34084
- defaultAlpha: number | undefined;
34085
- /**
34086
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
34087
- * 1.0 representing fully opaque.
34088
- */
34089
- defaultNightAlpha: number | undefined;
34090
- /**
34091
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
34092
- * 1.0 representing fully opaque.
34093
- */
34094
- defaultDayAlpha: number | undefined;
34095
- /**
34096
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
34097
- * makes the imagery darker while greater than 1.0 makes it brighter.
34098
- */
34099
- defaultBrightness: number | undefined;
34100
- /**
34101
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
34102
- * the contrast while greater than 1.0 increases it.
34103
- */
34104
- defaultContrast: number | undefined;
34105
- /**
34106
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
34107
- */
34108
- defaultHue: number | undefined;
34109
- /**
34110
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
34111
- * saturation while greater than 1.0 increases it.
34112
- */
34113
- defaultSaturation: number | undefined;
34114
- /**
34115
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
34116
- */
34117
- defaultGamma: number | undefined;
34118
- /**
34119
- * The default texture minification filter to apply to this provider.
34120
- */
34121
- defaultMinificationFilter: TextureMinificationFilter;
34122
- /**
34123
- * The default texture magnification filter to apply to this provider.
34124
- */
34125
- defaultMagnificationFilter: TextureMagnificationFilter;
34126
33588
  /**
34127
33589
  * Creates a provider for tiled imagery using the Cesium ion REST API.
34128
33590
  * @example
@@ -34729,14 +34191,6 @@ export class MapboxImageryProvider {
34729
34191
  * Gets the URL of the Mapbox server.
34730
34192
  */
34731
34193
  readonly url: string;
34732
- /**
34733
- * Gets a value indicating whether or not the provider is ready for use.
34734
- */
34735
- readonly ready: boolean;
34736
- /**
34737
- * Gets a promise that resolves to true when the provider is ready for use.
34738
- */
34739
- readonly readyPromise: Promise<boolean>;
34740
34194
  /**
34741
34195
  * Gets the rectangle, in radians, of the imagery provided by the instance.
34742
34196
  */
@@ -34794,52 +34248,6 @@ export class MapboxImageryProvider {
34794
34248
  * and texture upload time are reduced.
34795
34249
  */
34796
34250
  readonly hasAlphaChannel: boolean;
34797
- /**
34798
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
34799
- * 1.0 representing fully opaque.
34800
- */
34801
- defaultAlpha: number | undefined;
34802
- /**
34803
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
34804
- * 1.0 representing fully opaque.
34805
- */
34806
- defaultNightAlpha: number | undefined;
34807
- /**
34808
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
34809
- * 1.0 representing fully opaque.
34810
- */
34811
- defaultDayAlpha: number | undefined;
34812
- /**
34813
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
34814
- * makes the imagery darker while greater than 1.0 makes it brighter.
34815
- */
34816
- defaultBrightness: number | undefined;
34817
- /**
34818
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
34819
- * the contrast while greater than 1.0 increases it.
34820
- */
34821
- defaultContrast: number | undefined;
34822
- /**
34823
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
34824
- */
34825
- defaultHue: number | undefined;
34826
- /**
34827
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
34828
- * saturation while greater than 1.0 increases it.
34829
- */
34830
- defaultSaturation: number | undefined;
34831
- /**
34832
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
34833
- */
34834
- defaultGamma: number | undefined;
34835
- /**
34836
- * The default texture minification filter to apply to this provider.
34837
- */
34838
- defaultMinificationFilter: TextureMinificationFilter;
34839
- /**
34840
- * The default texture magnification filter to apply to this provider.
34841
- */
34842
- defaultMagnificationFilter: TextureMagnificationFilter;
34843
34251
  /**
34844
34252
  * Gets the credits to be displayed when a given tile is displayed.
34845
34253
  * @param x - The tile X coordinate.
@@ -34922,14 +34330,6 @@ export class MapboxStyleImageryProvider {
34922
34330
  * Gets the URL of the Mapbox server.
34923
34331
  */
34924
34332
  readonly url: string;
34925
- /**
34926
- * Gets a value indicating whether or not the provider is ready for use.
34927
- */
34928
- readonly ready: boolean;
34929
- /**
34930
- * Gets a promise that resolves to true when the provider is ready for use.
34931
- */
34932
- readonly readyPromise: Promise<boolean>;
34933
34333
  /**
34934
34334
  * Gets the rectangle, in radians, of the imagery provided by the instance.
34935
34335
  */
@@ -34987,52 +34387,6 @@ export class MapboxStyleImageryProvider {
34987
34387
  * and texture upload time are reduced.
34988
34388
  */
34989
34389
  readonly hasAlphaChannel: boolean;
34990
- /**
34991
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
34992
- * 1.0 representing fully opaque.
34993
- */
34994
- defaultAlpha: number | undefined;
34995
- /**
34996
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
34997
- * 1.0 representing fully opaque.
34998
- */
34999
- defaultNightAlpha: number | undefined;
35000
- /**
35001
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
35002
- * 1.0 representing fully opaque.
35003
- */
35004
- defaultDayAlpha: number | undefined;
35005
- /**
35006
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
35007
- * makes the imagery darker while greater than 1.0 makes it brighter.
35008
- */
35009
- defaultBrightness: number | undefined;
35010
- /**
35011
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
35012
- * the contrast while greater than 1.0 increases it.
35013
- */
35014
- defaultContrast: number | undefined;
35015
- /**
35016
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
35017
- */
35018
- defaultHue: number | undefined;
35019
- /**
35020
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
35021
- * saturation while greater than 1.0 increases it.
35022
- */
35023
- defaultSaturation: number | undefined;
35024
- /**
35025
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
35026
- */
35027
- defaultGamma: number | undefined;
35028
- /**
35029
- * The default texture minification filter to apply to this provider.
35030
- */
35031
- defaultMinificationFilter: TextureMinificationFilter;
35032
- /**
35033
- * The default texture magnification filter to apply to this provider.
35034
- */
35035
- defaultMagnificationFilter: TextureMagnificationFilter;
35036
34390
  /**
35037
34391
  * Gets the credits to be displayed when a given tile is displayed.
35038
34392
  * @param x - The tile X coordinate.
@@ -36354,14 +35708,6 @@ export class Model {
36354
35708
  * are passed an instance of the {@link Model}.
36355
35709
  */
36356
35710
  readonly texturesReadyEvent: Event;
36357
- /**
36358
- * Gets the promise that will be resolved when this model is ready to render, i.e. when the external resources
36359
- * have been downloaded and the WebGL resources are created.
36360
- * <p>
36361
- * This promise is resolved at the end of the frame before the first frame the model is rendered in.
36362
- * </p>
36363
- */
36364
- readonly readyPromise: Promise<Model>;
36365
35711
  /**
36366
35712
  * The currently playing glTF animations.
36367
35713
  */
@@ -36607,110 +35953,6 @@ export class Model {
36607
35953
  * model = model && model.destroy();
36608
35954
  */
36609
35955
  destroy(): void;
36610
- /**
36611
- * <p>
36612
- * Creates a model from a glTF asset. When the model is ready to render, i.e., when the external binary, image,
36613
- * and shader files are downloaded and the WebGL resources are created, the {@link Model#readyPromise} is resolved.
36614
- * </p>
36615
- * <p>
36616
- * The model can be a traditional glTF asset with a .gltf extension or a Binary glTF using the .glb extension.
36617
- * @param options - Object with the following properties:
36618
- * @param options.url - The url to the .gltf or .glb file.
36619
- * @param [options.basePath = ''] - The base path that paths in the glTF JSON are relative to.
36620
- * @param [options.show = true] - Whether or not to render the model.
36621
- * @param [options.modelMatrix = Matrix4.IDENTITY] - The 4x4 transformation matrix that transforms the model from model to world coordinates.
36622
- * @param [options.scale = 1.0] - A uniform scale applied to this model.
36623
- * @param [options.minimumPixelSize = 0.0] - The approximate minimum pixel size of the model regardless of zoom.
36624
- * @param [options.maximumScale] - The maximum scale size of a model. An upper limit for minimumPixelSize.
36625
- * @param [options.id] - A user-defined object to return when the model is picked with {@link Scene#pick}.
36626
- * @param [options.allowPicking = true] - When <code>true</code>, each primitive is pickable with {@link Scene#pick}.
36627
- * @param [options.incrementallyLoadTextures = true] - Determine if textures may continue to stream in after the model is loaded.
36628
- * @param [options.asynchronous = true] - Determines if model WebGL resource creation will be spread out over several frames or block until completion once all glTF files are loaded.
36629
- * @param [options.clampAnimations = true] - Determines if the model's animations should hold a pose over frames where no keyframes are specified.
36630
- * @param [options.shadows = ShadowMode.ENABLED] - Determines whether the model casts or receives shadows from light sources.
36631
- * @param [options.releaseGltfJson = false] - When true, the glTF JSON is released once the glTF is loaded. This is is especially useful for cases like 3D Tiles, where each .gltf model is unique and caching the glTF JSON is not effective.
36632
- * @param [options.debugShowBoundingVolume = false] - For debugging only. Draws the bounding sphere for each draw command in the model.
36633
- * @param [options.enableDebugWireframe = false] - For debugging only. This must be set to true for debugWireframe to work in WebGL1. This cannot be set after the model has loaded.
36634
- * @param [options.debugWireframe = false] - For debugging only. Draws the model in wireframe. Will only work for WebGL1 if enableDebugWireframe is set to true.
36635
- * @param [options.cull = true] - Whether or not to cull the model using frustum/horizon culling. If the model is part of a 3D Tiles tileset, this property will always be false, since the 3D Tiles culling system is used.
36636
- * @param [options.opaquePass = Pass.OPAQUE] - The pass to use in the {@link DrawCommand} for the opaque portions of the model.
36637
- * @param [options.upAxis = Axis.Y] - The up-axis of the glTF model.
36638
- * @param [options.forwardAxis = Axis.Z] - The forward-axis of the glTF model.
36639
- * @param [options.customShader] - A custom shader. This will add user-defined GLSL code to the vertex and fragment shaders. Using custom shaders with a {@link Cesium3DTileStyle} may lead to undefined behavior.
36640
- * @param [options.content] - The tile content this model belongs to. This property will be undefined if model is not loaded as part of a tileset.
36641
- * @param [options.heightReference = HeightReference.NONE] - Determines how the model is drawn relative to terrain.
36642
- * @param [options.scene] - Must be passed in for models that use the height reference property.
36643
- * @param [options.distanceDisplayCondition] - The condition specifying at what distance from the camera that this model will be displayed.
36644
- * @param [options.color] - A color that blends with the model's rendered color.
36645
- * @param [options.colorBlendMode = ColorBlendMode.HIGHLIGHT] - Defines how the color blends with the model.
36646
- * @param [options.colorBlendAmount = 0.5] - Value used to determine the color strength when the <code>colorBlendMode</code> is <code>MIX</code>. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two.
36647
- * @param [options.silhouetteColor = Color.RED] - The silhouette color. If more than 256 models have silhouettes enabled, there is a small chance that overlapping models will have minor artifacts.
36648
- * @param [options.silhouetteSize = 0.0] - The size of the silhouette in pixels.
36649
- * @param [options.enableShowOutline = true] - Whether to enable outlines for models using the {@link https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/CESIUM_primitive_outline|CESIUM_primitive_outline} extension. This can be set false to avoid post-processing geometry at load time. When false, the showOutlines and outlineColor options are ignored.
36650
- * @param [options.showOutline = true] - Whether to display the outline for models using the {@link https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/CESIUM_primitive_outline|CESIUM_primitive_outline} extension. When true, outlines are displayed. When false, outlines are not displayed.
36651
- * @param [options.outlineColor = Color.BLACK] - The color to use when rendering outlines.
36652
- * @param [options.clippingPlanes] - The {@link ClippingPlaneCollection} used to selectively disable rendering the model.
36653
- * @param [options.lightColor] - The light color when shading the model. When <code>undefined</code> the scene's light color is used instead.
36654
- * @param [options.imageBasedLighting] - The properties for managing image-based lighting on this model.
36655
- * @param [options.backFaceCulling = true] - Whether to cull back-facing geometry. When true, back face culling is determined by the material's doubleSided property; when false, back face culling is disabled. Back faces are not culled if the model's color is translucent.
36656
- * @param [options.credit] - A credit for the data source, which is displayed on the canvas.
36657
- * @param [options.showCreditsOnScreen = false] - Whether to display the credits of this model on screen.
36658
- * @param [options.splitDirection = SplitDirection.NONE] - The {@link SplitDirection} split to apply to this model.
36659
- * @param [options.projectTo2D = false] - Whether to accurately project the model's positions in 2D. If this is true, the model will be projected accurately to 2D, but it will use more memory to do so. If this is false, the model will use less memory and will still render in 2D / CV mode, but its positions may be inaccurate. This disables minimumPixelSize and prevents future modification to the model matrix. This also cannot be set after the model has loaded.
36660
- * @param [options.featureIdLabel = "featureId_0"] - Label of the feature ID set to use for picking and styling. For EXT_mesh_features, this is the feature ID's label property, or "featureId_N" (where N is the index in the featureIds array) when not specified. EXT_feature_metadata did not have a label field, so such feature ID sets are always labeled "featureId_N" where N is the index in the list of all feature Ids, where feature ID attributes are listed before feature ID textures. If featureIdLabel is an integer N, it is converted to the string "featureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
36661
- * @param [options.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.
36662
- * @param [options.pointCloudShading] - Options for constructing a {@link PointCloudShading} object to control point attenuation and lighting.
36663
- * @param [options.classificationType] - Determines whether terrain, 3D Tiles or both will be classified by this model. This cannot be set after the model has loaded.
36664
- * @returns The newly created model.
36665
- */
36666
- static fromGltf(options: {
36667
- url: string | Resource;
36668
- basePath?: string | Resource;
36669
- show?: boolean;
36670
- modelMatrix?: Matrix4;
36671
- scale?: number;
36672
- minimumPixelSize?: number;
36673
- maximumScale?: number;
36674
- id?: any;
36675
- allowPicking?: boolean;
36676
- incrementallyLoadTextures?: boolean;
36677
- asynchronous?: boolean;
36678
- clampAnimations?: boolean;
36679
- shadows?: ShadowMode;
36680
- releaseGltfJson?: boolean;
36681
- debugShowBoundingVolume?: boolean;
36682
- enableDebugWireframe?: boolean;
36683
- debugWireframe?: boolean;
36684
- cull?: boolean;
36685
- opaquePass?: boolean;
36686
- upAxis?: Axis;
36687
- forwardAxis?: Axis;
36688
- customShader?: CustomShader;
36689
- content?: Cesium3DTileContent;
36690
- heightReference?: HeightReference;
36691
- scene?: Scene;
36692
- distanceDisplayCondition?: DistanceDisplayCondition;
36693
- color?: Color;
36694
- colorBlendMode?: ColorBlendMode;
36695
- colorBlendAmount?: number;
36696
- silhouetteColor?: Color;
36697
- silhouetteSize?: number;
36698
- enableShowOutline?: boolean;
36699
- showOutline?: boolean;
36700
- outlineColor?: Color;
36701
- clippingPlanes?: ClippingPlaneCollection;
36702
- lightColor?: Cartesian3;
36703
- imageBasedLighting?: ImageBasedLighting;
36704
- backFaceCulling?: boolean;
36705
- credit?: Credit | string;
36706
- showCreditsOnScreen?: boolean;
36707
- splitDirection?: SplitDirection;
36708
- projectTo2D?: boolean;
36709
- featureIdLabel?: string | number;
36710
- instanceFeatureIdLabel?: string | number;
36711
- pointCloudShading?: any;
36712
- classificationType?: ClassificationType;
36713
- }): Model;
36714
35956
  /**
36715
35957
  * <p>
36716
35958
  * Asynchronously creates a model from a glTF asset. This function returns a promise that resolves when the model is ready to render, i.e., when the external binary, image,
@@ -39676,10 +38918,6 @@ export class Primitive {
39676
38918
  * });
39677
38919
  */
39678
38920
  readonly ready: boolean;
39679
- /**
39680
- * Gets a promise that resolves when the primitive is ready to render.
39681
- */
39682
- readonly readyPromise: Promise<Primitive>;
39683
38921
  /**
39684
38922
  * Called when {@link Viewer} or {@link CesiumWidget} render the scene to
39685
38923
  * get the draw commands needed to render this primitive.
@@ -40137,7 +39375,7 @@ export class Scene {
40137
39375
  */
40138
39376
  readonly drawingBufferHeight: number;
40139
39377
  /**
40140
- * The drawingBufferHeight of the underlying GL context.
39378
+ * The drawingBufferWidth of the underlying GL context.
40141
39379
  */
40142
39380
  readonly drawingBufferWidth: number;
40143
39381
  /**
@@ -40684,7 +39922,7 @@ export class ScreenSpaceCameraController {
40684
39922
  /**
40685
39923
  * The input that allows the user to pan around the map. This only applies in 2D and Columbus view modes.
40686
39924
  * <p>
40687
- * The type came be a {@link CameraEventType}, <code>undefined</code>, an object with <code>eventType</code>
39925
+ * The type can be a {@link CameraEventType}, <code>undefined</code>, an object with <code>eventType</code>
40688
39926
  * and <code>modifier</code> properties with types <code>CameraEventType</code> and {@link KeyboardEventModifier},
40689
39927
  * or an array of any of the preceding.
40690
39928
  * </p>
@@ -40693,7 +39931,7 @@ export class ScreenSpaceCameraController {
40693
39931
  /**
40694
39932
  * The input that allows the user to zoom in/out.
40695
39933
  * <p>
40696
- * The type came be a {@link CameraEventType}, <code>undefined</code>, an object with <code>eventType</code>
39934
+ * The type can be a {@link CameraEventType}, <code>undefined</code>, an object with <code>eventType</code>
40697
39935
  * and <code>modifier</code> properties with types <code>CameraEventType</code> and {@link KeyboardEventModifier},
40698
39936
  * or an array of any of the preceding.
40699
39937
  * </p>
@@ -40702,7 +39940,7 @@ export class ScreenSpaceCameraController {
40702
39940
  /**
40703
39941
  * The input that allows the user to rotate around the globe or another object. This only applies in 3D and Columbus view modes.
40704
39942
  * <p>
40705
- * The type came be a {@link CameraEventType}, <code>undefined</code>, an object with <code>eventType</code>
39943
+ * The type can be a {@link CameraEventType}, <code>undefined</code>, an object with <code>eventType</code>
40706
39944
  * and <code>modifier</code> properties with types <code>CameraEventType</code> and {@link KeyboardEventModifier},
40707
39945
  * or an array of any of the preceding.
40708
39946
  * </p>
@@ -40711,7 +39949,7 @@ export class ScreenSpaceCameraController {
40711
39949
  /**
40712
39950
  * The input that allows the user to tilt in 3D and Columbus view or twist in 2D.
40713
39951
  * <p>
40714
- * The type came be a {@link CameraEventType}, <code>undefined</code>, an object with <code>eventType</code>
39952
+ * The type can be a {@link CameraEventType}, <code>undefined</code>, an object with <code>eventType</code>
40715
39953
  * and <code>modifier</code> properties with types <code>CameraEventType</code> and {@link KeyboardEventModifier},
40716
39954
  * or an array of any of the preceding.
40717
39955
  * </p>
@@ -40720,7 +39958,7 @@ export class ScreenSpaceCameraController {
40720
39958
  /**
40721
39959
  * The input that allows the user to change the direction the camera is viewing. This only applies in 3D and Columbus view modes.
40722
39960
  * <p>
40723
- * The type came be a {@link CameraEventType}, <code>undefined</code>, an object with <code>eventType</code>
39961
+ * The type can be a {@link CameraEventType}, <code>undefined</code>, an object with <code>eventType</code>
40724
39962
  * and <code>modifier</code> properties with types <code>CameraEventType</code> and {@link KeyboardEventModifier},
40725
39963
  * or an array of any of the preceding.
40726
39964
  * </p>
@@ -40914,14 +40152,6 @@ export class SingleTileImageryProvider {
40914
40152
  * are passed an instance of {@link TileProviderError}.
40915
40153
  */
40916
40154
  readonly errorEvent: Event;
40917
- /**
40918
- * Gets a value indicating whether or not the provider is ready for use.
40919
- */
40920
- readonly ready: boolean;
40921
- /**
40922
- * Gets a promise that resolves to true when the provider is ready for use.
40923
- */
40924
- readonly readyPromise: Promise<boolean>;
40925
40155
  /**
40926
40156
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
40927
40157
  * the source of the imagery.
@@ -40935,52 +40165,6 @@ export class SingleTileImageryProvider {
40935
40165
  * and texture upload time are reduced.
40936
40166
  */
40937
40167
  readonly hasAlphaChannel: boolean;
40938
- /**
40939
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
40940
- * 1.0 representing fully opaque.
40941
- */
40942
- defaultAlpha: number | undefined;
40943
- /**
40944
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
40945
- * 1.0 representing fully opaque.
40946
- */
40947
- defaultNightAlpha: number | undefined;
40948
- /**
40949
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
40950
- * 1.0 representing fully opaque.
40951
- */
40952
- defaultDayAlpha: number | undefined;
40953
- /**
40954
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
40955
- * makes the imagery darker while greater than 1.0 makes it brighter.
40956
- */
40957
- defaultBrightness: number | undefined;
40958
- /**
40959
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
40960
- * the contrast while greater than 1.0 increases it.
40961
- */
40962
- defaultContrast: number | undefined;
40963
- /**
40964
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
40965
- */
40966
- defaultHue: number | undefined;
40967
- /**
40968
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
40969
- * saturation while greater than 1.0 increases it.
40970
- */
40971
- defaultSaturation: number | undefined;
40972
- /**
40973
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
40974
- */
40975
- defaultGamma: number | undefined;
40976
- /**
40977
- * The default texture minification filter to apply to this provider.
40978
- */
40979
- defaultMinificationFilter: TextureMinificationFilter;
40980
- /**
40981
- * The default texture magnification filter to apply to this provider.
40982
- */
40983
- defaultMagnificationFilter: TextureMagnificationFilter;
40984
40168
  /**
40985
40169
  * Creates a provider for a single, top-level imagery tile. The single image is assumed to use a
40986
40170
  * @example
@@ -41544,14 +40728,6 @@ export class TileCoordinatesImageryProvider {
41544
40728
  * are passed an instance of {@link TileProviderError}.
41545
40729
  */
41546
40730
  readonly errorEvent: Event;
41547
- /**
41548
- * Gets a value indicating whether or not the provider is ready for use.
41549
- */
41550
- readonly ready: boolean;
41551
- /**
41552
- * Gets a promise that resolves to true when the provider is ready for use.
41553
- */
41554
- readonly readyPromise: Promise<boolean>;
41555
40731
  /**
41556
40732
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
41557
40733
  * the source of the imagery.
@@ -41565,52 +40741,6 @@ export class TileCoordinatesImageryProvider {
41565
40741
  * and texture upload time.
41566
40742
  */
41567
40743
  readonly hasAlphaChannel: boolean;
41568
- /**
41569
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
41570
- * 1.0 representing fully opaque.
41571
- */
41572
- defaultAlpha: number | undefined;
41573
- /**
41574
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
41575
- * 1.0 representing fully opaque.
41576
- */
41577
- defaultNightAlpha: number | undefined;
41578
- /**
41579
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
41580
- * 1.0 representing fully opaque.
41581
- */
41582
- defaultDayAlpha: number | undefined;
41583
- /**
41584
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
41585
- * makes the imagery darker while greater than 1.0 makes it brighter.
41586
- */
41587
- defaultBrightness: number | undefined;
41588
- /**
41589
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
41590
- * the contrast while greater than 1.0 increases it.
41591
- */
41592
- defaultContrast: number | undefined;
41593
- /**
41594
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
41595
- */
41596
- defaultHue: number | undefined;
41597
- /**
41598
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
41599
- * saturation while greater than 1.0 increases it.
41600
- */
41601
- defaultSaturation: number | undefined;
41602
- /**
41603
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
41604
- */
41605
- defaultGamma: number | undefined;
41606
- /**
41607
- * The default texture minification filter to apply to this provider.
41608
- */
41609
- defaultMinificationFilter: TextureMinificationFilter;
41610
- /**
41611
- * The default texture magnification filter to apply to this provider.
41612
- */
41613
- defaultMagnificationFilter: TextureMagnificationFilter;
41614
40744
  /**
41615
40745
  * Gets the credits to be displayed when a given tile is displayed.
41616
40746
  * @param x - The tile X coordinate.
@@ -41663,7 +40793,6 @@ export class TileDiscardPolicy {
41663
40793
  export namespace TileMapServiceImageryProvider {
41664
40794
  /**
41665
40795
  * Initialization options for the TileMapServiceImageryProvider constructor
41666
- * @property [url] - Path to image tiles on server. Deprecated
41667
40796
  * @property [fileExtension = 'png'] - The file extension for images on the server.
41668
40797
  * @property [credit = ''] - A credit for the data source, which is displayed on the canvas.
41669
40798
  * @property [minimumLevel = 0] - The minimum level-of-detail supported by the imagery provider. Take care when specifying
@@ -41684,7 +40813,6 @@ export namespace TileMapServiceImageryProvider {
41684
40813
  * Specifying this option will do the same, allowing for loading of these incorrect tilesets.
41685
40814
  */
41686
40815
  type ConstructorOptions = {
41687
- url?: Resource | string | Promise<Resource> | Promise<string>;
41688
40816
  fileExtension?: string;
41689
40817
  credit?: Credit | string;
41690
40818
  minimumLevel?: number;
@@ -41717,10 +40845,10 @@ export namespace TileMapServiceImageryProvider {
41717
40845
  * Cesium.Math.toRadians(-60.0),
41718
40846
  * Cesium.Math.toRadians(40.0))
41719
40847
  * });
41720
- * @param options - Object describing initialization options
40848
+ * @param [options] - Object describing initialization options
41721
40849
  */
41722
40850
  export class TileMapServiceImageryProvider extends UrlTemplateImageryProvider {
41723
- constructor(options: TileMapServiceImageryProvider.ConstructorOptions);
40851
+ constructor(options?: TileMapServiceImageryProvider.ConstructorOptions);
41724
40852
  /**
41725
40853
  * Creates a TileMapServiceImageryProvider from the specified url.
41726
40854
  * @example
@@ -41914,10 +41042,6 @@ export class TimeDynamicPointCloud {
41914
41042
  * The bounding sphere of the frame being rendered. Returns <code>undefined</code> if no frame is being rendered.
41915
41043
  */
41916
41044
  readonly boundingSphere: BoundingSphere;
41917
- /**
41918
- * Gets the promise that will be resolved when the point cloud renders a frame for the first time.
41919
- */
41920
- readonly readyPromise: Promise<TimeDynamicPointCloud>;
41921
41045
  /**
41922
41046
  * Marks the point cloud's {@link TimeDynamicPointCloud#style} as dirty, which forces all
41923
41047
  * points to re-evaluate the style in the next frame.
@@ -41947,7 +41071,6 @@ export class TimeDynamicPointCloud {
41947
41071
  export namespace UrlTemplateImageryProvider {
41948
41072
  /**
41949
41073
  * Initialization options for the UrlTemplateImageryProvider constructor
41950
- * @property [options] - Object with the following properties:
41951
41074
  * @property url - The URL template to use to request tiles. It has the following keywords:
41952
41075
  * <ul>
41953
41076
  * <li><code>{z}</code>: The level of the tile in the tiling scheme. Level zero is the root of the quadtree pyramid.</li>
@@ -42032,7 +41155,6 @@ export namespace UrlTemplateImageryProvider {
42032
41155
  * @property [customTags] - Allow to replace custom keywords in the URL template. The object must have strings as keys and functions as values.
42033
41156
  */
42034
41157
  type ConstructorOptions = {
42035
- options?: Promise<object> | any;
42036
41158
  url: Resource | string;
42037
41159
  pickFeaturesUrl?: Resource | string;
42038
41160
  urlSchemeZeroPadding?: any;
@@ -42195,14 +41317,6 @@ export class UrlTemplateImageryProvider {
42195
41317
  * are passed an instance of {@link TileProviderError}.
42196
41318
  */
42197
41319
  readonly errorEvent: Event;
42198
- /**
42199
- * Gets a value indicating whether or not the provider is ready for use.
42200
- */
42201
- readonly ready: boolean;
42202
- /**
42203
- * Gets a promise that resolves to true when the provider is ready for use.
42204
- */
42205
- readonly readyPromise: Promise<boolean>;
42206
41320
  /**
42207
41321
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
42208
41322
  * the source of the imagery.
@@ -42216,58 +41330,6 @@ export class UrlTemplateImageryProvider {
42216
41330
  * and texture upload time are reduced.
42217
41331
  */
42218
41332
  readonly hasAlphaChannel: boolean;
42219
- /**
42220
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
42221
- * 1.0 representing fully opaque.
42222
- */
42223
- defaultAlpha: number | undefined;
42224
- /**
42225
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
42226
- * 1.0 representing fully opaque.
42227
- */
42228
- defaultNightAlpha: number | undefined;
42229
- /**
42230
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
42231
- * 1.0 representing fully opaque.
42232
- */
42233
- defaultDayAlpha: number | undefined;
42234
- /**
42235
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
42236
- * makes the imagery darker while greater than 1.0 makes it brighter.
42237
- */
42238
- defaultBrightness: number | undefined;
42239
- /**
42240
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
42241
- * the contrast while greater than 1.0 increases it.
42242
- */
42243
- defaultContrast: number | undefined;
42244
- /**
42245
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
42246
- */
42247
- defaultHue: number | undefined;
42248
- /**
42249
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
42250
- * saturation while greater than 1.0 increases it.
42251
- */
42252
- defaultSaturation: number | undefined;
42253
- /**
42254
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
42255
- */
42256
- defaultGamma: number | undefined;
42257
- /**
42258
- * The default texture minification filter to apply to this provider.
42259
- */
42260
- defaultMinificationFilter: TextureMinificationFilter;
42261
- /**
42262
- * The default texture magnification filter to apply to this provider.
42263
- */
42264
- defaultMagnificationFilter: TextureMagnificationFilter;
42265
- /**
42266
- * Reinitializes this instance. Reinitializing an instance already in use is supported, but it is not
42267
- * recommended because existing tiles provided by the imagery provider will not be updated.
42268
- * @param options - Any of the options that may be passed to the {@link UrlTemplateImageryProvider} constructor.
42269
- */
42270
- reinitialize(options: Promise<object> | any): void;
42271
41333
  /**
42272
41334
  * Gets the credits to be displayed when a given tile is displayed.
42273
41335
  * @param x - The tile X coordinate.
@@ -42413,10 +41475,6 @@ export class VoxelPrimitive {
42413
41475
  * Gets a value indicating whether or not the primitive is ready for use.
42414
41476
  */
42415
41477
  readonly ready: boolean;
42416
- /**
42417
- * Gets the promise that will be resolved when the primitive is ready for use.
42418
- */
42419
- readonly readyPromise: Promise<VoxelPrimitive>;
42420
41478
  /**
42421
41479
  * Gets the {@link VoxelProvider} associated with this primitive.
42422
41480
  */
@@ -42546,14 +41604,6 @@ export class VoxelPrimitive {
42546
41604
  */
42547
41605
  export class VoxelProvider {
42548
41606
  constructor();
42549
- /**
42550
- * Gets a value indicating whether or not the provider is ready for use.
42551
- */
42552
- readonly ready: boolean;
42553
- /**
42554
- * Gets the promise that will be resolved when the provider is ready for use.
42555
- */
42556
- readonly readyPromise: Promise<VoxelProvider>;
42557
41607
  /**
42558
41608
  * A transform from local space to global space. If undefined, the identity matrix will be used instead.
42559
41609
  */
@@ -42806,14 +41856,6 @@ export class WebMapServiceImageryProvider {
42806
41856
  * are passed an instance of {@link TileProviderError}.
42807
41857
  */
42808
41858
  readonly errorEvent: Event;
42809
- /**
42810
- * Gets a value indicating whether or not the provider is ready for use.
42811
- */
42812
- readonly ready: boolean;
42813
- /**
42814
- * Gets a promise that resolves to true when the provider is ready for use.
42815
- */
42816
- readonly readyPromise: Promise<boolean>;
42817
41859
  /**
42818
41860
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
42819
41861
  * the source of the imagery.
@@ -42849,52 +41891,6 @@ export class WebMapServiceImageryProvider {
42849
41891
  * Gets the getFeatureInfo URL of the WMS server.
42850
41892
  */
42851
41893
  readonly getFeatureInfoUrl: Resource | string;
42852
- /**
42853
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
42854
- * 1.0 representing fully opaque.
42855
- */
42856
- defaultAlpha: number | undefined;
42857
- /**
42858
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
42859
- * 1.0 representing fully opaque.
42860
- */
42861
- defaultNightAlpha: number | undefined;
42862
- /**
42863
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
42864
- * 1.0 representing fully opaque.
42865
- */
42866
- defaultDayAlpha: number | undefined;
42867
- /**
42868
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
42869
- * makes the imagery darker while greater than 1.0 makes it brighter.
42870
- */
42871
- defaultBrightness: number | undefined;
42872
- /**
42873
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
42874
- * the contrast while greater than 1.0 increases it.
42875
- */
42876
- defaultContrast: number | undefined;
42877
- /**
42878
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
42879
- */
42880
- defaultHue: number | undefined;
42881
- /**
42882
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
42883
- * saturation while greater than 1.0 increases it.
42884
- */
42885
- defaultSaturation: number | undefined;
42886
- /**
42887
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
42888
- */
42889
- defaultGamma: number | undefined;
42890
- /**
42891
- * The default texture minification filter to apply to this provider.
42892
- */
42893
- defaultMinificationFilter: TextureMinificationFilter;
42894
- /**
42895
- * The default texture magnification filter to apply to this provider.
42896
- */
42897
- defaultMagnificationFilter: TextureMagnificationFilter;
42898
41894
  /**
42899
41895
  * Gets the credits to be displayed when a given tile is displayed.
42900
41896
  * @param x - The tile X coordinate.
@@ -43092,14 +42088,6 @@ export class WebMapTileServiceImageryProvider {
43092
42088
  * Gets the mime type of images returned by this imagery provider.
43093
42089
  */
43094
42090
  readonly format: string;
43095
- /**
43096
- * Gets a value indicating whether or not the provider is ready for use.
43097
- */
43098
- readonly ready: boolean;
43099
- /**
43100
- * Gets a promise that resolves to true when the provider is ready for use.
43101
- */
43102
- readonly readyPromise: Promise<boolean>;
43103
42091
  /**
43104
42092
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
43105
42093
  * the source of the imagery.
@@ -43127,52 +42115,6 @@ export class WebMapTileServiceImageryProvider {
43127
42115
  * Gets or sets an object that contains static dimensions and their values.
43128
42116
  */
43129
42117
  dimensions: any;
43130
- /**
43131
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
43132
- * 1.0 representing fully opaque.
43133
- */
43134
- defaultAlpha: number | undefined;
43135
- /**
43136
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
43137
- * 1.0 representing fully opaque.
43138
- */
43139
- defaultNightAlpha: number | undefined;
43140
- /**
43141
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
43142
- * 1.0 representing fully opaque.
43143
- */
43144
- defaultDayAlpha: number | undefined;
43145
- /**
43146
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
43147
- * makes the imagery darker while greater than 1.0 makes it brighter.
43148
- */
43149
- defaultBrightness: number | undefined;
43150
- /**
43151
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
43152
- * the contrast while greater than 1.0 increases it.
43153
- */
43154
- defaultContrast: number | undefined;
43155
- /**
43156
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
43157
- */
43158
- defaultHue: number | undefined;
43159
- /**
43160
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
43161
- * saturation while greater than 1.0 increases it.
43162
- */
43163
- defaultSaturation: number | undefined;
43164
- /**
43165
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
43166
- */
43167
- defaultGamma: number | undefined;
43168
- /**
43169
- * The default texture minification filter to apply to this provider.
43170
- */
43171
- defaultMinificationFilter: TextureMinificationFilter;
43172
- /**
43173
- * The default texture magnification filter to apply to this provider.
43174
- */
43175
- defaultMagnificationFilter: TextureMagnificationFilter;
43176
42118
  /**
43177
42119
  * Gets the credits to be displayed when a given tile is displayed.
43178
42120
  * @param x - The tile X coordinate.
@@ -43280,47 +42222,6 @@ export function createElevationBandMaterial(options: {
43280
42222
  */
43281
42223
  export function createGooglePhotorealistic3DTileset(key?: string, options?: Cesium3DTileset.ConstructorOptions): Promise<Cesium3DTileset>;
43282
42224
 
43283
- /**
43284
- * Creates a {@link Cesium3DTileset} instance for the
43285
- * {@link https://cesium.com/content/cesium-osm-buildings/|Cesium OSM Buildings}
43286
- * tileset.
43287
- * @example
43288
- * // Create Cesium OSM Buildings with default styling
43289
- * const viewer = new Cesium.Viewer('cesiumContainer');
43290
- * viewer.scene.primitives.add(Cesium.createOsmBuildings());
43291
- * @example
43292
- * // Create Cesium OSM Buildings with a custom style highlighting
43293
- * // schools and hospitals.
43294
- * viewer.scene.primitives.add(Cesium.createOsmBuildings({
43295
- * style: new Cesium.Cesium3DTileStyle({
43296
- * color: {
43297
- * conditions: [
43298
- * ["${feature['building']} === 'hospital'", "color('#0000FF')"],
43299
- * ["${feature['building']} === 'school'", "color('#00FF00')"],
43300
- * [true, "color('#ffffff')"]
43301
- * ]
43302
- * }
43303
- * })
43304
- * }));
43305
- * @param [options] - Construction options. Any options allowed by the {@link Cesium3DTileset} constructor
43306
- * may be specified here. In addition to those, the following properties are supported:
43307
- * @param [options.defaultColor = Color.WHITE] - The default color to use for buildings
43308
- * that do not have a color. This parameter is ignored if <code>options.style</code> is specified.
43309
- * @param [options.style] - The style to use with the tileset. If not
43310
- * specified, a default style is used which gives each building or building part a
43311
- * color inferred from its OpenStreetMap <code>tags</code>. If no color can be inferred,
43312
- * <code>options.defaultColor</code> is used.
43313
- * @param [options.enableShowOutline = true] - If true, enable rendering outlines. This can be set to false to avoid the additional processing of geometry at load time.
43314
- * @param [options.showOutline = true] - Whether to show outlines around buildings. When true,
43315
- * outlines are displayed. When false, outlines are not displayed.
43316
- */
43317
- export function createOsmBuildings(options?: {
43318
- defaultColor?: Color;
43319
- style?: Cesium3DTileStyle;
43320
- enableShowOutline?: boolean;
43321
- showOutline?: boolean;
43322
- }): Cesium3DTileset;
43323
-
43324
42225
  /**
43325
42226
  * Creates a {@link Cesium3DTileset} instance for the
43326
42227
  * {@link https://cesium.com/content/cesium-osm-buildings/|Cesium OSM Buildings}
@@ -43396,27 +42297,6 @@ export function createTangentSpaceDebugPrimitive(options: {
43396
42297
  modelMatrix?: Matrix4;
43397
42298
  }): Primitive;
43398
42299
 
43399
- /**
43400
- * Creates an {@link IonImageryProvider} instance for ion's default global base imagery layer, currently Bing Maps.
43401
- * @example
43402
- * // Create Cesium World Imagery with default settings
43403
- * const viewer = new Cesium.Viewer('cesiumContainer', {
43404
- * imageryProvider : Cesium.createWorldImagery();
43405
- * });
43406
- * @example
43407
- * // Create Cesium World Imagery with a different style
43408
- * const viewer = new Cesium.Viewer('cesiumContainer', {
43409
- * imageryProvider : Cesium.createWorldImagery({
43410
- * style: Cesium.IonWorldImageryStyle.AERIAL_WITH_LABELS
43411
- * })
43412
- * });
43413
- * @param [options] - Object with the following properties:
43414
- * @param [options.style = IonWorldImageryStyle] - The style of base imagery, only AERIAL, AERIAL_WITH_LABELS, and ROAD are currently supported.
43415
- */
43416
- export function createWorldImagery(options?: {
43417
- style?: IonWorldImageryStyle;
43418
- }): IonImageryProvider;
43419
-
43420
42300
  /**
43421
42301
  * Creates an {@link IonImageryProvider} instance for ion's default global base imagery layer, currently Bing Maps.
43422
42302
  * @example
@@ -43472,8 +42352,7 @@ export function createWorldImageryAsync(options?: {
43472
42352
  * @param container - The DOM element or ID that will contain the widget.
43473
42353
  * @param [options] - Object with the following properties:
43474
42354
  * @param [options.clock = new Clock()] - The clock to use to control current time.
43475
- * @param [options.imageryProvider = createWorldImagery()] - The imagery provider to serve as the base layer. If set to <code>false</code>, no imagery provider will be added. Deprecated.
43476
- * @param [baseLayer = ImageryLayer.fromWorldImagery()] - The bottommost imagery layer applied to the globe. If set to <code>false</code>, no imagery provider will be added.
42355
+ * @param [options.baseLayer = ImageryLayer.fromWorldImagery()] - The bottommost imagery layer applied to the globe. If set to <code>false</code>, no imagery provider will be added.
43477
42356
  * @param [options.terrainProvider = new EllipsoidTerrainProvider] - The terrain provider.
43478
42357
  * @param [options.terrain] - A terrain object which handles asynchronous terrain provider. Can only specify if options.terrainProvider is undefined.
43479
42358
  * @param [options.skyBox] - The skybox used to render the stars. When <code>undefined</code>, the default stars are used. If set to <code>false</code>, no skyBox, Sun, or Moon will be added.
@@ -43502,7 +42381,7 @@ export function createWorldImageryAsync(options?: {
43502
42381
  export class CesiumWidget {
43503
42382
  constructor(container: Element | string, options?: {
43504
42383
  clock?: Clock;
43505
- imageryProvider?: ImageryProvider | false;
42384
+ baseLayer?: ImageryLayer | false;
43506
42385
  terrainProvider?: TerrainProvider;
43507
42386
  terrain?: Terrain;
43508
42387
  skyBox?: SkyBox | false;
@@ -43526,7 +42405,7 @@ export class CesiumWidget {
43526
42405
  requestRenderMode?: boolean;
43527
42406
  maximumRenderTimeChange?: number;
43528
42407
  msaaSamples?: number;
43529
- }, baseLayer?: ImageryLayer | false);
42408
+ });
43530
42409
  /**
43531
42410
  * Gets the parent container.
43532
42411
  */