@cesium/engine 18.3.1-ion.1 → 20.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.
- package/Build/ThirdParty/Workers/pako_deflate.min.js +3 -3
- package/Build/ThirdParty/Workers/pako_inflate.min.js +3 -3
- package/Build/ThirdParty/Workers/z-worker-pako.js +80 -89
- package/Build/Workers/{chunk-G7F2CKBW.js → chunk-22LUVCO3.js} +2 -2
- package/Build/Workers/{chunk-AIBIEA2N.js → chunk-3BO4XBWM.js} +12 -12
- package/Build/Workers/{chunk-LPLMZKZS.js → chunk-3SQPZVG4.js} +1 -1
- package/Build/Workers/{chunk-KQ7OYXT6.js → chunk-4O5SZ2RE.js} +3 -3
- package/Build/Workers/{chunk-EF747DYS.js → chunk-4UIKSIEZ.js} +9 -9
- package/Build/Workers/{chunk-LDFRBRJO.js → chunk-5FZEM66Y.js} +12 -12
- package/Build/Workers/{chunk-Z7UO3S7L.js → chunk-5G56VVL3.js} +10 -10
- package/Build/Workers/{chunk-KUVAFSVU.js → chunk-5GKRDXYJ.js} +12 -12
- package/Build/Workers/{chunk-GIRJEZHU.js → chunk-5W4EBNO3.js} +14 -14
- package/Build/Workers/{chunk-XMFKOU5X.js → chunk-67RLCIDP.js} +7 -7
- package/Build/Workers/{chunk-ACOAKTBU.js → chunk-74VODBWB.js} +4 -4
- package/Build/Workers/{chunk-QTFE5TBC.js → chunk-7HOD2LGH.js} +10 -10
- package/Build/Workers/{chunk-GOSJZP7N.js → chunk-D25QOWHR.js} +1 -1
- package/Build/Workers/{chunk-5UWLMG6V.js → chunk-D63DK275.js} +7 -7
- package/Build/Workers/{chunk-4JMMKZ4N.js → chunk-EHOOC4HJ.js} +5 -5
- package/Build/Workers/{chunk-PFTYXAVG.js → chunk-ELI5ZYDR.js} +5 -5
- package/Build/Workers/{chunk-RQRKALHB.js → chunk-FGF4ETPY.js} +9 -9
- package/Build/Workers/{chunk-YPMSP4IH.js → chunk-FKWL63D4.js} +5 -5
- package/Build/Workers/{chunk-IC5M3JRR.js → chunk-FLH3ZH2X.js} +4 -4
- package/Build/Workers/{chunk-5DF22LFV.js → chunk-HDOFAYEE.js} +16 -16
- package/Build/Workers/{chunk-37V6UO2J.js → chunk-HHUHFFYN.js} +5 -5
- package/Build/Workers/{chunk-GSLSXQGX.js → chunk-IHUXLSNT.js} +5 -4
- package/Build/Workers/{chunk-K4HUWRWA.js → chunk-IJM2HVTV.js} +1 -1
- package/Build/Workers/{chunk-AKLRSDAY.js → chunk-IPXMWP5Z.js} +6 -6
- package/Build/Workers/{chunk-G6I5XO4E.js → chunk-IWKYS6RV.js} +6 -6
- package/Build/Workers/{chunk-RVQ7LHW3.js → chunk-JMX3P7DE.js} +8 -8
- package/Build/Workers/{chunk-OQNQNBEM.js → chunk-JQSMAZAT.js} +9 -9
- package/Build/Workers/{chunk-GGNZKIG3.js → chunk-JRLT2FQV.js} +8 -8
- package/Build/Workers/{chunk-GK5WVMVN.js → chunk-KRXL3KZL.js} +13 -13
- package/Build/Workers/{chunk-OVXYMPQ7.js → chunk-KWB7PPVO.js} +2 -2
- package/Build/Workers/{chunk-DG4CHTQN.js → chunk-M62PWLGC.js} +16 -16
- package/Build/Workers/{chunk-T3UE5LOS.js → chunk-MSLO3MQF.js} +5 -5
- package/Build/Workers/{chunk-ZGH3R3CO.js → chunk-MZZK44UI.js} +6 -6
- package/Build/Workers/{chunk-3T2QV5NN.js → chunk-NB2NKFJL.js} +6 -6
- package/Build/Workers/{chunk-W2EMENZQ.js → chunk-NJYFQE5B.js} +1 -1
- package/Build/Workers/{chunk-GG2NLIC6.js → chunk-O2O4FYNI.js} +2 -2
- package/Build/Workers/{chunk-6HT3OW6S.js → chunk-PZEPLREA.js} +2 -2
- package/Build/Workers/{chunk-MYMBUYST.js → chunk-S2RSJJQI.js} +4 -4
- package/Build/Workers/{chunk-QBRCP474.js → chunk-S3UYLP3X.js} +8 -8
- package/Build/Workers/{chunk-JVSY3BGV.js → chunk-TH3P77KJ.js} +5 -5
- package/Build/Workers/{chunk-4HDG7AFU.js → chunk-UGSQJYGE.js} +6 -6
- package/Build/Workers/{chunk-SMVRX64E.js → chunk-UUXOFY6G.js} +12 -12
- package/Build/Workers/{chunk-DPG3EG2U.js → chunk-V36BVRDX.js} +11 -11
- package/Build/Workers/{chunk-3HRMP3V7.js → chunk-VJ2DNCFT.js} +4 -4
- package/Build/Workers/{chunk-DH3XQXDD.js → chunk-VQUVJWBK.js} +4 -4
- package/Build/Workers/{chunk-AJANTRVW.js → chunk-VWQWZ7OL.js} +5 -5
- package/Build/Workers/{chunk-XPXBRZXF.js → chunk-VXBNLAG4.js} +7 -7
- package/Build/Workers/{chunk-GXEQK7P4.js → chunk-W3KNMQT2.js} +6 -6
- package/Build/Workers/{chunk-5RUDB5R4.js → chunk-WIGH3CPD.js} +2 -2
- package/Build/Workers/{chunk-GMNXNBM4.js → chunk-XVHLXVN3.js} +1 -1
- package/Build/Workers/{chunk-KSNUH6WJ.js → chunk-YHB3RNF2.js} +4 -4
- package/Build/Workers/{chunk-BTXGNWFF.js → chunk-ZSHDRKLT.js} +4 -4
- package/Build/Workers/combineGeometry.js +21 -21
- package/Build/Workers/createBoxGeometry.js +15 -15
- package/Build/Workers/createBoxOutlineGeometry.js +13 -13
- package/Build/Workers/createCircleGeometry.js +23 -23
- package/Build/Workers/createCircleOutlineGeometry.js +16 -16
- package/Build/Workers/createCoplanarPolygonGeometry.js +30 -30
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +28 -28
- package/Build/Workers/createCorridorGeometry.js +26 -26
- package/Build/Workers/createCorridorOutlineGeometry.js +25 -25
- package/Build/Workers/createCylinderGeometry.js +17 -17
- package/Build/Workers/createCylinderOutlineGeometry.js +15 -15
- package/Build/Workers/createEllipseGeometry.js +23 -23
- package/Build/Workers/createEllipseOutlineGeometry.js +16 -16
- package/Build/Workers/createEllipsoidGeometry.js +16 -16
- package/Build/Workers/createEllipsoidOutlineGeometry.js +15 -15
- package/Build/Workers/createFrustumGeometry.js +15 -15
- package/Build/Workers/createFrustumOutlineGeometry.js +15 -15
- package/Build/Workers/createGeometry.js +21 -21
- package/Build/Workers/createGroundPolylineGeometry.js +19 -19
- package/Build/Workers/createPlaneGeometry.js +13 -13
- package/Build/Workers/createPlaneOutlineGeometry.js +12 -12
- package/Build/Workers/createPolygonGeometry.js +29 -29
- package/Build/Workers/createPolygonOutlineGeometry.js +27 -27
- package/Build/Workers/createPolylineGeometry.js +22 -22
- package/Build/Workers/createPolylineVolumeGeometry.js +28 -28
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +24 -24
- package/Build/Workers/createRectangleGeometry.js +24 -24
- package/Build/Workers/createRectangleOutlineGeometry.js +17 -17
- package/Build/Workers/createSimplePolylineGeometry.js +20 -20
- package/Build/Workers/createSphereGeometry.js +16 -16
- package/Build/Workers/createSphereOutlineGeometry.js +15 -15
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +12 -12
- package/Build/Workers/createVectorTileGeometries.js +21 -21
- package/Build/Workers/createVectorTilePoints.js +11 -11
- package/Build/Workers/createVectorTilePolygons.js +19 -19
- package/Build/Workers/createVectorTilePolylines.js +12 -12
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +19 -19
- package/Build/Workers/createVerticesFromHeightmap.js +25 -25
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +16 -16
- package/Build/Workers/createWallGeometry.js +21 -21
- package/Build/Workers/createWallOutlineGeometry.js +20 -20
- package/Build/Workers/decodeDraco.js +10 -10
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +9 -9
- package/Build/Workers/gaussianSplatSorter.js +4 -4
- package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
- package/Build/Workers/transcodeKTX2.js +17 -16
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +19 -19
- package/LICENSE.md +32 -25
- package/Source/Core/Ellipsoid.js +9 -0
- package/Source/Core/ITwinPlatform.js +8 -1
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/IonResource.js +14 -8
- package/Source/Core/ScreenSpaceEventHandler.js +3 -3
- package/Source/Core/addAllToArray.js +40 -0
- package/Source/DataSources/StaticGroundGeometryPerMaterialBatch.js +54 -26
- package/Source/Renderer/Context.js +8 -4
- package/Source/Renderer/Renderbuffer.js +4 -2
- package/Source/Renderer/Sampler.js +13 -0
- package/Source/Renderer/ShaderBuilder.js +7 -6
- package/Source/Renderer/SharedContext.js +186 -0
- package/Source/Renderer/Texture.js +4 -5
- package/Source/Renderer/Texture3D.js +17 -7
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/BillboardCollection.js +1 -1
- package/Source/Scene/BingMapsImageryProvider.js +1 -1
- package/Source/Scene/Cesium3DTileBatchTable.js +6 -4
- package/Source/Scene/Cesium3DTileContentFactory.js +7 -16
- package/Source/Scene/Cesium3DTileStyle.js +4 -3
- package/Source/Scene/Cesium3DTileset.js +2 -2
- package/Source/Scene/ConditionsExpression.js +3 -2
- package/Source/Scene/GaussianSplat3DTileContent.js +253 -9
- package/Source/Scene/GaussianSplatPrimitive.js +167 -15
- package/Source/Scene/GltfLoader.js +23 -4
- package/Source/Scene/GltfPipeline/ForEach.js +7 -7
- package/Source/Scene/GltfPipeline/addDefaults.js +1 -2
- package/Source/Scene/GltfPipeline/addToArray.js +2 -0
- package/Source/Scene/GltfPipeline/findAccessorMinMax.js +1 -1
- package/Source/Scene/GltfPipeline/getComponentReader.js +16 -16
- package/Source/Scene/GltfPipeline/moveTechniqueRenderStates.js +1 -1
- package/Source/Scene/GltfPipeline/moveTechniquesToExtension.js +3 -3
- package/Source/Scene/GltfPipeline/parseGlb.js +1 -1
- package/Source/Scene/GltfPipeline/readAccessorPacked.js +2 -2
- package/Source/Scene/GltfPipeline/removeUnusedElements.js +5 -6
- package/Source/Scene/GltfPipeline/updateAccessorComponentTypes.js +1 -1
- package/Source/Scene/GltfPipeline/updateVersion.js +13 -13
- package/Source/Scene/GltfSpzLoader.js +3 -1
- package/Source/Scene/GltfVertexBufferLoader.js +56 -2
- package/Source/Scene/HeightReference.js +1 -1
- package/Source/Scene/ITwinData.js +49 -25
- package/Source/Scene/ImageBasedLighting.js +6 -2
- package/Source/Scene/ImageryLayer.js +10 -10
- package/Source/Scene/MetadataTableProperty.js +2 -1
- package/Source/Scene/Model/ClassificationModelDrawCommand.js +7 -6
- package/Source/Scene/Model/GeoJsonLoader.js +3 -1
- package/Source/Scene/Model/ImageryConfiguration.js +1 -0
- package/Source/Scene/Model/ImageryPipelineStage.js +8 -2
- package/Source/Scene/Model/InstancingPipelineStage.js +3 -8
- package/Source/Scene/Model/MaterialPipelineStage.js +10 -1
- package/Source/Scene/Model/Model.js +3 -0
- package/Source/Scene/Model/ModelClippingPolygonsPipelineStage.js +8 -2
- package/Source/Scene/Model/ModelImagery.js +3 -0
- package/Source/Scene/Model/ModelSceneGraph.js +2 -1
- package/Source/Scene/Model/ModelUtility.js +1 -0
- package/Source/Scene/Model/PntsLoader.js +7 -3
- package/Source/Scene/Picking.js +41 -1
- package/Source/Scene/PntsParser.js +6 -3
- package/Source/Scene/Primitive.js +0 -1
- package/Source/Scene/PrimitiveCollection.js +32 -6
- package/Source/Scene/PrimitiveLoadPlan.js +1 -37
- package/Source/Scene/PropertyTable.js +7 -12
- package/Source/Scene/Scene.js +41 -32
- package/Source/Scene/ScreenSpaceCameraController.js +2 -0
- package/Source/Scene/VertexAttributeSemantic.js +4 -2
- package/Source/Scene/WebMapServiceImageryProvider.js +3 -2
- package/Source/Scene/WebMapTileServiceImageryProvider.js +0 -22
- package/Source/Scene/getMeshPrimitives.js +72 -0
- package/Source/Shaders/Builtin/Functions/modelToWindowCoordinates.glsl +2 -1
- package/Source/Shaders/Builtin/Functions/modelToWindowCoordinates.js +2 -1
- package/Source/Shaders/EllipsoidVS.glsl +4 -4
- package/Source/Shaders/EllipsoidVS.js +4 -4
- package/Source/Shaders/FXAA3_11.glsl +2 -0
- package/Source/Shaders/FXAA3_11.js +2 -0
- package/Source/Shaders/GlobeVS.glsl +2 -1
- package/Source/Shaders/GlobeVS.js +2 -1
- package/Source/Shaders/PrimitiveGaussianSplatFS.glsl +5 -5
- package/Source/Shaders/PrimitiveGaussianSplatFS.js +5 -5
- package/Source/Shaders/PrimitiveGaussianSplatVS.glsl +102 -5
- package/Source/Shaders/PrimitiveGaussianSplatVS.js +102 -5
- package/Source/Shaders/SkyAtmosphereVS.glsl +2 -1
- package/Source/Shaders/SkyAtmosphereVS.js +2 -1
- package/Source/ThirdParty/Workers/z-worker-pako.js +1 -1
- package/index.d.ts +191 -54
- package/index.js +93 -90
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -5803,6 +5803,11 @@ export class Ellipsoid {
|
|
|
5803
5803
|
* An Ellipsoid instance initialized to a sphere with the lunar radius.
|
|
5804
5804
|
*/
|
|
5805
5805
|
static readonly MOON: Ellipsoid;
|
|
5806
|
+
/**
|
|
5807
|
+
* An Ellipsoid instance initialized to a sphere with the mean radii of Mars.
|
|
5808
|
+
* Source: https://epsg.io/104905
|
|
5809
|
+
*/
|
|
5810
|
+
static readonly MARS: Ellipsoid;
|
|
5806
5811
|
/**
|
|
5807
5812
|
* The default ellipsoid used when not otherwise specified.
|
|
5808
5813
|
* @example
|
|
@@ -29365,7 +29370,7 @@ export namespace Cesium3DTileset {
|
|
|
29365
29370
|
* @property [instanceFeatureIdLabel = "instanceFeatureId_0"] - Label of the instance feature ID set used for picking and styling. If instanceFeatureIdLabel is set to an integer N, it is converted to the string "instanceFeatureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
|
|
29366
29371
|
* @property [showCreditsOnScreen = false] - Whether to display the credits of this tileset on screen.
|
|
29367
29372
|
* @property [splitDirection = SplitDirection.NONE] - The {@link SplitDirection} split to apply to this tileset.
|
|
29368
|
-
* @property [enableCollision = false] - When <code>true</code>, enables collisions for camera or CPU picking. While this is <code>true</code> the camera will be prevented from going below the tileset surface if {@link ScreenSpaceCameraController#enableCollisionDetection} is true.
|
|
29373
|
+
* @property [enableCollision = false] - When <code>true</code>, enables collisions for camera or CPU picking. While this is <code>true</code> the camera will be prevented from going below the tileset surface if {@link ScreenSpaceCameraController#enableCollisionDetection} is true. This also affects the behavior of {@link HeightReference.CLAMP_TO_GROUND} when clamping to 3D Tiles surfaces. If <code>enableCollision</code> is <code>false</code>, entities may not be correctly clamped to the tileset geometry.
|
|
29369
29374
|
* @property [projectTo2D = false] - Whether to accurately project the tileset to 2D. If this is true, the tileset will be projected accurately to 2D, but it will use more memory to do so. If this is false, the tileset will use less memory and will still render in 2D / CV mode, but its projected positions may be inaccurate. This cannot be set after the tileset has been created.
|
|
29370
29375
|
* @property [enablePick = false] - Whether to allow collision and CPU picking with <code>pick</code> when using WebGL 1. If using WebGL 2 or above, this option will be ignored. If using WebGL 1 and this is true, the <code>pick</code> operation will work correctly, but it will use more memory to do so. If running with WebGL 1 and this is false, the model will use less memory, but <code>pick</code> will always return <code>undefined</code>. This cannot be set after the tileset has loaded.
|
|
29371
29376
|
* @property [asynchronouslyLoadImagery = false] - Whether loading imagery that is draped over the tileset should be done asynchronously. If this is <code>true</code>, then tile content will be displayed with its original texture until the imagery texture is loaded. If this is <code>false</code>, then the tile content will not be displayed until the imagery is ready.
|
|
@@ -32340,6 +32345,99 @@ export class FrameRateMonitor {
|
|
|
32340
32345
|
destroy(): void;
|
|
32341
32346
|
}
|
|
32342
32347
|
|
|
32348
|
+
/**
|
|
32349
|
+
* Represents the contents of a glTF or glb using the {@link https://github.com/CesiumGS/glTF/tree/draft-splat-spz/extensions/2.0/Khronos/KHR_gaussian_splatting | KHR_gaussian_splatting} and {@link https://github.com/CesiumGS/glTF/tree/draft-splat-spz/extensions/2.0/Khronos/KHR_gaussian_splatting_compression_spz_2 | KHR_gaussian_splatting_compression_spz_2} extensions.
|
|
32350
|
+
* <p>
|
|
32351
|
+
* Implements the {@link Cesium3DTileContent} interface.
|
|
32352
|
+
* </p>
|
|
32353
|
+
*/
|
|
32354
|
+
export class GaussianSplat3DTileContent {
|
|
32355
|
+
constructor();
|
|
32356
|
+
/**
|
|
32357
|
+
* Performs checks to ensure that the provided tileset has the Gaussian Splatting extensions.
|
|
32358
|
+
* @param tileset - The tileset to check for the extensions.
|
|
32359
|
+
* @returns Returns <code>true</code> if the necessary extensions are included in the tileset.
|
|
32360
|
+
*/
|
|
32361
|
+
static tilesetRequiresGaussianSplattingExt(tileset: Cesium3DTileset): boolean;
|
|
32362
|
+
/**
|
|
32363
|
+
* Gets the number of features in the tile. Currently this is always zero.
|
|
32364
|
+
*/
|
|
32365
|
+
readonly featuresLength: number;
|
|
32366
|
+
/**
|
|
32367
|
+
* Equal to the number of Gaussian splats in the tile. Each splat is represented by a median point and a set of attributes, so we can
|
|
32368
|
+
* treat this as the number of points in the tile.
|
|
32369
|
+
*/
|
|
32370
|
+
readonly pointsLength: number;
|
|
32371
|
+
/**
|
|
32372
|
+
* Gets the number of triangles in the tile. Currently this is always zero because Gaussian splats are not represented as triangles in the tile content.
|
|
32373
|
+
* <p>
|
|
32374
|
+
*/
|
|
32375
|
+
readonly trianglesLength: number;
|
|
32376
|
+
/**
|
|
32377
|
+
* The number of bytes used by the geometry attributes of this content.
|
|
32378
|
+
* <p>
|
|
32379
|
+
*/
|
|
32380
|
+
readonly geometryByteLength: number;
|
|
32381
|
+
/**
|
|
32382
|
+
* The number of bytes used by the textures of this content.
|
|
32383
|
+
* <p>
|
|
32384
|
+
*/
|
|
32385
|
+
readonly texturesByteLength: number;
|
|
32386
|
+
/**
|
|
32387
|
+
* Gets the amount of memory used by the batch table textures and any binary
|
|
32388
|
+
* metadata properties not accounted for in geometryByteLength or
|
|
32389
|
+
* texturesByteLength
|
|
32390
|
+
* <p>
|
|
32391
|
+
*/
|
|
32392
|
+
readonly batchTableByteLength: number;
|
|
32393
|
+
/**
|
|
32394
|
+
* Gets the array of {@link Cesium3DTileContent} objects for contents that contain other contents, such as composite tiles. The inner contents may in turn have inner contents, such as a composite tile that contains a composite tile.
|
|
32395
|
+
*/
|
|
32396
|
+
readonly innerContents: any[];
|
|
32397
|
+
/**
|
|
32398
|
+
* Returns true when the tile's content is ready to render; otherwise false
|
|
32399
|
+
*/
|
|
32400
|
+
readonly ready: boolean;
|
|
32401
|
+
/**
|
|
32402
|
+
* Returns true when the tile's content is transformed to world coordinates; otherwise false
|
|
32403
|
+
* <p>
|
|
32404
|
+
*/
|
|
32405
|
+
readonly transformed: boolean;
|
|
32406
|
+
/**
|
|
32407
|
+
* The tileset that this content belongs to.
|
|
32408
|
+
* <p>
|
|
32409
|
+
*/
|
|
32410
|
+
readonly tileset: Cesium3DTileset;
|
|
32411
|
+
/**
|
|
32412
|
+
* The tile that this content belongs to.
|
|
32413
|
+
* <p>
|
|
32414
|
+
*/
|
|
32415
|
+
readonly tile: Cesium3DTile;
|
|
32416
|
+
/**
|
|
32417
|
+
* The resource that this content was loaded from.
|
|
32418
|
+
* <p>
|
|
32419
|
+
*/
|
|
32420
|
+
readonly url: Resource;
|
|
32421
|
+
/**
|
|
32422
|
+
* Returns whether the feature has this property.
|
|
32423
|
+
* @param batchId - The batchId for the feature.
|
|
32424
|
+
* @param name - The case-sensitive name of the property.
|
|
32425
|
+
* @returns <code>true</code> if the feature has this property; otherwise, <code>false</code>.
|
|
32426
|
+
*/
|
|
32427
|
+
hasProperty(batchId: number, name: string): boolean;
|
|
32428
|
+
/**
|
|
32429
|
+
* Returns the {@link Cesium3DTileFeature} object for the feature with the
|
|
32430
|
+
* given <code>batchId</code>. This object is used to get and modify the
|
|
32431
|
+
* feature's properties.
|
|
32432
|
+
* <p>
|
|
32433
|
+
* Features in a tile are ordered by <code>batchId</code>, an index used to retrieve their metadata from the batch table.
|
|
32434
|
+
* </p>
|
|
32435
|
+
* @param batchId - The batchId for the feature.
|
|
32436
|
+
* @returns The corresponding {@link Cesium3DTileFeature} object.
|
|
32437
|
+
*/
|
|
32438
|
+
getFeature(batchId: number): Cesium3DTileFeature;
|
|
32439
|
+
}
|
|
32440
|
+
|
|
32343
32441
|
/**
|
|
32344
32442
|
* Describes the format in which to request GetFeatureInfo from a Web Map Service (WMS) server.
|
|
32345
32443
|
* @param type - The type of response to expect from a GetFeatureInfo request. Valid
|
|
@@ -33611,7 +33709,7 @@ export enum HeightReference {
|
|
|
33611
33709
|
*/
|
|
33612
33710
|
NONE = 0,
|
|
33613
33711
|
/**
|
|
33614
|
-
* The position is clamped to the terrain and 3D Tiles.
|
|
33712
|
+
* The position is clamped to the terrain and 3D Tiles. When clamping to 3D Tilesets such as photorealistic 3D Tiles, ensure the tileset has {@link Cesium3DTileset#enableCollision} set to <code>true</code>. Otherwise, the entity may not be correctly clamped to the tileset surface.
|
|
33615
33713
|
*/
|
|
33616
33714
|
CLAMP_TO_GROUND = 1,
|
|
33617
33715
|
/**
|
|
@@ -34148,47 +34246,74 @@ export namespace ITwinData {
|
|
|
34148
34246
|
* If there is not a completed export available for the given iModel id, the returned promise will resolve to <code>undefined</code>.
|
|
34149
34247
|
* We recommend waiting 10-20 seconds and trying to load the tileset again.
|
|
34150
34248
|
* If all exports are Invalid this will throw an error.
|
|
34249
|
+
*
|
|
34250
|
+
* See the {@link https://developer.bentley.com/apis/mesh-export/overview/|iTwin Platform Mesh Export API documentation} for more information on request parameters
|
|
34151
34251
|
* @example
|
|
34152
|
-
* const tileset = await Cesium.ITwinData.createTilesetFromIModelId(iModelId);
|
|
34252
|
+
* const tileset = await Cesium.ITwinData.createTilesetFromIModelId({ iModelId });
|
|
34153
34253
|
* if (Cesium.defined(tileset)) {
|
|
34154
34254
|
* viewer.scene.primitives.add(tileset);
|
|
34155
34255
|
* }
|
|
34156
|
-
* @param iModelId - The id of the iModel to load
|
|
34157
|
-
* @param [options] - Object containing options to pass to the internally created {@link Cesium3DTileset}.
|
|
34256
|
+
* @param options.iModelId - The id of the iModel to load
|
|
34257
|
+
* @param [options.tilesetOptions] - Object containing options to pass to the internally created {@link Cesium3DTileset}.
|
|
34258
|
+
* @param [options.changesetId] - The id of the changeset to load, if not provided the latest changesets will be used
|
|
34158
34259
|
* @returns A promise that will resolve to the created 3D tileset or <code>undefined</code> if there is no completed export for the given iModel id
|
|
34159
34260
|
*/
|
|
34160
|
-
function createTilesetFromIModelId(
|
|
34261
|
+
function createTilesetFromIModelId(options: {
|
|
34262
|
+
iModelId: string;
|
|
34263
|
+
tilesetOptions?: Cesium3DTileset.ConstructorOptions;
|
|
34264
|
+
changesetId?: string;
|
|
34265
|
+
}): Promise<Cesium3DTileset | undefined>;
|
|
34161
34266
|
/**
|
|
34162
34267
|
* Create a tileset for the specified reality data id. This function only works
|
|
34163
34268
|
* with 3D Tiles meshes and point clouds.
|
|
34164
34269
|
*
|
|
34165
34270
|
* If the <code>type</code> or <code>rootDocument</code> are not provided this function
|
|
34166
34271
|
* will first request the full metadata for the specified reality data to fill these values.
|
|
34167
|
-
*
|
|
34168
|
-
*
|
|
34169
|
-
*
|
|
34170
|
-
* @param
|
|
34171
|
-
|
|
34172
|
-
|
|
34272
|
+
*
|
|
34273
|
+
* The <code>maximumScreenSpaceError</code> of the resulting tileset will default to 4,
|
|
34274
|
+
* unless it is explicitly overridden with the given tileset options.
|
|
34275
|
+
* @param options.iTwinId - The id of the iTwin to load data from
|
|
34276
|
+
* @param options.realityDataId - The id of the reality data to load
|
|
34277
|
+
* @param [options.type] - The type of this reality data
|
|
34278
|
+
* @param [options.rootDocument] - The path of the root document for this reality data
|
|
34279
|
+
* @param [options.tilesetOptions] - Object containing
|
|
34280
|
+
* options to pass to the internally created {@link Cesium3DTileset}.
|
|
34281
|
+
*/
|
|
34282
|
+
function createTilesetForRealityDataId(options: {
|
|
34283
|
+
iTwinId: string;
|
|
34284
|
+
realityDataId: string;
|
|
34285
|
+
type?: ITwinPlatform.RealityDataType;
|
|
34286
|
+
rootDocument?: string;
|
|
34287
|
+
tilesetOptions?: Cesium3DTileset.ConstructorOptions;
|
|
34288
|
+
}): Promise<Cesium3DTileset>;
|
|
34173
34289
|
/**
|
|
34174
34290
|
* Create a data source of the correct type for the specified reality data id.
|
|
34175
34291
|
* This function only works for KML and GeoJSON type data.
|
|
34176
34292
|
*
|
|
34177
34293
|
* If the <code>type</code> or <code>rootDocument</code> are not provided this function
|
|
34178
34294
|
* will first request the full metadata for the specified reality data to fill these values.
|
|
34179
|
-
* @param iTwinId - The id of the iTwin to load data from
|
|
34180
|
-
* @param realityDataId - The id of the reality data to load
|
|
34181
|
-
* @param [type] - The type of this reality data
|
|
34182
|
-
* @param [rootDocument] - The path of the root document for this reality data
|
|
34183
|
-
*/
|
|
34184
|
-
function createDataSourceForRealityDataId(
|
|
34295
|
+
* @param options.iTwinId - The id of the iTwin to load data from
|
|
34296
|
+
* @param options.realityDataId - The id of the reality data to load
|
|
34297
|
+
* @param [options.type] - The type of this reality data
|
|
34298
|
+
* @param [options.rootDocument] - The path of the root document for this reality data
|
|
34299
|
+
*/
|
|
34300
|
+
function createDataSourceForRealityDataId(options: {
|
|
34301
|
+
iTwinId: string;
|
|
34302
|
+
realityDataId: string;
|
|
34303
|
+
type?: ITwinPlatform.RealityDataType;
|
|
34304
|
+
rootDocument?: string;
|
|
34305
|
+
}): Promise<GeoJsonDataSource | KmlDataSource>;
|
|
34185
34306
|
/**
|
|
34186
34307
|
* Load data from the Geospatial Features API as GeoJSON.
|
|
34187
|
-
* @param iTwinId - The id of the iTwin to load data from
|
|
34188
|
-
* @param collectionId - The id of the data collection to load
|
|
34189
|
-
* @param [limit = 10000] - number of items per page, must be between 1 and 10,000 inclusive
|
|
34308
|
+
* @param options.iTwinId - The id of the iTwin to load data from
|
|
34309
|
+
* @param options.collectionId - The id of the data collection to load
|
|
34310
|
+
* @param [options.limit = 10000] - number of items per page, must be between 1 and 10,000 inclusive
|
|
34190
34311
|
*/
|
|
34191
|
-
function loadGeospatialFeatures(
|
|
34312
|
+
function loadGeospatialFeatures(options: {
|
|
34313
|
+
iTwinId: string;
|
|
34314
|
+
collectionId: string;
|
|
34315
|
+
limit?: number;
|
|
34316
|
+
}): Promise<GeoJsonDataSource>;
|
|
34192
34317
|
}
|
|
34193
34318
|
|
|
34194
34319
|
/**
|
|
@@ -34472,6 +34597,12 @@ export class ImageryLayer {
|
|
|
34472
34597
|
* Returns true when the terrain provider has been successfully created. Otherwise, returns false.
|
|
34473
34598
|
*/
|
|
34474
34599
|
readonly ready: boolean;
|
|
34600
|
+
/**
|
|
34601
|
+
* Gets an event that is raised when the imagery provider encounters an asynchronous error. By subscribing
|
|
34602
|
+
* to the event, you will be notified of the error and can potentially recover from it. Event listeners
|
|
34603
|
+
* are passed an instance of the thrown error.
|
|
34604
|
+
*/
|
|
34605
|
+
readonly errorEvent: Event<ImageryLayer.ErrorEventCallback>;
|
|
34475
34606
|
/**
|
|
34476
34607
|
* Gets an event that is raised when the imagery provider has been successfully created. Event listeners
|
|
34477
34608
|
* are passed the created instance of {@link ImageryProvider}.
|
|
@@ -34545,7 +34676,7 @@ export class ImageryLayer {
|
|
|
34545
34676
|
* viewer.imageryLayers.add(imageryLayer);
|
|
34546
34677
|
*
|
|
34547
34678
|
* imageryLayer.readyEvent.addEventListener(provider => {
|
|
34548
|
-
* imageryLayer.
|
|
34679
|
+
* imageryLayer.imageryProvider.errorEvent.addEventListener(error => {
|
|
34549
34680
|
* alert(`Encountered an error while loading imagery tiles! ${error}`);
|
|
34550
34681
|
* });
|
|
34551
34682
|
* });
|
|
@@ -34571,7 +34702,7 @@ export class ImageryLayer {
|
|
|
34571
34702
|
* viewer.imageryLayers.add(imageryLayer);
|
|
34572
34703
|
*
|
|
34573
34704
|
* imageryLayer.readyEvent.addEventListener(provider => {
|
|
34574
|
-
* imageryLayer.
|
|
34705
|
+
* imageryLayer.imageryProvider.errorEvent.addEventListener(error => {
|
|
34575
34706
|
* alert(`Encountered an error while loading imagery tiles! ${error}`);
|
|
34576
34707
|
* });
|
|
34577
34708
|
* });
|
|
@@ -37469,6 +37600,9 @@ export enum LightingModel {
|
|
|
37469
37600
|
* {@link https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/EXT_mesh_gpu_instancing|EXT_mesh_gpu_instancing}
|
|
37470
37601
|
* </li>
|
|
37471
37602
|
* <li>
|
|
37603
|
+
* {@link https://github.com/KhronosGroup/glTF/pull/2514|EXT_mesh_primitive_restart}
|
|
37604
|
+
* </li>
|
|
37605
|
+
* <li>
|
|
37472
37606
|
* {@link https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/EXT_meshopt_compression|EXT_meshopt_compression}
|
|
37473
37607
|
* </li>
|
|
37474
37608
|
* <li>
|
|
@@ -41202,15 +41336,15 @@ export class Scene {
|
|
|
41202
41336
|
/**
|
|
41203
41337
|
* The {@link SkyBox} used to draw the stars.
|
|
41204
41338
|
*/
|
|
41205
|
-
skyBox: SkyBox;
|
|
41339
|
+
skyBox: SkyBox | undefined;
|
|
41206
41340
|
/**
|
|
41207
41341
|
* The sky atmosphere drawn around the globe.
|
|
41208
41342
|
*/
|
|
41209
|
-
skyAtmosphere: SkyAtmosphere;
|
|
41343
|
+
skyAtmosphere: SkyAtmosphere | undefined;
|
|
41210
41344
|
/**
|
|
41211
41345
|
* The {@link Sun}.
|
|
41212
41346
|
*/
|
|
41213
|
-
sun: Sun;
|
|
41347
|
+
sun: Sun | undefined;
|
|
41214
41348
|
/**
|
|
41215
41349
|
* Uses a bloom filter on the sun when enabled.
|
|
41216
41350
|
*/
|
|
@@ -41218,9 +41352,9 @@ export class Scene {
|
|
|
41218
41352
|
/**
|
|
41219
41353
|
* The {@link Moon}
|
|
41220
41354
|
*/
|
|
41221
|
-
moon: Moon;
|
|
41355
|
+
moon: Moon | undefined;
|
|
41222
41356
|
/**
|
|
41223
|
-
* The background color, which is only visible if there is no sky box, i.e., {@link Scene#skyBox} is undefined
|
|
41357
|
+
* The background color, which is only visible if there is no sky box, i.e., {@link Scene#skyBox} is <code>undefined</code>.
|
|
41224
41358
|
*/
|
|
41225
41359
|
backgroundColor: Color;
|
|
41226
41360
|
/**
|
|
@@ -41284,7 +41418,7 @@ export class Scene {
|
|
|
41284
41418
|
* return command.owner === billboards;
|
|
41285
41419
|
* };
|
|
41286
41420
|
*/
|
|
41287
|
-
debugCommandFilter: (...params: any[]) => any;
|
|
41421
|
+
debugCommandFilter: ((...params: any[]) => any) | undefined;
|
|
41288
41422
|
/**
|
|
41289
41423
|
* This property is for debugging only; it is not for production use.
|
|
41290
41424
|
* <p>
|
|
@@ -41532,10 +41666,10 @@ export class Scene {
|
|
|
41532
41666
|
*/
|
|
41533
41667
|
readonly postRender: Event;
|
|
41534
41668
|
/**
|
|
41535
|
-
* Gets the simulation time when the scene was last rendered. Returns undefined
|
|
41536
|
-
* rendered.
|
|
41669
|
+
* Gets the simulation time when the scene was last rendered. Returns <code>undefined</code>
|
|
41670
|
+
* if the scene has not yet been rendered.
|
|
41537
41671
|
*/
|
|
41538
|
-
readonly lastRenderTime: JulianDate;
|
|
41672
|
+
readonly lastRenderTime: JulianDate | undefined;
|
|
41539
41673
|
/**
|
|
41540
41674
|
* This property is for debugging only; it is not for production use.
|
|
41541
41675
|
* <p>
|
|
@@ -41547,7 +41681,7 @@ export class Scene {
|
|
|
41547
41681
|
* three frustums.
|
|
41548
41682
|
* </p>
|
|
41549
41683
|
*/
|
|
41550
|
-
readonly debugFrustumStatistics: any;
|
|
41684
|
+
readonly debugFrustumStatistics: any | undefined;
|
|
41551
41685
|
/**
|
|
41552
41686
|
* Gets whether or not the scene is optimized for 3D only viewing.
|
|
41553
41687
|
*/
|
|
@@ -41633,8 +41767,8 @@ export class Scene {
|
|
|
41633
41767
|
*/
|
|
41634
41768
|
requestRender(): void;
|
|
41635
41769
|
/**
|
|
41636
|
-
* Returns an object with a
|
|
41637
|
-
* at a particular window coordinate or undefined if nothing is at the location. Other properties may
|
|
41770
|
+
* Returns an object with a <code>primitive</code> property that contains the first (top) primitive in the scene
|
|
41771
|
+
* at a particular window coordinate or <code>undefined</code> if nothing is at the location. Other properties may
|
|
41638
41772
|
* potentially be set depending on the type of primitive and may be used to further identify the picked object.
|
|
41639
41773
|
* <p>
|
|
41640
41774
|
* When a feature of a 3D Tiles tileset is picked, <code>pick</code> returns a {@link Cesium3DTileFeature} object.
|
|
@@ -41650,12 +41784,12 @@ export class Scene {
|
|
|
41650
41784
|
* @param windowPosition - Window coordinates to perform picking on.
|
|
41651
41785
|
* @param [width = 3] - Width of the pick rectangle.
|
|
41652
41786
|
* @param [height = 3] - Height of the pick rectangle.
|
|
41653
|
-
* @returns Object containing the picked primitive.
|
|
41787
|
+
* @returns Object containing the picked primitive or <code>undefined</code> if nothing is at the location.
|
|
41654
41788
|
*/
|
|
41655
|
-
pick(windowPosition: Cartesian2, width?: number, height?: number): any;
|
|
41789
|
+
pick(windowPosition: Cartesian2, width?: number, height?: number): any | undefined;
|
|
41656
41790
|
/**
|
|
41657
41791
|
* Returns a {@link VoxelCell} for the voxel sample rendered at a particular window coordinate,
|
|
41658
|
-
* or undefined if no voxel is rendered at that position.
|
|
41792
|
+
* or <code>undefined</code> if no voxel is rendered at that position.
|
|
41659
41793
|
* @example
|
|
41660
41794
|
* On left click, report the value of the "color" property at that voxel sample.
|
|
41661
41795
|
* handler.setInputAction(function(movement) {
|
|
@@ -41667,30 +41801,30 @@ export class Scene {
|
|
|
41667
41801
|
* @param windowPosition - Window coordinates to perform picking on.
|
|
41668
41802
|
* @param [width = 3] - Width of the pick rectangle.
|
|
41669
41803
|
* @param [height = 3] - Height of the pick rectangle.
|
|
41670
|
-
* @returns Information about the voxel cell rendered at the picked position.
|
|
41804
|
+
* @returns Information about the voxel cell rendered at the picked position or <code>undefined</code> if no voxel is rendered at that position.
|
|
41671
41805
|
*/
|
|
41672
41806
|
pickVoxel(windowPosition: Cartesian2, width?: number, height?: number): VoxelCell | undefined;
|
|
41673
41807
|
/**
|
|
41674
41808
|
* Pick a metadata value at the given window position.
|
|
41675
41809
|
* @param windowPosition - Window coordinates to perform picking on.
|
|
41676
41810
|
* @param schemaId - The ID of the metadata schema to pick values
|
|
41677
|
-
* from. If this is
|
|
41811
|
+
* from. If this is <code>undefined</code>, then it will pick the values from the object
|
|
41678
41812
|
* that match the given class- and property name, regardless of the schema ID.
|
|
41679
41813
|
* @param className - The name of the metadata class to pick
|
|
41680
41814
|
* values from
|
|
41681
41815
|
* @param propertyName - The name of the metadata property to pick
|
|
41682
41816
|
* values from
|
|
41683
|
-
* @returns The metadata value, or
|
|
41817
|
+
* @returns The metadata value, or <code>undefined</code> when
|
|
41684
41818
|
* no matching metadata was found at the given position
|
|
41685
41819
|
*/
|
|
41686
41820
|
pickMetadata(windowPosition: Cartesian2, schemaId: string | undefined, className: string, propertyName: string): MetadataValue | undefined;
|
|
41687
41821
|
/**
|
|
41688
41822
|
* Pick the schema of the metadata of the object at the given position
|
|
41689
41823
|
* @param windowPosition - Window coordinates to perform picking on.
|
|
41690
|
-
* @returns The metadata schema, or
|
|
41824
|
+
* @returns The metadata schema, or <code>undefined</code> if there is no object with
|
|
41691
41825
|
* associated metadata at the given position.
|
|
41692
41826
|
*/
|
|
41693
|
-
pickMetadataSchema(windowPosition: Cartesian2): MetadataSchema;
|
|
41827
|
+
pickMetadataSchema(windowPosition: Cartesian2): MetadataSchema | undefined;
|
|
41694
41828
|
/**
|
|
41695
41829
|
* Returns the cartesian position reconstructed from the depth buffer and window position.
|
|
41696
41830
|
* <p>
|
|
@@ -41708,7 +41842,7 @@ export class Scene {
|
|
|
41708
41842
|
*/
|
|
41709
41843
|
pickPosition(windowPosition: Cartesian2, result?: Cartesian3): Cartesian3;
|
|
41710
41844
|
/**
|
|
41711
|
-
* Returns a list of objects, each containing a
|
|
41845
|
+
* Returns a list of objects, each containing a <code>primitive</code> property, for all primitives at
|
|
41712
41846
|
* a particular window coordinate position. Other properties may also be set depending on the
|
|
41713
41847
|
* type of primitive and may be used to further identify the picked object. The primitives in
|
|
41714
41848
|
* the list are ordered by their visual order in the scene (front to back).
|
|
@@ -41738,7 +41872,7 @@ export class Scene {
|
|
|
41738
41872
|
* @param [width = 0.1] - Width of the intersection volume in meters.
|
|
41739
41873
|
* @returns The height. This may be <code>undefined</code> if there was no scene geometry to sample height from.
|
|
41740
41874
|
*/
|
|
41741
|
-
sampleHeight(position: Cartographic, objectsToExclude?: object[], width?: number): number;
|
|
41875
|
+
sampleHeight(position: Cartographic, objectsToExclude?: object[], width?: number): number | undefined;
|
|
41742
41876
|
/**
|
|
41743
41877
|
* Clamps the given cartesian position to the scene geometry along the geodetic surface normal. Returns the
|
|
41744
41878
|
* clamped position or <code>undefined</code> if there was no scene geometry to clamp to. May be used to clamp
|
|
@@ -41757,13 +41891,13 @@ export class Scene {
|
|
|
41757
41891
|
* @param [result] - An optional object to return the clamped position.
|
|
41758
41892
|
* @returns The modified result parameter or a new Cartesian3 instance if one was not provided. This may be <code>undefined</code> if there was no scene geometry to clamp to.
|
|
41759
41893
|
*/
|
|
41760
|
-
clampToHeight(cartesian: Cartesian3, objectsToExclude?: object[], width?: number, result?: Cartesian3): Cartesian3;
|
|
41894
|
+
clampToHeight(cartesian: Cartesian3, objectsToExclude?: object[], width?: number, result?: Cartesian3): Cartesian3 | undefined;
|
|
41761
41895
|
/**
|
|
41762
41896
|
* Initiates an asynchronous {@link Scene#sampleHeight} query for an array of {@link Cartographic} positions
|
|
41763
41897
|
* using the maximum level of detail for 3D Tilesets in the scene. The height of the input positions is ignored.
|
|
41764
41898
|
* Returns a promise that is resolved when the query completes. Each point height is modified in place.
|
|
41765
41899
|
* If a height cannot be determined because no geometry can be sampled at that location, or another error occurs,
|
|
41766
|
-
* the height is set to undefined
|
|
41900
|
+
* the height is set to <code>undefined</code>.
|
|
41767
41901
|
* @example
|
|
41768
41902
|
* const positions = [
|
|
41769
41903
|
* new Cesium.Cartographic(-1.31968, 0.69887),
|
|
@@ -41777,9 +41911,9 @@ export class Scene {
|
|
|
41777
41911
|
* @param positions - The cartographic positions to update with sampled heights.
|
|
41778
41912
|
* @param [objectsToExclude] - A list of primitives, entities, or 3D Tiles features to not sample height from.
|
|
41779
41913
|
* @param [width = 0.1] - Width of the intersection volume in meters.
|
|
41780
|
-
* @returns A promise that resolves to the provided list of positions when the query has completed.
|
|
41914
|
+
* @returns A promise that resolves to the provided list of positions when the query has completed. Positions may become <code>undefined</code> if the height cannot be determined.
|
|
41781
41915
|
*/
|
|
41782
|
-
sampleHeightMostDetailed(positions: Cartographic[], objectsToExclude?: object[], width?: number): Promise<Cartographic[]>;
|
|
41916
|
+
sampleHeightMostDetailed(positions: Cartographic[], objectsToExclude?: object[], width?: number): Promise<(Cartographic | undefined)[]>;
|
|
41783
41917
|
/**
|
|
41784
41918
|
* Initiates an asynchronous {@link Scene#clampToHeight} query for an array of {@link Cartesian3} positions
|
|
41785
41919
|
* using the maximum level of detail for 3D Tilesets in the scene. Returns a promise that is resolved when
|
|
@@ -41798,9 +41932,9 @@ export class Scene {
|
|
|
41798
41932
|
* @param cartesians - The cartesian positions to update with clamped positions.
|
|
41799
41933
|
* @param [objectsToExclude] - A list of primitives, entities, or 3D Tiles features to not clamp to.
|
|
41800
41934
|
* @param [width = 0.1] - Width of the intersection volume in meters.
|
|
41801
|
-
* @returns A promise that resolves to the provided list of positions when the query has completed.
|
|
41935
|
+
* @returns A promise that resolves to the provided list of positions when the query has completed. Positions may become <code>undefined</code> if they cannot be clamped.
|
|
41802
41936
|
*/
|
|
41803
|
-
clampToHeightMostDetailed(cartesians: Cartesian3[], objectsToExclude?: object[], width?: number): Promise<Cartesian3[]>;
|
|
41937
|
+
clampToHeightMostDetailed(cartesians: Cartesian3[], objectsToExclude?: object[], width?: number): Promise<(Cartesian3 | undefined)[]>;
|
|
41804
41938
|
/**
|
|
41805
41939
|
* Transforms a position in cartesian coordinates to canvas coordinates. This is commonly used to place an
|
|
41806
41940
|
* HTML element at the same screen position as an object in the scene.
|
|
@@ -41816,7 +41950,7 @@ export class Scene {
|
|
|
41816
41950
|
* @param [result] - An optional object to return the input position transformed to canvas coordinates.
|
|
41817
41951
|
* @returns The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
|
|
41818
41952
|
*/
|
|
41819
|
-
cartesianToCanvasCoordinates(position: Cartesian3, result?: Cartesian2): Cartesian2;
|
|
41953
|
+
cartesianToCanvasCoordinates(position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
41820
41954
|
/**
|
|
41821
41955
|
* Instantly completes an active transition.
|
|
41822
41956
|
*/
|
|
@@ -42092,6 +42226,8 @@ export class ScreenSpaceCameraController {
|
|
|
42092
42226
|
minimumTrackBallHeight: number;
|
|
42093
42227
|
/**
|
|
42094
42228
|
* When disabled, the values of <code>maximumZoomDistance</code> and <code>minimumZoomDistance</code> are ignored.
|
|
42229
|
+
* Also used in conjunction with {@link Cesium3DTileset#enableCollision} to prevent the camera from moving through or below a 3D Tileset surface.
|
|
42230
|
+
* This may also affect clamping behavior when using {@link HeightReference.CLAMP_TO_GROUND} on 3D Tiles.
|
|
42095
42231
|
*/
|
|
42096
42232
|
enableCollisionDetection: boolean;
|
|
42097
42233
|
/**
|
|
@@ -44182,8 +44318,9 @@ export namespace WebMapServiceImageryProvider {
|
|
|
44182
44318
|
/**
|
|
44183
44319
|
* Provides tiled imagery hosted by a Web Map Service (WMS) server.
|
|
44184
44320
|
* @example
|
|
44321
|
+
* // WMS servers operated by the US government https://apps.nationalmap.gov/services/
|
|
44185
44322
|
* const provider = new Cesium.WebMapServiceImageryProvider({
|
|
44186
|
-
* url : 'https://
|
|
44323
|
+
* url : 'https://basemap.nationalmap.gov:443/arcgis/services/USGSHydroCached/MapServer/WMSServer',
|
|
44187
44324
|
* layers : '0',
|
|
44188
44325
|
* proxy: new Cesium.DefaultProxy('/proxy/')
|
|
44189
44326
|
* });
|