mars3d-cesium 1.124.0 → 1.125.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 (108) hide show
  1. package/Build/Cesium/Cesium.d.ts +30 -6
  2. package/Build/Cesium/Cesium.js +503 -503
  3. package/Build/Cesium/ThirdParty/draco_decoder.wasm +0 -0
  4. package/Build/Cesium/Workers/{chunk-HPB3ARQJ.js → chunk-2KYTGZVC.js} +2 -2
  5. package/Build/Cesium/Workers/{chunk-46LYVLGL.js → chunk-2OOH46JS.js} +2 -2
  6. package/Build/Cesium/Workers/{chunk-67ZE4UMX.js → chunk-2XB4QIJ4.js} +2 -2
  7. package/Build/Cesium/Workers/{chunk-BMKF5JTH.js → chunk-3AVCBMDN.js} +2 -2
  8. package/Build/Cesium/Workers/{chunk-GP5GXDAP.js → chunk-3Y2ILKM5.js} +2 -2
  9. package/Build/Cesium/Workers/{chunk-QT33UL57.js → chunk-6DQW6NRU.js} +2 -2
  10. package/Build/Cesium/Workers/{chunk-TZGYF5KJ.js → chunk-6IUI4MA7.js} +2 -2
  11. package/Build/Cesium/Workers/{chunk-4ALHVD6K.js → chunk-6S5JJ2VZ.js} +2 -2
  12. package/Build/Cesium/Workers/{chunk-GCVZZUCS.js → chunk-7SJVDNYB.js} +2 -2
  13. package/Build/Cesium/Workers/{chunk-OX5CTLXY.js → chunk-ABBJLCOR.js} +1 -1
  14. package/Build/Cesium/Workers/{chunk-OWPC6DLM.js → chunk-ALBASJU3.js} +2 -2
  15. package/Build/Cesium/Workers/{chunk-E2XIHPTZ.js → chunk-AMLZYJ2R.js} +2 -2
  16. package/Build/Cesium/Workers/{chunk-GNTVNTUY.js → chunk-ASET7NRG.js} +2 -2
  17. package/Build/Cesium/Workers/{chunk-AVHFP6LX.js → chunk-BWLZ3QCO.js} +2 -2
  18. package/Build/Cesium/Workers/{chunk-NIXFT7ZT.js → chunk-C5UP27Q3.js} +2 -2
  19. package/Build/Cesium/Workers/{chunk-RPAJTIFB.js → chunk-CGLPPBJZ.js} +2 -2
  20. package/Build/Cesium/Workers/{chunk-T7AQS7YI.js → chunk-EAYE7EWT.js} +2 -2
  21. package/Build/Cesium/Workers/{chunk-J27DO7RZ.js → chunk-F2G7OHSX.js} +2 -2
  22. package/Build/Cesium/Workers/{chunk-4BGNE6LH.js → chunk-F2Z6GE6G.js} +2 -2
  23. package/Build/Cesium/Workers/{chunk-CJFJKB5V.js → chunk-FL2EHGGP.js} +1 -1
  24. package/Build/Cesium/Workers/{chunk-44LKXGXW.js → chunk-GQEXCWUU.js} +2 -2
  25. package/Build/Cesium/Workers/{chunk-TP5B32RY.js → chunk-GQMIKH5H.js} +1 -1
  26. package/Build/Cesium/Workers/{chunk-QIZB5B47.js → chunk-GXNTS2UA.js} +2 -2
  27. package/Build/Cesium/Workers/{chunk-6DFUP66D.js → chunk-HO4GOHJF.js} +1 -1
  28. package/Build/Cesium/Workers/{chunk-6IQVYEBD.js → chunk-JBY23FLT.js} +2 -2
  29. package/Build/Cesium/Workers/{chunk-EXYLABM3.js → chunk-K44ZD4QY.js} +2 -2
  30. package/Build/Cesium/Workers/{chunk-64YODNAO.js → chunk-K5G4RKNZ.js} +2 -2
  31. package/Build/Cesium/Workers/{chunk-JHG5JGLM.js → chunk-K6PUJAYT.js} +2 -2
  32. package/Build/Cesium/Workers/{chunk-LKADYPHQ.js → chunk-KEE27YTV.js} +2 -2
  33. package/Build/Cesium/Workers/{chunk-SP2S5UZD.js → chunk-KNABR2D4.js} +2 -2
  34. package/Build/Cesium/Workers/{chunk-D76R4V7H.js → chunk-L2OFTTZJ.js} +2 -2
  35. package/Build/Cesium/Workers/{chunk-M2TWLQFJ.js → chunk-MJCITUHJ.js} +2 -2
  36. package/Build/Cesium/Workers/{chunk-GVFM5H7M.js → chunk-NOH5HXTJ.js} +2 -2
  37. package/Build/Cesium/Workers/{chunk-YEUI4ZO2.js → chunk-NPBBFQDL.js} +2 -2
  38. package/Build/Cesium/Workers/{chunk-JLMPKQO4.js → chunk-O5TW6IGX.js} +2 -2
  39. package/Build/Cesium/Workers/{chunk-72NMS5KE.js → chunk-OCHKFOPR.js} +2 -2
  40. package/Build/Cesium/Workers/{chunk-4ULMZV5R.js → chunk-OLNJDSMT.js} +2 -2
  41. package/Build/Cesium/Workers/{chunk-ULZ2QSU5.js → chunk-Q5I7IT7P.js} +2 -2
  42. package/Build/Cesium/Workers/{chunk-ADZK2JLO.js → chunk-QC5UETCI.js} +2 -2
  43. package/Build/Cesium/Workers/chunk-QL2MZ76D.js +66 -0
  44. package/Build/Cesium/Workers/{chunk-LWGQRCCJ.js → chunk-QW4E4LMT.js} +2 -2
  45. package/Build/Cesium/Workers/{chunk-5CZH3YOM.js → chunk-QXGLAPJD.js} +2 -2
  46. package/Build/Cesium/Workers/{chunk-G6BZKWWN.js → chunk-RIB7EOON.js} +2 -2
  47. package/Build/Cesium/Workers/chunk-S5OGNQLJ.js +26 -0
  48. package/Build/Cesium/Workers/{chunk-A3VS2OZ2.js → chunk-S7KTIAXB.js} +2 -2
  49. package/Build/Cesium/Workers/{chunk-SM4U4WO5.js → chunk-SPTDAMKY.js} +2 -2
  50. package/Build/Cesium/Workers/{chunk-DW4EQ6YI.js → chunk-ULSR43VM.js} +2 -2
  51. package/Build/Cesium/Workers/{chunk-JKCZ5NAK.js → chunk-VKQRF7HL.js} +2 -2
  52. package/Build/Cesium/Workers/{chunk-HWH6BBH6.js → chunk-VZAG5RE4.js} +2 -2
  53. package/Build/Cesium/Workers/{chunk-I66MFRXO.js → chunk-WJ6OY3E4.js} +2 -2
  54. package/Build/Cesium/Workers/{chunk-SXINKIB2.js → chunk-XFUY76FP.js} +2 -2
  55. package/Build/Cesium/Workers/{chunk-BRDKDER4.js → chunk-YCDZI5IY.js} +1 -1
  56. package/Build/Cesium/Workers/combineGeometry.js +2 -2
  57. package/Build/Cesium/Workers/createBoxGeometry.js +2 -2
  58. package/Build/Cesium/Workers/createBoxOutlineGeometry.js +2 -2
  59. package/Build/Cesium/Workers/createCircleGeometry.js +2 -2
  60. package/Build/Cesium/Workers/createCircleOutlineGeometry.js +2 -2
  61. package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +2 -2
  62. package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +2 -2
  63. package/Build/Cesium/Workers/createCorridorGeometry.js +2 -2
  64. package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +2 -2
  65. package/Build/Cesium/Workers/createCylinderGeometry.js +2 -2
  66. package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +2 -2
  67. package/Build/Cesium/Workers/createEllipseGeometry.js +2 -2
  68. package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +2 -2
  69. package/Build/Cesium/Workers/createEllipsoidGeometry.js +2 -2
  70. package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +2 -2
  71. package/Build/Cesium/Workers/createFrustumGeometry.js +2 -2
  72. package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +2 -2
  73. package/Build/Cesium/Workers/createGeometry.js +2 -2
  74. package/Build/Cesium/Workers/createGroundPolylineGeometry.js +2 -2
  75. package/Build/Cesium/Workers/createPlaneGeometry.js +2 -2
  76. package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +2 -2
  77. package/Build/Cesium/Workers/createPolygonGeometry.js +2 -2
  78. package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +2 -2
  79. package/Build/Cesium/Workers/createPolylineGeometry.js +2 -2
  80. package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +2 -2
  81. package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +2 -2
  82. package/Build/Cesium/Workers/createRectangleGeometry.js +2 -2
  83. package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +2 -2
  84. package/Build/Cesium/Workers/createSimplePolylineGeometry.js +2 -2
  85. package/Build/Cesium/Workers/createSphereGeometry.js +2 -2
  86. package/Build/Cesium/Workers/createSphereOutlineGeometry.js +2 -2
  87. package/Build/Cesium/Workers/createTaskProcessorWorker.js +2 -2
  88. package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +2 -2
  89. package/Build/Cesium/Workers/createVectorTileGeometries.js +2 -2
  90. package/Build/Cesium/Workers/createVectorTilePoints.js +2 -2
  91. package/Build/Cesium/Workers/createVectorTilePolygons.js +2 -2
  92. package/Build/Cesium/Workers/createVectorTilePolylines.js +2 -2
  93. package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
  94. package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
  95. package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -2
  96. package/Build/Cesium/Workers/createWallGeometry.js +2 -2
  97. package/Build/Cesium/Workers/createWallOutlineGeometry.js +2 -2
  98. package/Build/Cesium/Workers/decodeDraco.js +2 -2
  99. package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
  100. package/Build/Cesium/Workers/decodeI3S.js +2 -2
  101. package/Build/Cesium/Workers/transcodeKTX2.js +7 -7
  102. package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
  103. package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
  104. package/Build/Cesium/index.cjs +529 -529
  105. package/Build/Cesium/index.js +505 -505
  106. package/package.json +1 -1
  107. package/Build/Cesium/Workers/chunk-2K72IAMD.js +0 -66
  108. package/Build/Cesium/Workers/chunk-S4WTTFQO.js +0 -26
@@ -3174,6 +3174,7 @@ export const Check: {
3174
3174
  };
3175
3175
  };
3176
3176
  };
3177
+
3177
3178
 
3178
3179
 
3179
3180
  /**
@@ -5472,7 +5473,9 @@ export function defaultValue(a: any, b: any): any;
5472
5473
  * @param value - The object.
5473
5474
  * @returns Returns true if the object is defined, returns false otherwise.
5474
5475
  */
5475
- export function defined<Type>(value: Type): value is NonNullable<Type>;
5476
+
5477
+ export function defined<Type>(value: Type): value is NonNullable<Type>;
5478
+
5476
5479
 
5477
5480
  /**
5478
5481
  * Destroys an object. Each of the object's functions, including functions in its prototype,
@@ -9162,7 +9165,7 @@ export namespace ITwinPlatform {
9162
9165
  enum ExportType {
9163
9166
  }
9164
9167
  /**
9165
- * Types of Reality data
9168
+ * Types of Reality data. This is a partial list of types we know we can support
9166
9169
  */
9167
9170
  enum RealityDataType {
9168
9171
  }
@@ -22817,6 +22820,7 @@ export namespace ModelGraphics {
22817
22820
  * @property [colorBlendMode = ColorBlendMode.HIGHLIGHT] - An enum Property specifying how the color blends with the model.
22818
22821
  * @property [colorBlendAmount = 0.5] - A numeric Property specifying 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.
22819
22822
  * @property [imageBasedLightingFactor = new Cartesian2(1.0, 1.0)] - A property specifying the contribution from diffuse and specular image-based lighting.
22823
+ * @property [environmentMapOptions] - The properties for managing dynamic environment maps on this entity.
22820
22824
  * @property [lightColor] - A property specifying the light color when shading the model. When <code>undefined</code> the scene's light color is used instead.
22821
22825
  * @property [distanceDisplayCondition] - A Property specifying at what distance from the camera that this model will be displayed.
22822
22826
  * @property [nodeTransformations] - An object, where keys are names of nodes, and values are {@link TranslationRotationScale} Properties describing the transformation to apply to that node. The transformation is applied after the node's existing transformation as specified in the glTF, and does not replace the node's existing transformation.
@@ -22842,6 +22846,9 @@ export namespace ModelGraphics {
22842
22846
  colorBlendMode?: Property | ColorBlendMode;
22843
22847
  colorBlendAmount?: Property | number;
22844
22848
  imageBasedLightingFactor?: Property | Cartesian2;
22849
+ environmentMapOptions?: PropertyBag | {
22850
+ [key: string]: any;
22851
+ };
22845
22852
  lightColor?: Property | Color;
22846
22853
  distanceDisplayCondition?: Property | DistanceDisplayCondition;
22847
22854
  nodeTransformations?: PropertyBag | {
@@ -22949,6 +22956,10 @@ export class ModelGraphics {
22949
22956
  * A property specifying the {@link Cartesian2} used to scale the diffuse and specular image-based lighting contribution to the final color.
22950
22957
  */
22951
22958
  imageBasedLightingFactor: Property | undefined;
22959
+ /**
22960
+ * Gets or sets the {@link DynamicEnvironmentMapManager.ConstructorOptions} to apply to this model. This is represented as an {@link PropertyBag}.
22961
+ */
22962
+ environmentMapOptions: PropertyBag;
22952
22963
  /**
22953
22964
  * A property specifying the {@link Cartesian3} light color when shading the model. When <code>undefined</code> the scene's light color is used instead.
22954
22965
  */
@@ -22999,7 +23010,7 @@ export class ModelVisualizer {
22999
23010
  constructor(scene: Scene, entityCollection: EntityCollection);
23000
23011
  /**
23001
23012
  * Updates models created this visualizer to match their
23002
- * Entity counterpart at the given time.
23013
+ Entity counterpart at the given time.
23003
23014
  * @param time - The time to update to.
23004
23015
  * @returns This function always returns true.
23005
23016
  */
@@ -28451,6 +28462,7 @@ export namespace Cesium3DTileset {
28451
28462
  * @property [pointCloudShading] - Options for constructing a {@link PointCloudShading} object to control point attenuation based on geometric error and lighting.
28452
28463
  * @property [lightColor] - The light color when shading models. When <code>undefined</code> the scene's light color is used instead.
28453
28464
  * @property [imageBasedLighting] - The properties for managing image-based lighting for this tileset.
28465
+ * @property [environmentMapOptions] - The properties for managing dynamic environment maps on this tileset.
28454
28466
  * @property [backFaceCulling = true] - Whether to cull back-facing geometry. When true, back face culling is determined by the glTF material's doubleSided property; when false, back face culling is disabled.
28455
28467
  * @property [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 to false to avoid the additional processing of geometry at load time. When false, the showOutlines and outlineColor options are ignored.
28456
28468
  * @property [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.
@@ -28476,7 +28488,6 @@ export namespace Cesium3DTileset {
28476
28488
  * @property [debugShowRenderingStatistics = false] - For debugging only. When true, draws labels to indicate the number of commands, points, triangles and features for each tile.
28477
28489
  * @property [debugShowMemoryUsage = false] - For debugging only. When true, draws labels to indicate the texture and geometry memory in megabytes used by each tile.
28478
28490
  * @property [debugShowUrl = false] - For debugging only. When true, draws labels to indicate the url of each tile.
28479
- * @param [options.environmentMapOptions] - The properties for managing dynamic environment maps on this model.
28480
28491
  */
28481
28492
  type ConstructorOptions = {
28482
28493
  show?: boolean;
@@ -28516,6 +28527,7 @@ export namespace Cesium3DTileset {
28516
28527
  pointCloudShading?: any;
28517
28528
  lightColor?: Cartesian3;
28518
28529
  imageBasedLighting?: ImageBasedLighting;
28530
+ environmentMapOptions?: DynamicEnvironmentMapManager.ConstructorOptions;
28519
28531
  backFaceCulling?: boolean;
28520
28532
  enableShowOutline?: boolean;
28521
28533
  showOutline?: boolean;
@@ -31901,7 +31913,7 @@ export namespace DynamicEnvironmentMapManager {
31901
31913
  /**
31902
31914
  * Options for the DynamicEnvironmentMapManager constructor
31903
31915
  * @property [enabled = true] - If true, the environment map and related properties will continue to update.
31904
- * @property [mipmapLevels = 10] - The number of mipmap levels to generate for specular maps. More mipmap levels will produce a higher resolution specular reflection.
31916
+ * @property [mipmapLevels = 7] - The number of mipmap levels to generate for specular maps. More mipmap levels will produce a higher resolution specular reflection.
31905
31917
  * @property [maximumSecondsDifference = 3600] - The maximum amount of elapsed seconds before a new environment map is created.
31906
31918
  * @property [maximumPositionEpsilon = 1000] - The maximum difference in position before a new environment map is created, in meters. Small differences in position will not visibly affect results.
31907
31919
  * @property [atmosphereScatteringIntensity = 2.0] - The intensity of the scattered light emitted from the atmosphere. This should be adjusted relative to the value of {@link Scene.light} intensity.
@@ -35117,6 +35129,18 @@ export namespace ITwinData {
35117
35129
  * @param [rootDocument] - The path of the root document for this reality data
35118
35130
  */
35119
35131
  function createTilesetForRealityDataId(iTwinId: string, realityDataId: string, type?: ITwinPlatform.RealityDataType, rootDocument?: string): Promise<Cesium3DTileset>;
35132
+ /**
35133
+ * Create a data source of the correct type for the specified reality data id.
35134
+ This function only works for KML and GeoJSON type data.
35135
+
35136
+ If the <code>type</code> or <code>rootDocument</code> are not provided this function
35137
+ will first request the full metadata for the specified reality data to fill these values.
35138
+ * @param iTwinId - The id of the iTwin to load data from
35139
+ * @param realityDataId - The id of the reality data to load
35140
+ * @param [type] - The type of this reality data
35141
+ * @param [rootDocument] - The path of the root document for this reality data
35142
+ */
35143
+ function createDataSourceForRealityDataId(iTwinId: string, realityDataId: string, type?: ITwinPlatform.RealityDataType, rootDocument?: string): Promise<GeoJsonDataSource | KmlDataSource>;
35120
35144
  }
35121
35145
 
35122
35146
  export namespace Label {
@@ -37801,7 +37825,7 @@ export class Model {
37801
37825
 
37802
37826
  The given name may be the name of a glTF extension, like `"EXT_example_extension"`.
37803
37827
  If the specified extension was present in the root of the underlying glTF asset,
37804
- and a loder for the specified extension has processed the extension data, then
37828
+ and a loader for the specified extension has processed the extension data, then
37805
37829
  this will return the model representation of the extension.
37806
37830
  * @param extensionName - The name of the extension
37807
37831
  * @returns The object, or `undefined`