@cesium/engine 10.0.0 → 11.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/Workers/{chunk-AA4GZKOT.js → chunk-2EDC3QGH.js} +1 -1
- package/Build/Workers/{chunk-DKVHRNFY.js → chunk-2MKRG7L7.js} +5 -5
- package/Build/Workers/{chunk-X23FRWHJ.js → chunk-2RZYNSMR.js} +6 -6
- package/Build/Workers/{chunk-TO2PVHKI.js → chunk-4NBRIKB3.js} +2 -2
- package/Build/Workers/{chunk-GRAT5GE7.js → chunk-4TK5YR6Q.js} +5 -5
- package/Build/Workers/{chunk-XD445VDH.js → chunk-54VC7SCM.js} +7 -7
- package/Build/Workers/{chunk-G3YR53LY.js → chunk-5IY5BXCT.js} +13 -13
- package/Build/Workers/{chunk-O3JCMSS3.js → chunk-6FFGOENI.js} +54 -7
- package/Build/Workers/{chunk-7XGC6YB2.js → chunk-6PJIHPQB.js} +13 -13
- package/Build/Workers/{chunk-GR3CDLCP.js → chunk-6ZREIBKS.js} +7 -7
- package/Build/Workers/{chunk-4MSUJ4I7.js → chunk-AI3O7UN2.js} +6 -6
- package/Build/Workers/{chunk-COYFZ5VA.js → chunk-AS7P4BHI.js} +6 -6
- package/Build/Workers/{chunk-JYAHOGGL.js → chunk-AUM45VEG.js} +16 -15
- package/Build/Workers/{chunk-BDFNKFOE.js → chunk-BBO6BGLC.js} +13 -13
- package/Build/Workers/{chunk-AVI4IUWC.js → chunk-BH5ZEN4I.js} +10 -10
- package/Build/Workers/{chunk-4BAE4PWO.js → chunk-BJ3WF5RW.js} +6 -6
- package/Build/Workers/{chunk-Q55ECN3Y.js → chunk-BUOFSNFW.js} +1 -1
- package/Build/Workers/{chunk-QX5XS4LC.js → chunk-BZXF3GNX.js} +2 -2
- package/Build/Workers/{chunk-PYHLO636.js → chunk-DJXXI7UF.js} +5 -5
- package/Build/Workers/{chunk-LCLJJ2MZ.js → chunk-DVAIU7A4.js} +17 -17
- package/Build/Workers/{chunk-SYCPRK3D.js → chunk-FJT3ERV7.js} +9 -9
- package/Build/Workers/{chunk-L6RTJ3RE.js → chunk-GOHDOWU5.js} +14 -14
- package/Build/Workers/{chunk-MSKXMXJI.js → chunk-HA6TZ3XT.js} +4 -4
- package/Build/Workers/{chunk-PCP4YQST.js → chunk-HBZSCVZC.js} +11 -11
- package/Build/Workers/{chunk-5S7OLEPK.js → chunk-HC7RYWPZ.js} +12 -12
- package/Build/Workers/{chunk-VE7BFUIX.js → chunk-HFMJM3SX.js} +1 -1
- package/Build/Workers/{chunk-OOK53QUQ.js → chunk-HFPMX5L2.js} +1 -1
- package/Build/Workers/{chunk-VFBNELXB.js → chunk-HO2NTC7I.js} +6 -6
- package/Build/Workers/{chunk-DOXCPOG4.js → chunk-HZPMWR4H.js} +7 -7
- package/Build/Workers/{chunk-I2RC4XVN.js → chunk-IBG5FVXC.js} +4 -4
- package/Build/Workers/{chunk-LEABCTLP.js → chunk-IXLNNST6.js} +4 -4
- package/Build/Workers/{chunk-4YSNMHZ4.js → chunk-JYUCC5NV.js} +6 -6
- package/Build/Workers/{chunk-BCL4PHHT.js → chunk-KFW4UNQH.js} +10 -10
- package/Build/Workers/{chunk-R6B7UCQB.js → chunk-KKAEXHDY.js} +2 -2
- package/Build/Workers/{chunk-BJF5LOWE.js → chunk-L6FARMF6.js} +7 -7
- package/Build/Workers/{chunk-C2CGMAIU.js → chunk-N3BIL6WA.js} +13 -13
- package/Build/Workers/{chunk-STBBMQGG.js → chunk-O5SSW3B3.js} +6 -6
- package/Build/Workers/{chunk-S3PI2KFM.js → chunk-OC4MYPVW.js} +2 -2
- package/Build/Workers/{chunk-MDHQR3ZS.js → chunk-OOA6GXKD.js} +7 -7
- package/Build/Workers/{chunk-AD5HBJ2F.js → chunk-OSCHEWSG.js} +7 -7
- package/Build/Workers/{chunk-NTXTUNEF.js → chunk-QGT2GMOK.js} +4 -4
- package/Build/Workers/{chunk-VO3ACQB2.js → chunk-RFQYEYAL.js} +17 -17
- package/Build/Workers/{chunk-KUN2ZA5X.js → chunk-RJF5ZP76.js} +4 -4
- package/Build/Workers/{chunk-QD4KM3GO.js → chunk-SIZXFNJY.js} +6 -5
- package/Build/Workers/{chunk-FXIHSF7O.js → chunk-SRZJCF7G.js} +9 -9
- package/Build/Workers/{chunk-T77JILCU.js → chunk-T4MB73MC.js} +2 -2
- package/Build/Workers/{chunk-3WUV74WM.js → chunk-TTI2SUWJ.js} +2 -2
- package/Build/Workers/{chunk-QMLTCCYG.js → chunk-VHJ5ESXF.js} +1 -1
- package/Build/Workers/{chunk-2J3JKXCP.js → chunk-VSFFJGTA.js} +9 -5
- package/Build/Workers/{chunk-DGS5QNIO.js → chunk-WQRXRDCZ.js} +11 -11
- package/Build/Workers/{chunk-OORVMGDU.js → chunk-WXDGOYTT.js} +12 -7
- package/Build/Workers/{chunk-RJYML24O.js → chunk-XLCZE6DD.js} +423 -448
- package/Build/Workers/combineGeometry.js +22 -22
- package/Build/Workers/createBoxGeometry.js +16 -16
- package/Build/Workers/createBoxOutlineGeometry.js +14 -14
- package/Build/Workers/createCircleGeometry.js +24 -24
- package/Build/Workers/createCircleOutlineGeometry.js +17 -17
- package/Build/Workers/createCoplanarPolygonGeometry.js +31 -31
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
- package/Build/Workers/createCorridorGeometry.js +27 -27
- package/Build/Workers/createCorridorOutlineGeometry.js +26 -26
- package/Build/Workers/createCylinderGeometry.js +18 -18
- package/Build/Workers/createCylinderOutlineGeometry.js +16 -16
- package/Build/Workers/createEllipseGeometry.js +24 -24
- package/Build/Workers/createEllipseOutlineGeometry.js +17 -17
- package/Build/Workers/createEllipsoidGeometry.js +17 -17
- package/Build/Workers/createEllipsoidOutlineGeometry.js +16 -16
- package/Build/Workers/createFrustumGeometry.js +16 -16
- package/Build/Workers/createFrustumOutlineGeometry.js +16 -16
- package/Build/Workers/createGeometry.js +22 -22
- package/Build/Workers/createGroundPolylineGeometry.js +20 -20
- package/Build/Workers/createPlaneGeometry.js +14 -14
- package/Build/Workers/createPlaneOutlineGeometry.js +13 -13
- package/Build/Workers/createPolygonGeometry.js +30 -30
- package/Build/Workers/createPolygonOutlineGeometry.js +28 -28
- package/Build/Workers/createPolylineGeometry.js +23 -23
- package/Build/Workers/createPolylineVolumeGeometry.js +29 -29
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +25 -25
- package/Build/Workers/createRectangleGeometry.js +25 -25
- package/Build/Workers/createRectangleOutlineGeometry.js +18 -18
- package/Build/Workers/createSimplePolylineGeometry.js +21 -21
- package/Build/Workers/createSphereGeometry.js +17 -17
- package/Build/Workers/createSphereOutlineGeometry.js +16 -16
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +13 -13
- package/Build/Workers/createVectorTileGeometries.js +22 -22
- package/Build/Workers/createVectorTilePoints.js +12 -12
- package/Build/Workers/createVectorTilePolygons.js +20 -20
- package/Build/Workers/createVectorTilePolylines.js +13 -13
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
- package/Build/Workers/createVerticesFromHeightmap.js +24 -20
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
- package/Build/Workers/createWallGeometry.js +22 -22
- package/Build/Workers/createWallOutlineGeometry.js +21 -21
- package/Build/Workers/decodeDraco.js +11 -11
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +28 -5
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/transcodeKTX2.js +20 -22
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -20
- package/Source/Core/CompressedTextureBuffer.js +11 -0
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/KTX2Transcoder.js +9 -16
- package/Source/Core/PixelFormat.js +1 -15
- package/Source/Core/Simon1994PlanetaryPositions.js +2 -1
- package/Source/Core/Transforms.js +137 -2
- package/Source/DataSources/BillboardGraphics.js +16 -0
- package/Source/DataSources/BillboardVisualizer.js +7 -0
- package/Source/DataSources/CallbackProperty.js +8 -2
- package/Source/DataSources/CheckerboardMaterialProperty.js +7 -1
- package/Source/DataSources/ColorMaterialProperty.js +7 -1
- package/Source/DataSources/CompositeMaterialProperty.js +5 -4
- package/Source/DataSources/CompositePositionProperty.js +7 -1
- package/Source/DataSources/CompositeProperty.js +5 -5
- package/Source/DataSources/ConstantPositionProperty.js +7 -1
- package/Source/DataSources/Entity.js +1 -1
- package/Source/DataSources/GridMaterialProperty.js +7 -1
- package/Source/DataSources/ImageMaterialProperty.js +8 -1
- package/Source/DataSources/MaterialProperty.js +7 -1
- package/Source/DataSources/NodeTransformationProperty.js +7 -1
- package/Source/DataSources/PathVisualizer.js +4 -4
- package/Source/DataSources/PointGraphics.js +17 -0
- package/Source/DataSources/PointVisualizer.js +12 -0
- package/Source/DataSources/PolylineArrowMaterialProperty.js +7 -1
- package/Source/DataSources/PolylineDashMaterialProperty.js +7 -1
- package/Source/DataSources/PolylineGlowMaterialProperty.js +7 -1
- package/Source/DataSources/PolylineOutlineMaterialProperty.js +7 -1
- package/Source/DataSources/PositionProperty.js +5 -8
- package/Source/DataSources/PositionPropertyArray.js +7 -1
- package/Source/DataSources/Property.js +1 -1
- package/Source/DataSources/PropertyArray.js +5 -5
- package/Source/DataSources/PropertyBag.js +5 -4
- package/Source/DataSources/ReferenceProperty.js +7 -1
- package/Source/DataSources/SampledPositionProperty.js +7 -1
- package/Source/DataSources/SampledProperty.js +6 -4
- package/Source/DataSources/ScaledPositionProperty.js +6 -0
- package/Source/DataSources/StripeMaterialProperty.js +7 -1
- package/Source/DataSources/TerrainOffsetProperty.js +9 -0
- package/Source/DataSources/TimeIntervalCollectionPositionProperty.js +7 -1
- package/Source/DataSources/TimeIntervalCollectionProperty.js +5 -5
- package/Source/DataSources/VelocityOrientationProperty.js +6 -1
- package/Source/DataSources/VelocityVectorProperty.js +3 -5
- package/Source/Renderer/AutomaticUniforms.js +3 -18
- package/Source/Renderer/Context.js +15 -0
- package/Source/Renderer/CubeMap.js +326 -348
- package/Source/Renderer/CubeMapFace.js +26 -48
- package/Source/Renderer/PixelDatatype.js +23 -0
- package/Source/Renderer/Sampler.js +7 -13
- package/Source/Renderer/ShaderProgram.js +7 -0
- package/Source/Renderer/Texture.js +396 -332
- package/Source/Renderer/UniformState.js +8 -33
- package/Source/Renderer/demodernizeShader.js +2 -0
- package/Source/Renderer/loadCubeMap.js +3 -8
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +29 -2
- package/Source/Scene/BillboardCollection.js +49 -0
- package/Source/Scene/BingMapsImageryProvider.js +10 -1
- package/Source/Scene/CameraEventAggregator.js +49 -5
- package/Source/Scene/Globe.js +1 -1
- package/Source/Scene/GlobeSurfaceShaderSet.js +29 -24
- package/Source/Scene/GlobeSurfaceTileProvider.js +5 -3
- package/Source/Scene/ImageBasedLighting.js +36 -36
- package/Source/Scene/Label.js +2 -2
- package/Source/Scene/Material.js +24 -2
- package/Source/Scene/Model/ImageBasedLightingPipelineStage.js +7 -15
- package/Source/Scene/Model/Model.js +1 -1
- package/Source/Scene/PointPrimitive.js +28 -2
- package/Source/Scene/PointPrimitiveCollection.js +22 -9
- package/Source/Scene/PostProcessStageCollection.js +45 -15
- package/Source/Scene/PostProcessStageLibrary.js +26 -0
- package/Source/Scene/Scene.js +20 -22
- package/Source/Scene/SceneTransforms.js +0 -62
- package/Source/Scene/ScreenSpaceCameraController.js +11 -4
- package/Source/Scene/SkyBox.js +13 -19
- package/Source/Scene/SpecularEnvironmentCubeMap.js +240 -0
- package/Source/Scene/Tonemapper.js +35 -23
- package/Source/Scene/VoxelPrimitive.js +0 -29
- package/Source/Scene/VoxelRenderResources.js +0 -3
- package/Source/Shaders/BillboardCollectionFS.glsl +4 -0
- package/Source/Shaders/BillboardCollectionFS.js +4 -0
- package/Source/Shaders/BillboardCollectionVS.glsl +3 -1
- package/Source/Shaders/BillboardCollectionVS.js +3 -1
- package/Source/Shaders/BrdfLutGeneratorFS.glsl +30 -13
- package/Source/Shaders/BrdfLutGeneratorFS.js +30 -13
- package/Source/Shaders/Builtin/CzmBuiltins.js +2 -2
- package/Source/Shaders/Builtin/Functions/pbrLighting.glsl +42 -41
- package/Source/Shaders/Builtin/Functions/pbrLighting.js +42 -41
- package/Source/Shaders/Builtin/Functions/pbrNeutralTonemapping.glsl +23 -0
- package/Source/Shaders/Builtin/Functions/pbrNeutralTonemapping.js +25 -0
- package/Source/Shaders/Builtin/Functions/textureCube.glsl +21 -2
- package/Source/Shaders/Builtin/Functions/textureCube.js +21 -2
- package/Source/Shaders/Builtin/Structs/materialInput.glsl +2 -0
- package/Source/Shaders/Builtin/Structs/materialInput.js +2 -0
- package/Source/Shaders/GlobeFS.glsl +10 -4
- package/Source/Shaders/GlobeFS.js +10 -4
- package/Source/Shaders/Materials/WaterMaskMaterial.glsl +15 -0
- package/Source/Shaders/Materials/WaterMaskMaterial.js +17 -0
- package/Source/Shaders/Model/AtmosphereStageFS.glsl +1 -1
- package/Source/Shaders/Model/AtmosphereStageFS.js +1 -1
- package/Source/Shaders/Model/ImageBasedLightingStageFS.glsl +57 -46
- package/Source/Shaders/Model/ImageBasedLightingStageFS.js +57 -46
- package/Source/Shaders/Model/LightingStageFS.glsl +8 -7
- package/Source/Shaders/Model/LightingStageFS.js +8 -7
- package/Source/Shaders/Model/MaterialStageFS.glsl +10 -14
- package/Source/Shaders/Model/MaterialStageFS.js +10 -14
- package/Source/Shaders/PointPrimitiveCollectionFS.glsl +4 -0
- package/Source/Shaders/PointPrimitiveCollectionFS.js +4 -0
- package/Source/Shaders/PointPrimitiveCollectionVS.glsl +9 -7
- package/Source/Shaders/PointPrimitiveCollectionVS.js +9 -7
- package/Source/Shaders/PostProcessStages/AcesTonemappingStage.glsl +4 -0
- package/Source/Shaders/PostProcessStages/AcesTonemappingStage.js +4 -0
- package/Source/Shaders/PostProcessStages/FilmicTonemapping.glsl +4 -0
- package/Source/Shaders/PostProcessStages/FilmicTonemapping.js +4 -0
- package/Source/Shaders/PostProcessStages/ModifiedReinhardTonemapping.glsl +4 -0
- package/Source/Shaders/PostProcessStages/ModifiedReinhardTonemapping.js +4 -0
- package/Source/Shaders/PostProcessStages/PbrNeutralTonemapping.glsl +25 -0
- package/Source/Shaders/PostProcessStages/PbrNeutralTonemapping.js +27 -0
- package/Source/Shaders/PostProcessStages/ReinhardTonemapping.glsl +4 -0
- package/Source/Shaders/PostProcessStages/ReinhardTonemapping.js +4 -0
- package/Source/Shaders/SkyAtmosphereFS.glsl +1 -1
- package/Source/Shaders/SkyAtmosphereFS.js +1 -1
- package/Source/Widget/CesiumWidget.js +1 -1
- package/index.d.ts +191 -106
- package/index.js +133 -134
- package/package.json +4 -4
- package/Source/Scene/OctahedralProjectedCubeMap.js +0 -445
- package/Source/Shaders/Builtin/Functions/sampleOctahedralProjection.glsl +0 -78
- package/Source/Shaders/Builtin/Functions/sampleOctahedralProjection.js +0 -80
- package/Source/Shaders/OctahedralProjectionAtlasFS.glsl +0 -89
- package/Source/Shaders/OctahedralProjectionAtlasFS.js +0 -91
- package/Source/Shaders/OctahedralProjectionFS.glsl +0 -14
- package/Source/Shaders/OctahedralProjectionFS.js +0 -16
- package/Source/Shaders/OctahedralProjectionVS.glsl +0 -10
- package/Source/Shaders/OctahedralProjectionVS.js +0 -12
package/index.d.ts
CHANGED
|
@@ -4588,6 +4588,10 @@ export class CompressedTextureBuffer {
|
|
|
4588
4588
|
* The compressed texture buffer.
|
|
4589
4589
|
*/
|
|
4590
4590
|
readonly bufferView: Uint8Array;
|
|
4591
|
+
/**
|
|
4592
|
+
* The compressed texture buffer. Alias for bufferView.
|
|
4593
|
+
*/
|
|
4594
|
+
readonly arrayBufferView: Uint8Array;
|
|
4591
4595
|
/**
|
|
4592
4596
|
* Creates a shallow clone of a compressed texture buffer.
|
|
4593
4597
|
* @param object - The compressed texture buffer to be cloned.
|
|
@@ -15890,7 +15894,7 @@ export namespace Simon1994PlanetaryPositions {
|
|
|
15890
15894
|
function computeSunPositionInEarthInertialFrame(julianDate?: JulianDate, result?: Cartesian3): Cartesian3;
|
|
15891
15895
|
/**
|
|
15892
15896
|
* Computes the position of the Moon in the Earth-centered inertial frame
|
|
15893
|
-
* @param [julianDate] - The time at which to compute the
|
|
15897
|
+
* @param [julianDate] - The time at which to compute the Moon's position, if not provided the current system time is used.
|
|
15894
15898
|
* @param [result] - The object onto which to store the result.
|
|
15895
15899
|
* @returns Calculated moon position
|
|
15896
15900
|
*/
|
|
@@ -17292,6 +17296,21 @@ export namespace Transforms {
|
|
|
17292
17296
|
* @returns The modified result parameter or a new HeadingPitchRoll instance if none was provided.
|
|
17293
17297
|
*/
|
|
17294
17298
|
function fixedFrameToHeadingPitchRoll(transform: Matrix4, ellipsoid?: Ellipsoid, fixedFrameTransform?: Transforms.LocalFrameToFixedFrame, result?: HeadingPitchRoll): HeadingPitchRoll;
|
|
17299
|
+
/**
|
|
17300
|
+
* The default function to compute a rotation matrix to transform a point or vector from the International Celestial
|
|
17301
|
+
* Reference Frame (GCRF/ICRF) inertial frame axes to the central body, typically Earth, fixed frame axis at a given
|
|
17302
|
+
* time for use in lighting and transformation from inertial reference frames. This function may return undefined if
|
|
17303
|
+
* the data necessary to do the transformation is not yet loaded.
|
|
17304
|
+
* @example
|
|
17305
|
+
* // Set the default ICRF to fixed transformation to that of the Moon.
|
|
17306
|
+
* Cesium.Transforms.computeIcrfToCentralBodyFixedMatrix = Cesium.Transforms.computeIcrfToMoonFixedMatrix;
|
|
17307
|
+
* @param date - The time at which to compute the rotation matrix.
|
|
17308
|
+
* @param [result] - The object onto which to store the result. If this parameter is
|
|
17309
|
+
* not specified, a new instance is created and returned.
|
|
17310
|
+
* @returns The rotation matrix, or undefined if the data necessary to do the
|
|
17311
|
+
* transformation is not yet loaded.
|
|
17312
|
+
*/
|
|
17313
|
+
function computeIcrfToCentralBodyFixedMatrix(date: JulianDate, result?: Matrix3): Matrix3 | undefined;
|
|
17295
17314
|
/**
|
|
17296
17315
|
* Computes a rotation matrix to transform a point or vector from True Equator Mean Equinox (TEME) axes to the
|
|
17297
17316
|
* pseudo-fixed axes at a given time. This method treats the UT1 time standard as equivalent to UTC.
|
|
@@ -17345,7 +17364,39 @@ export namespace Transforms {
|
|
|
17345
17364
|
* @returns The rotation matrix, or undefined if the data necessary to do the
|
|
17346
17365
|
* transformation is not yet loaded.
|
|
17347
17366
|
*/
|
|
17348
|
-
function computeIcrfToFixedMatrix(date: JulianDate, result?: Matrix3): Matrix3;
|
|
17367
|
+
function computeIcrfToFixedMatrix(date: JulianDate, result?: Matrix3): Matrix3 | undefined;
|
|
17368
|
+
/**
|
|
17369
|
+
* Computes a rotation matrix to transform a point or vector from the Moon-Fixed frame axes
|
|
17370
|
+
* to the International Celestial Reference Frame (GCRF/ICRF) inertial frame axes
|
|
17371
|
+
* at a given time.
|
|
17372
|
+
* @example
|
|
17373
|
+
* // Transform a point from the Fixed axes to the ICRF axes.
|
|
17374
|
+
* const now = Cesium.JulianDate.now();
|
|
17375
|
+
* const pointInFixed = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
17376
|
+
* const fixedToIcrf = Cesium.Transforms.computeMoonFixedToIcrfMatrix(now);
|
|
17377
|
+
* let pointInInertial = new Cesium.Cartesian3();
|
|
17378
|
+
* if (Cesium.defined(fixedToIcrf)) {
|
|
17379
|
+
* pointInInertial = Cesium.Matrix3.multiplyByVector(fixedToIcrf, pointInFixed, pointInInertial);
|
|
17380
|
+
* }
|
|
17381
|
+
* @param date - The time at which to compute the rotation matrix.
|
|
17382
|
+
* @param [result] - The object onto which to store the result. If this parameter is
|
|
17383
|
+
* not specified, a new instance is created and returned.
|
|
17384
|
+
* @returns The rotation matrix.
|
|
17385
|
+
*/
|
|
17386
|
+
function computeMoonFixedToIcrfMatrix(date: JulianDate, result?: Matrix3): Matrix3;
|
|
17387
|
+
/**
|
|
17388
|
+
* Computes a rotation matrix to transform a point or vector from the International Celestial
|
|
17389
|
+
* Reference Frame (GCRF/ICRF) inertial frame axes to the Moon-Fixed frame axes
|
|
17390
|
+
* at a given time.
|
|
17391
|
+
* @example
|
|
17392
|
+
* // Set the default ICRF to fixed transformation to that of the Moon.
|
|
17393
|
+
* Cesium.Transforms.computeIcrfToCentralBodyFixedMatrix = Cesium.Transforms.computeIcrfToMoonFixedMatrix;
|
|
17394
|
+
* @param date - The time at which to compute the rotation matrix.
|
|
17395
|
+
* @param [result] - The object onto which to store the result. If this parameter is
|
|
17396
|
+
* not specified, a new instance is created and returned.
|
|
17397
|
+
* @returns The rotation matrix.
|
|
17398
|
+
*/
|
|
17399
|
+
function computeIcrfToMoonFixedMatrix(date: JulianDate, result?: Matrix3): Matrix3;
|
|
17349
17400
|
/**
|
|
17350
17401
|
* Computes a rotation matrix to transform a point or vector from the Earth-Fixed frame axes (ITRF)
|
|
17351
17402
|
* to the International Celestial Reference Frame (GCRF/ICRF) inertial frame axes
|
|
@@ -17366,7 +17417,7 @@ export namespace Transforms {
|
|
|
17366
17417
|
* @returns The rotation matrix, or undefined if the data necessary to do the
|
|
17367
17418
|
* transformation is not yet loaded.
|
|
17368
17419
|
*/
|
|
17369
|
-
function computeFixedToIcrfMatrix(date: JulianDate, result?: Matrix3): Matrix3;
|
|
17420
|
+
function computeFixedToIcrfMatrix(date: JulianDate, result?: Matrix3): Matrix3 | undefined;
|
|
17370
17421
|
/**
|
|
17371
17422
|
* Transform a point from model coordinates to window coordinates.
|
|
17372
17423
|
* @param modelViewProjectionMatrix - The 4x4 model-view-projection matrix.
|
|
@@ -18654,6 +18705,7 @@ export namespace BillboardGraphics {
|
|
|
18654
18705
|
* @property [imageSubRegion] - A Property specifying a {@link BoundingRectangle} that defines a sub-region of the image to use for the billboard, rather than the entire image, measured in pixels from the bottom-left.
|
|
18655
18706
|
* @property [distanceDisplayCondition] - A Property specifying at what distance from the camera that this billboard will be displayed.
|
|
18656
18707
|
* @property [disableDepthTestDistance] - A Property specifying the distance from the camera at which to disable the depth test to.
|
|
18708
|
+
* @property [splitDirection] - A Property specifying the {@link SplitDirection} of the billboard.
|
|
18657
18709
|
*/
|
|
18658
18710
|
type ConstructorOptions = {
|
|
18659
18711
|
show?: Property | boolean;
|
|
@@ -18676,6 +18728,7 @@ export namespace BillboardGraphics {
|
|
|
18676
18728
|
imageSubRegion?: Property | BoundingRectangle;
|
|
18677
18729
|
distanceDisplayCondition?: Property | DistanceDisplayCondition;
|
|
18678
18730
|
disableDepthTestDistance?: Property | number;
|
|
18731
|
+
splitDirection?: Property | SplitDirection;
|
|
18679
18732
|
};
|
|
18680
18733
|
}
|
|
18681
18734
|
|
|
@@ -18842,6 +18895,10 @@ export class BillboardGraphics {
|
|
|
18842
18895
|
* When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied.
|
|
18843
18896
|
*/
|
|
18844
18897
|
disableDepthTestDistance: Property | undefined;
|
|
18898
|
+
/**
|
|
18899
|
+
* Gets or sets the Property specifying the {@link SplitDirection} of this billboard.
|
|
18900
|
+
*/
|
|
18901
|
+
splitDirection: Property | undefined;
|
|
18845
18902
|
/**
|
|
18846
18903
|
* Duplicates this instance.
|
|
18847
18904
|
* @param [result] - The object onto which to store the result.
|
|
@@ -19017,11 +19074,11 @@ export class CallbackProperty {
|
|
|
19017
19074
|
readonly definitionChanged: Event;
|
|
19018
19075
|
/**
|
|
19019
19076
|
* Gets the value of the property.
|
|
19020
|
-
* @param time - The time for which to retrieve the value.
|
|
19077
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
19021
19078
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
19022
19079
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied or is unsupported.
|
|
19023
19080
|
*/
|
|
19024
|
-
getValue(time
|
|
19081
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
19025
19082
|
/**
|
|
19026
19083
|
* Sets the callback to be used.
|
|
19027
19084
|
* @param callback - The function to be called when the property is evaluated.
|
|
@@ -19040,10 +19097,10 @@ export class CallbackProperty {
|
|
|
19040
19097
|
export namespace CallbackProperty {
|
|
19041
19098
|
/**
|
|
19042
19099
|
* A function that returns the value of the property.
|
|
19043
|
-
* @param time - The time for which to retrieve the value.
|
|
19100
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
19044
19101
|
* @param [result] - The object to store the value into. If omitted, the function must create and return a new instance.
|
|
19045
19102
|
*/
|
|
19046
|
-
type Callback = (time
|
|
19103
|
+
type Callback = (time?: JulianDate, result?: any) => any;
|
|
19047
19104
|
}
|
|
19048
19105
|
|
|
19049
19106
|
export namespace Cesium3DTilesetGraphics {
|
|
@@ -19167,11 +19224,11 @@ export class CheckerboardMaterialProperty {
|
|
|
19167
19224
|
getType(time: JulianDate): string;
|
|
19168
19225
|
/**
|
|
19169
19226
|
* Gets the value of the property at the provided time.
|
|
19170
|
-
* @param time - The time for which to retrieve the value.
|
|
19227
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
19171
19228
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
19172
19229
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
19173
19230
|
*/
|
|
19174
|
-
getValue(time
|
|
19231
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
19175
19232
|
/**
|
|
19176
19233
|
* Compares this property to the provided property and returns
|
|
19177
19234
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -19210,11 +19267,11 @@ export class ColorMaterialProperty {
|
|
|
19210
19267
|
getType(time: JulianDate): string;
|
|
19211
19268
|
/**
|
|
19212
19269
|
* Gets the value of the property at the provided time.
|
|
19213
|
-
* @param time - The time for which to retrieve the value.
|
|
19270
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
19214
19271
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
19215
19272
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
19216
19273
|
*/
|
|
19217
|
-
getValue(time
|
|
19274
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
19218
19275
|
/**
|
|
19219
19276
|
* Compares this property to the provided property and returns
|
|
19220
19277
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -19383,11 +19440,11 @@ export class CompositeMaterialProperty {
|
|
|
19383
19440
|
getType(time: JulianDate): string;
|
|
19384
19441
|
/**
|
|
19385
19442
|
* Gets the value of the property at the provided time.
|
|
19386
|
-
* @param time - The time for which to retrieve the value.
|
|
19443
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
19387
19444
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
19388
19445
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
19389
19446
|
*/
|
|
19390
|
-
getValue(time
|
|
19447
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
19391
19448
|
/**
|
|
19392
19449
|
* Compares this property to the provided property and returns
|
|
19393
19450
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -19427,11 +19484,11 @@ export class CompositePositionProperty {
|
|
|
19427
19484
|
referenceFrame: ReferenceFrame;
|
|
19428
19485
|
/**
|
|
19429
19486
|
* Gets the value of the property at the provided time in the fixed frame.
|
|
19430
|
-
* @param time - The time for which to retrieve the value.
|
|
19487
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
19431
19488
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
19432
19489
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
19433
19490
|
*/
|
|
19434
|
-
getValue(time
|
|
19491
|
+
getValue(time?: JulianDate, result?: Cartesian3): Cartesian3 | undefined;
|
|
19435
19492
|
/**
|
|
19436
19493
|
* Gets the value of the property at the provided time and in the provided reference frame.
|
|
19437
19494
|
* @param time - The time for which to retrieve the value.
|
|
@@ -19492,11 +19549,11 @@ export class CompositeProperty {
|
|
|
19492
19549
|
intervals: TimeIntervalCollection;
|
|
19493
19550
|
/**
|
|
19494
19551
|
* Gets the value of the property at the provided time.
|
|
19495
|
-
* @param time - The time for which to retrieve the value.
|
|
19552
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
19496
19553
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
19497
19554
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
19498
19555
|
*/
|
|
19499
|
-
getValue(time
|
|
19556
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
19500
19557
|
/**
|
|
19501
19558
|
* Compares this property to the provided property and returns
|
|
19502
19559
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -19531,11 +19588,11 @@ export class ConstantPositionProperty {
|
|
|
19531
19588
|
referenceFrame: ReferenceFrame;
|
|
19532
19589
|
/**
|
|
19533
19590
|
* Gets the value of the property at the provided time in the fixed frame.
|
|
19534
|
-
* @param time - The time for which to retrieve the value.
|
|
19591
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
19535
19592
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
19536
19593
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
19537
19594
|
*/
|
|
19538
|
-
getValue(time
|
|
19595
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
19539
19596
|
/**
|
|
19540
19597
|
* Sets the value of the property.
|
|
19541
19598
|
* @param value - The property value.
|
|
@@ -20814,7 +20871,7 @@ export namespace Entity {
|
|
|
20814
20871
|
availability?: TimeIntervalCollection;
|
|
20815
20872
|
show?: boolean;
|
|
20816
20873
|
description?: Property | string;
|
|
20817
|
-
position?: PositionProperty | Cartesian3;
|
|
20874
|
+
position?: PositionProperty | Cartesian3 | CallbackProperty;
|
|
20818
20875
|
orientation?: Property | Quaternion;
|
|
20819
20876
|
viewFrom?: Property | Cartesian3;
|
|
20820
20877
|
parent?: Entity;
|
|
@@ -21746,11 +21803,11 @@ export class GridMaterialProperty {
|
|
|
21746
21803
|
getType(time: JulianDate): string;
|
|
21747
21804
|
/**
|
|
21748
21805
|
* Gets the value of the property at the provided time.
|
|
21749
|
-
* @param time - The time for which to retrieve the value.
|
|
21806
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
21750
21807
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
21751
21808
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
21752
21809
|
*/
|
|
21753
|
-
getValue(time
|
|
21810
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
21754
21811
|
/**
|
|
21755
21812
|
* Compares this property to the provided property and returns
|
|
21756
21813
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -21837,11 +21894,11 @@ export class ImageMaterialProperty {
|
|
|
21837
21894
|
getType(time: JulianDate): string;
|
|
21838
21895
|
/**
|
|
21839
21896
|
* Gets the value of the property at the provided time.
|
|
21840
|
-
* @param time - The time for which to retrieve the value.
|
|
21897
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
21841
21898
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
21842
21899
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
21843
21900
|
*/
|
|
21844
|
-
getValue(time
|
|
21901
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
21845
21902
|
/**
|
|
21846
21903
|
* Compares this property to the provided property and returns
|
|
21847
21904
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -22486,11 +22543,11 @@ export class MaterialProperty {
|
|
|
22486
22543
|
getType(time: JulianDate): string;
|
|
22487
22544
|
/**
|
|
22488
22545
|
* Gets the value of the property at the provided time.
|
|
22489
|
-
* @param time - The time for which to retrieve the value.
|
|
22546
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
22490
22547
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
22491
22548
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
22492
22549
|
*/
|
|
22493
|
-
getValue(time
|
|
22550
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
22494
22551
|
/**
|
|
22495
22552
|
* Compares this property to the provided property and returns
|
|
22496
22553
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -22750,11 +22807,11 @@ export class NodeTransformationProperty {
|
|
|
22750
22807
|
scale: Property | undefined;
|
|
22751
22808
|
/**
|
|
22752
22809
|
* Gets the value of the property at the provided time.
|
|
22753
|
-
* @param time - The time for which to retrieve the value.
|
|
22810
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
22754
22811
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
22755
22812
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
22756
22813
|
*/
|
|
22757
|
-
getValue(time
|
|
22814
|
+
getValue(time?: JulianDate, result?: TranslationRotationScale): TranslationRotationScale;
|
|
22758
22815
|
/**
|
|
22759
22816
|
* Compares this property to the provided property and returns
|
|
22760
22817
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -22994,6 +23051,7 @@ export namespace PointGraphics {
|
|
|
22994
23051
|
* @property [translucencyByDistance] - A {@link NearFarScalar} Property used to set translucency based on distance from the camera.
|
|
22995
23052
|
* @property [distanceDisplayCondition] - A Property specifying at what distance from the camera that this point will be displayed.
|
|
22996
23053
|
* @property [disableDepthTestDistance] - A Property specifying the distance from the camera at which to disable the depth test to.
|
|
23054
|
+
* @property [splitDirection] - A Property specifying the {@link SplitDirection} split to apply to this point.
|
|
22997
23055
|
*/
|
|
22998
23056
|
type ConstructorOptions = {
|
|
22999
23057
|
show?: Property | boolean;
|
|
@@ -23006,6 +23064,7 @@ export namespace PointGraphics {
|
|
|
23006
23064
|
translucencyByDistance?: Property | NearFarScalar;
|
|
23007
23065
|
distanceDisplayCondition?: Property | DistanceDisplayCondition;
|
|
23008
23066
|
disableDepthTestDistance?: Property | number;
|
|
23067
|
+
splitDirection?: Property | SplitDirection;
|
|
23009
23068
|
};
|
|
23010
23069
|
}
|
|
23011
23070
|
|
|
@@ -23065,6 +23124,10 @@ export class PointGraphics {
|
|
|
23065
23124
|
* When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied.
|
|
23066
23125
|
*/
|
|
23067
23126
|
disableDepthTestDistance: Property | undefined;
|
|
23127
|
+
/**
|
|
23128
|
+
* Gets or sets the Property specifying the {@link SplitDirection} of this point.
|
|
23129
|
+
*/
|
|
23130
|
+
splitDirection: Property | undefined;
|
|
23068
23131
|
/**
|
|
23069
23132
|
* Duplicates this instance.
|
|
23070
23133
|
* @param [result] - The object onto which to store the result.
|
|
@@ -23329,11 +23392,11 @@ export class PolylineArrowMaterialProperty {
|
|
|
23329
23392
|
getType(time: JulianDate): string;
|
|
23330
23393
|
/**
|
|
23331
23394
|
* Gets the value of the property at the provided time.
|
|
23332
|
-
* @param time - The time for which to retrieve the value.
|
|
23395
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
23333
23396
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
23334
23397
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
23335
23398
|
*/
|
|
23336
|
-
getValue(time
|
|
23399
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
23337
23400
|
/**
|
|
23338
23401
|
* Compares this property to the provided property and returns
|
|
23339
23402
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -23393,11 +23456,11 @@ export class PolylineDashMaterialProperty {
|
|
|
23393
23456
|
getType(time: JulianDate): string;
|
|
23394
23457
|
/**
|
|
23395
23458
|
* Gets the value of the property at the provided time.
|
|
23396
|
-
* @param time - The time for which to retrieve the value.
|
|
23459
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
23397
23460
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
23398
23461
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
23399
23462
|
*/
|
|
23400
|
-
getValue(time
|
|
23463
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
23401
23464
|
/**
|
|
23402
23465
|
* Compares this property to the provided property and returns
|
|
23403
23466
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -23570,11 +23633,11 @@ export class PolylineGlowMaterialProperty {
|
|
|
23570
23633
|
getType(time: JulianDate): string;
|
|
23571
23634
|
/**
|
|
23572
23635
|
* Gets the value of the property at the provided time.
|
|
23573
|
-
* @param time - The time for which to retrieve the value.
|
|
23636
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
23574
23637
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
23575
23638
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
23576
23639
|
*/
|
|
23577
|
-
getValue(time
|
|
23640
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
23578
23641
|
/**
|
|
23579
23642
|
* Compares this property to the provided property and returns
|
|
23580
23643
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -23741,11 +23804,11 @@ export class PolylineOutlineMaterialProperty {
|
|
|
23741
23804
|
getType(time: JulianDate): string;
|
|
23742
23805
|
/**
|
|
23743
23806
|
* Gets the value of the property at the provided time.
|
|
23744
|
-
* @param time - The time for which to retrieve the value.
|
|
23807
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
23745
23808
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
23746
23809
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
23747
23810
|
*/
|
|
23748
|
-
getValue(time
|
|
23811
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
23749
23812
|
/**
|
|
23750
23813
|
* Compares this property to the provided property and returns
|
|
23751
23814
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -23938,11 +24001,11 @@ export class PositionProperty {
|
|
|
23938
24001
|
referenceFrame: ReferenceFrame;
|
|
23939
24002
|
/**
|
|
23940
24003
|
* Gets the value of the property at the provided time in the fixed frame.
|
|
23941
|
-
* @param time - The time for which to retrieve the value.
|
|
24004
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
23942
24005
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
23943
24006
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
23944
24007
|
*/
|
|
23945
|
-
getValue(time
|
|
24008
|
+
getValue(time?: JulianDate, result?: Cartesian3): Cartesian3 | undefined;
|
|
23946
24009
|
/**
|
|
23947
24010
|
* Gets the value of the property at the provided time and in the provided reference frame.
|
|
23948
24011
|
* @param time - The time for which to retrieve the value.
|
|
@@ -23985,11 +24048,11 @@ export class PositionPropertyArray {
|
|
|
23985
24048
|
referenceFrame: ReferenceFrame;
|
|
23986
24049
|
/**
|
|
23987
24050
|
* Gets the value of the property.
|
|
23988
|
-
* @param time - The time for which to retrieve the value.
|
|
24051
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
23989
24052
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
23990
24053
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
23991
24054
|
*/
|
|
23992
|
-
getValue(time
|
|
24055
|
+
getValue(time?: JulianDate, result?: Cartesian3[]): Cartesian3[];
|
|
23993
24056
|
/**
|
|
23994
24057
|
* Gets the value of the property at the provided time and in the provided reference frame.
|
|
23995
24058
|
* @param time - The time for which to retrieve the value.
|
|
@@ -24031,11 +24094,11 @@ export class Property {
|
|
|
24031
24094
|
readonly definitionChanged: Event;
|
|
24032
24095
|
/**
|
|
24033
24096
|
* Gets the value of the property at the provided time.
|
|
24034
|
-
* @param time - The time for which to retrieve the value.
|
|
24097
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
24035
24098
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
24036
24099
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
24037
24100
|
*/
|
|
24038
|
-
getValue(time
|
|
24101
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
24039
24102
|
/**
|
|
24040
24103
|
* Compares this property to the provided property and returns
|
|
24041
24104
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -24065,11 +24128,11 @@ export class PropertyArray {
|
|
|
24065
24128
|
readonly definitionChanged: Event;
|
|
24066
24129
|
/**
|
|
24067
24130
|
* Gets the value of the property.
|
|
24068
|
-
* @param time - The time for which to retrieve the value.
|
|
24131
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
24069
24132
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
24070
24133
|
* @returns The modified result parameter, which is an array of values produced by evaluating each of the contained properties at the given time or a new instance if the result parameter was not supplied.
|
|
24071
24134
|
*/
|
|
24072
|
-
getValue(time
|
|
24135
|
+
getValue(time?: JulianDate, result?: object[]): object[];
|
|
24073
24136
|
/**
|
|
24074
24137
|
* Sets the value of the property.
|
|
24075
24138
|
* @param value - An array of Property instances.
|
|
@@ -24129,12 +24192,12 @@ export class PropertyBag implements Record<string, any> {
|
|
|
24129
24192
|
/**
|
|
24130
24193
|
* Gets the value of this property. Each contained property will be evaluated at the given time, and the overall
|
|
24131
24194
|
* result will be an object, mapping property names to those values.
|
|
24132
|
-
* @param time - The time for which to retrieve the value.
|
|
24195
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
24133
24196
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
24134
24197
|
* Note that any properties in result which are not part of this PropertyBag will be left as-is.
|
|
24135
24198
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
24136
24199
|
*/
|
|
24137
|
-
getValue(time
|
|
24200
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
24138
24201
|
/**
|
|
24139
24202
|
* Assigns each unassigned property on this object to the value
|
|
24140
24203
|
* of the same property on the provided source object.
|
|
@@ -24400,11 +24463,11 @@ export class ReferenceProperty {
|
|
|
24400
24463
|
static fromString(targetCollection: EntityCollection, referenceString: string): ReferenceProperty;
|
|
24401
24464
|
/**
|
|
24402
24465
|
* Gets the value of the property at the provided time.
|
|
24403
|
-
* @param time - The time for which to retrieve the value.
|
|
24466
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
24404
24467
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
24405
24468
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
24406
24469
|
*/
|
|
24407
|
-
getValue(time
|
|
24470
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
24408
24471
|
/**
|
|
24409
24472
|
* Gets the value of the property at the provided time and in the provided reference frame.
|
|
24410
24473
|
* This method is only valid if the property being referenced is a {@link PositionProperty}.
|
|
@@ -24550,11 +24613,11 @@ export class SampledPositionProperty {
|
|
|
24550
24613
|
backwardExtrapolationDuration: number;
|
|
24551
24614
|
/**
|
|
24552
24615
|
* Gets the position at the provided time.
|
|
24553
|
-
* @param time - The time for which to retrieve the value.
|
|
24616
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
24554
24617
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
24555
24618
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
24556
24619
|
*/
|
|
24557
|
-
getValue(time
|
|
24620
|
+
getValue(time?: JulianDate, result?: Cartesian3): Cartesian3 | undefined;
|
|
24558
24621
|
/**
|
|
24559
24622
|
* Gets the position at the provided time and in the provided reference frame.
|
|
24560
24623
|
* @param time - The time for which to retrieve the value.
|
|
@@ -24701,11 +24764,11 @@ export class SampledProperty {
|
|
|
24701
24764
|
backwardExtrapolationDuration: number;
|
|
24702
24765
|
/**
|
|
24703
24766
|
* Gets the value of the property at the provided time.
|
|
24704
|
-
* @param time - The time for which to retrieve the value.
|
|
24767
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
24705
24768
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
24706
24769
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
24707
24770
|
*/
|
|
24708
|
-
getValue(time
|
|
24771
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
24709
24772
|
/**
|
|
24710
24773
|
* Sets the algorithm and degree to use when interpolating a value.
|
|
24711
24774
|
* @param [options] - Object with the following properties:
|
|
@@ -24816,11 +24879,11 @@ export class StripeMaterialProperty {
|
|
|
24816
24879
|
getType(time: JulianDate): string;
|
|
24817
24880
|
/**
|
|
24818
24881
|
* Gets the value of the property at the provided time.
|
|
24819
|
-
* @param time - The time for which to retrieve the value.
|
|
24882
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
24820
24883
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
24821
24884
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
24822
24885
|
*/
|
|
24823
|
-
getValue(time
|
|
24886
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
24824
24887
|
/**
|
|
24825
24888
|
* Compares this property to the provided property and returns
|
|
24826
24889
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -24871,11 +24934,11 @@ export class TimeIntervalCollectionPositionProperty {
|
|
|
24871
24934
|
readonly referenceFrame: ReferenceFrame;
|
|
24872
24935
|
/**
|
|
24873
24936
|
* Gets the value of the property at the provided time in the fixed frame.
|
|
24874
|
-
* @param time - The time for which to retrieve the value.
|
|
24937
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
24875
24938
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
24876
24939
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
24877
24940
|
*/
|
|
24878
|
-
getValue(time
|
|
24941
|
+
getValue(time?: JulianDate, result?: any): Cartesian3 | undefined;
|
|
24879
24942
|
/**
|
|
24880
24943
|
* Gets the value of the property at the provided time and in the provided reference frame.
|
|
24881
24944
|
* @param time - The time for which to retrieve the value.
|
|
@@ -24944,11 +25007,11 @@ export class TimeIntervalCollectionProperty {
|
|
|
24944
25007
|
readonly intervals: TimeIntervalCollection;
|
|
24945
25008
|
/**
|
|
24946
25009
|
* Gets the value of the property at the provided time.
|
|
24947
|
-
* @param time - The time for which to retrieve the value.
|
|
25010
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
24948
25011
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
24949
25012
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
24950
25013
|
*/
|
|
24951
|
-
getValue(time
|
|
25014
|
+
getValue(time?: JulianDate, result?: any): any;
|
|
24952
25015
|
/**
|
|
24953
25016
|
* Compares this property to the provided property and returns
|
|
24954
25017
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
@@ -24992,7 +25055,7 @@ export class VelocityOrientationProperty {
|
|
|
24992
25055
|
ellipsoid: Property | undefined;
|
|
24993
25056
|
/**
|
|
24994
25057
|
* Gets the value of the property at the provided time.
|
|
24995
|
-
* @param [time] - The time for which to retrieve the value.
|
|
25058
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
24996
25059
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
24997
25060
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
24998
25061
|
*/
|
|
@@ -25044,7 +25107,7 @@ export class VelocityVectorProperty {
|
|
|
25044
25107
|
normalize: boolean;
|
|
25045
25108
|
/**
|
|
25046
25109
|
* Gets the value of the property at the provided time.
|
|
25047
|
-
* @param [time] - The time for which to retrieve the value.
|
|
25110
|
+
* @param [time = JulianDate.now()] - The time for which to retrieve the value. If omitted, the current system time is used.
|
|
25048
25111
|
* @param [result] - The object to store the value into, if omitted, a new instance is created and returned.
|
|
25049
25112
|
* @returns The modified result parameter or a new instance if the result parameter was not supplied.
|
|
25050
25113
|
*/
|
|
@@ -25865,6 +25928,7 @@ export namespace Billboard {
|
|
|
25865
25928
|
* @property [imageSubRegion] - A {@link BoundingRectangle} Specifying the sub-region of the image to use for the billboard, rather than the entire image.
|
|
25866
25929
|
* @property [distanceDisplayCondition] - A {@link DistanceDisplayCondition} Specifying the distance from the camera at which this billboard will be displayed.
|
|
25867
25930
|
* @property [disableDepthTestDistance] - A number specifying the distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain.
|
|
25931
|
+
* @property [splitDirection] - A {@link SplitDirection} Specifying the split property of the billboard.
|
|
25868
25932
|
*/
|
|
25869
25933
|
type ConstructorOptions = {
|
|
25870
25934
|
position: Cartesian3;
|
|
@@ -25889,6 +25953,7 @@ export namespace Billboard {
|
|
|
25889
25953
|
imageSubRegion?: BoundingRectangle;
|
|
25890
25954
|
distanceDisplayCondition?: DistanceDisplayCondition;
|
|
25891
25955
|
disableDepthTestDistance?: number;
|
|
25956
|
+
splitDirection?: SplitDirection;
|
|
25892
25957
|
};
|
|
25893
25958
|
/**
|
|
25894
25959
|
* A function that creates an image.
|
|
@@ -26155,6 +26220,10 @@ export class Billboard {
|
|
|
26155
26220
|
* has been downloaded and the WebGL resources are created.
|
|
26156
26221
|
*/
|
|
26157
26222
|
readonly ready: boolean;
|
|
26223
|
+
/**
|
|
26224
|
+
* Gets or sets the {@link SplitDirection} of this billboard.
|
|
26225
|
+
*/
|
|
26226
|
+
splitDirection: SplitDirection;
|
|
26158
26227
|
/**
|
|
26159
26228
|
* <p>
|
|
26160
26229
|
* Sets the image to be used for this billboard. If a texture has already been created for the
|
|
@@ -33541,8 +33610,8 @@ export class ImageBasedLighting {
|
|
|
33541
33610
|
* </p>
|
|
33542
33611
|
*
|
|
33543
33612
|
* These values can be obtained by preprocessing the environment map using the <code>cmgen</code> tool of
|
|
33544
|
-
* {@link https://github.com/google/filament/releases|Google's Filament project}.
|
|
33545
|
-
*
|
|
33613
|
+
* {@link https://github.com/google/filament/releases|Google's Filament project}.
|
|
33614
|
+
* Be sure to use the <code>--no-mirror</code> option in <code>cmgen</code>.
|
|
33546
33615
|
*/
|
|
33547
33616
|
sphericalHarmonicCoefficients: Cartesian3[];
|
|
33548
33617
|
/**
|
|
@@ -34426,8 +34495,8 @@ export namespace Label {
|
|
|
34426
34495
|
* @property [backgroundPadding = new Cartesian2(7, 5)] - A {@link Cartesian2} Specifying the horizontal and vertical background padding in pixels.
|
|
34427
34496
|
* @property [pixelOffset = Cartesian2.ZERO] - A {@link Cartesian2} specifying the pixel offset in screen space from the origin of this label.
|
|
34428
34497
|
* @property [eyeOffset = Cartesian3.ZERO] - A {@link Cartesian3} specifying the 3D Cartesian offset applied to this label in eye coordinates.
|
|
34429
|
-
* @property [horizontalOrigin = HorizontalOrigin.
|
|
34430
|
-
* @property [verticalOrigin = VerticalOrigin.
|
|
34498
|
+
* @property [horizontalOrigin = HorizontalOrigin.LEFT] - A {@link HorizontalOrigin} specifying the horizontal origin of this label.
|
|
34499
|
+
* @property [verticalOrigin = VerticalOrigin.BASELINE] - A {@link VerticalOrigin} specifying the vertical origin of this label.
|
|
34431
34500
|
* @property [heightReference = HeightReference.NONE] - A {@link HeightReference} specifying the height reference of this label.
|
|
34432
34501
|
* @property [fillColor = Color.WHITE] - A {@link Color} specifying the fill color of the label.
|
|
34433
34502
|
* @property [outlineColor = Color.BLACK] - A {@link Color} specifying the outline color of the label.
|
|
@@ -35424,6 +35493,11 @@ export class MapboxStyleImageryProvider {
|
|
|
35424
35493
|
* <li><code>heights</code>: image of heights sorted from lowest to highest.</li>
|
|
35425
35494
|
* <li><code>colors</code>: image of colors at the corresponding heights.</li>
|
|
35426
35495
|
* </ul>
|
|
35496
|
+
* <li>WaterMask</li>
|
|
35497
|
+
* <ul>
|
|
35498
|
+
* <li><code>waterColor</code>: diffuse color and alpha for the areas covered by water.</li>
|
|
35499
|
+
* <li><code>landColor</code>: diffuse color and alpha for the areas covered by land.</li>
|
|
35500
|
+
* </ul>
|
|
35427
35501
|
* </ul>
|
|
35428
35502
|
* </ul>
|
|
35429
35503
|
* </div>
|
|
@@ -35451,7 +35525,6 @@ export class MapboxStyleImageryProvider {
|
|
|
35451
35525
|
* @param [options.minificationFilter = TextureMinificationFilter.LINEAR] - The {@link TextureMinificationFilter} to apply to this material's textures.
|
|
35452
35526
|
* @param [options.magnificationFilter = TextureMagnificationFilter.LINEAR] - The {@link TextureMagnificationFilter} to apply to this material's textures.
|
|
35453
35527
|
* @param options.fabric - The fabric JSON used to generate the material.
|
|
35454
|
-
* ructor
|
|
35455
35528
|
*/
|
|
35456
35529
|
export class Material {
|
|
35457
35530
|
constructor(options?: {
|
|
@@ -35623,6 +35696,10 @@ export class Material {
|
|
|
35623
35696
|
* Gets the name of the elevation band material.
|
|
35624
35697
|
*/
|
|
35625
35698
|
static readonly ElevationBandType: string;
|
|
35699
|
+
/**
|
|
35700
|
+
* Gets the name of the water mask material.
|
|
35701
|
+
*/
|
|
35702
|
+
static readonly WaterMaskType: string;
|
|
35626
35703
|
}
|
|
35627
35704
|
|
|
35628
35705
|
/**
|
|
@@ -38327,6 +38404,10 @@ export class PointPrimitive {
|
|
|
38327
38404
|
* Gets or sets the user-defined value returned when the point is picked.
|
|
38328
38405
|
*/
|
|
38329
38406
|
id: any;
|
|
38407
|
+
/**
|
|
38408
|
+
* The {@link SplitDirection} to apply to this point.
|
|
38409
|
+
*/
|
|
38410
|
+
splitDirection: SplitDirection;
|
|
38330
38411
|
/**
|
|
38331
38412
|
* Computes the screen-space position of the point's origin.
|
|
38332
38413
|
* The screen space origin is the top, left corner of the canvas; <code>x</code> increases from
|
|
@@ -39178,6 +39259,19 @@ export class PostProcessStageCollection {
|
|
|
39178
39259
|
* The number of post-process stages in this collection.
|
|
39179
39260
|
*/
|
|
39180
39261
|
readonly length: number;
|
|
39262
|
+
/**
|
|
39263
|
+
* Specifies the tonemapping algorithm used when rendering with high dynamic range.
|
|
39264
|
+
* {@link https://sandcastle.cesium.com/?src=High%20Dynamic%20Range.html|Sandcastle Demo}
|
|
39265
|
+
* @example
|
|
39266
|
+
* viewer.scene.postProcessStages.tonemapper = Cesium.Tonemapper.ACES;
|
|
39267
|
+
*/
|
|
39268
|
+
tonemapper: Tonemapper;
|
|
39269
|
+
/**
|
|
39270
|
+
* Control the exposure when HDR is on. Less than 1.0 makes the tonemapping darker while greater than 1.0 makes it brighter.
|
|
39271
|
+
* @example
|
|
39272
|
+
* viewer.scene.postProcessStages.exposure = 1.0;
|
|
39273
|
+
*/
|
|
39274
|
+
exposure: number;
|
|
39181
39275
|
/**
|
|
39182
39276
|
* Adds the post-process stage to the collection.
|
|
39183
39277
|
* @param stage - The post-process stage to add to the collection.
|
|
@@ -39975,7 +40069,7 @@ export class PrimitiveCollection {
|
|
|
39975
40069
|
* @param [options.requestRenderMode = false] - If true, rendering a frame will only occur when needed as determined by changes within the scene. Enabling improves performance of the application, but requires using {@link Scene#requestRender} to render a new frame explicitly in this mode. This will be necessary in many cases after making changes to the scene in other parts of the API. See {@link https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/|Improving Performance with Explicit Rendering}.
|
|
39976
40070
|
* @param [options.maximumRenderTimeChange = 0.0] - If requestRenderMode is true, this value defines the maximum change in simulation time allowed before a render is requested. See {@link https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/|Improving Performance with Explicit Rendering}.
|
|
39977
40071
|
* @param [options.depthPlaneEllipsoidOffset = 0.0] - Adjust the DepthPlane to address rendering artefacts below ellipsoid zero elevation.
|
|
39978
|
-
* @param [options.msaaSamples =
|
|
40072
|
+
* @param [options.msaaSamples = 4] - If provided, this value controls the rate of multisample antialiasing. Typical multisampling rates are 2, 4, and sometimes 8 samples per pixel. Higher sampling rates of MSAA may impact performance in exchange for improved visual quality. This value only applies to WebGL2 contexts that support multisample render targets. Set to 1 to disable MSAA.
|
|
39979
40073
|
*/
|
|
39980
40074
|
export class Scene {
|
|
39981
40075
|
constructor(options: {
|
|
@@ -40711,24 +40805,6 @@ export namespace SceneTransforms {
|
|
|
40711
40805
|
* @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.
|
|
40712
40806
|
*/
|
|
40713
40807
|
function worldToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40714
|
-
/**
|
|
40715
|
-
* Transforms a position in WGS84 coordinates to window coordinates. This is commonly used to place an
|
|
40716
|
-
* HTML element at the same screen position as an object in the scene.
|
|
40717
|
-
* @example
|
|
40718
|
-
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40719
|
-
* const scene = widget.scene;
|
|
40720
|
-
* const ellipsoid = scene.ellipsoid;
|
|
40721
|
-
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40722
|
-
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40723
|
-
* handler.setInputAction(function(movement) {
|
|
40724
|
-
* console.log(Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position));
|
|
40725
|
-
* }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
40726
|
-
* @param scene - The scene.
|
|
40727
|
-
* @param position - The position in WGS84 (world) coordinates.
|
|
40728
|
-
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
40729
|
-
* @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.
|
|
40730
|
-
*/
|
|
40731
|
-
function wgs84ToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40732
40808
|
/**
|
|
40733
40809
|
* Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
|
|
40734
40810
|
* results from SceneTransforms.worldToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
|
|
@@ -40745,22 +40821,6 @@ export namespace SceneTransforms {
|
|
|
40745
40821
|
* @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.
|
|
40746
40822
|
*/
|
|
40747
40823
|
function worldToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40748
|
-
/**
|
|
40749
|
-
* Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
|
|
40750
|
-
* results from SceneTransforms.wgs84ToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
|
|
40751
|
-
* @example
|
|
40752
|
-
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40753
|
-
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40754
|
-
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40755
|
-
* handler.setInputAction(function(movement) {
|
|
40756
|
-
* console.log(Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position));
|
|
40757
|
-
* }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
40758
|
-
* @param scene - The scene.
|
|
40759
|
-
* @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
|
|
40760
|
-
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
40761
|
-
* @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.
|
|
40762
|
-
*/
|
|
40763
|
-
function wgs84ToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40764
40824
|
}
|
|
40765
40825
|
|
|
40766
40826
|
/**
|
|
@@ -40840,6 +40900,10 @@ export class ScreenSpaceCameraController {
|
|
|
40840
40900
|
* The maximum magnitude, in meters, of the camera position when zooming. Defaults to positive infinity.
|
|
40841
40901
|
*/
|
|
40842
40902
|
maximumZoomDistance: number;
|
|
40903
|
+
/**
|
|
40904
|
+
* A multiplier for the speed at which the camera will zoom.
|
|
40905
|
+
*/
|
|
40906
|
+
zoomFactor: number;
|
|
40843
40907
|
/**
|
|
40844
40908
|
* The input that allows the user to pan around the map. This only applies in 2D and Columbus view modes.
|
|
40845
40909
|
* <p>
|
|
@@ -42062,6 +42126,32 @@ export class TimeDynamicPointCloud {
|
|
|
42062
42126
|
destroy(): void;
|
|
42063
42127
|
}
|
|
42064
42128
|
|
|
42129
|
+
/**
|
|
42130
|
+
* A tonemapping algorithm when rendering with high dynamic range.
|
|
42131
|
+
*/
|
|
42132
|
+
export enum Tonemapper {
|
|
42133
|
+
/**
|
|
42134
|
+
* Use the Reinhard tonemapping.
|
|
42135
|
+
*/
|
|
42136
|
+
REINHARD = "REINHARD",
|
|
42137
|
+
/**
|
|
42138
|
+
* Use the modified Reinhard tonemapping.
|
|
42139
|
+
*/
|
|
42140
|
+
MODIFIED_REINHARD = "MODIFIED_REINHARD",
|
|
42141
|
+
/**
|
|
42142
|
+
* Use the Filmic tonemapping.
|
|
42143
|
+
*/
|
|
42144
|
+
FILMIC = "FILMIC",
|
|
42145
|
+
/**
|
|
42146
|
+
* Use the ACES tonemapping.
|
|
42147
|
+
*/
|
|
42148
|
+
ACES = "ACES",
|
|
42149
|
+
/**
|
|
42150
|
+
* Use the PBR Neutral tonemapping {@link https://github.com/KhronosGroup/ToneMapping/tree/main/PBR_Neutral|from Khronos}.
|
|
42151
|
+
*/
|
|
42152
|
+
PBR_NEUTRAL = "PBR_NEUTRAL"
|
|
42153
|
+
}
|
|
42154
|
+
|
|
42065
42155
|
export namespace UrlTemplateImageryProvider {
|
|
42066
42156
|
/**
|
|
42067
42157
|
* Initialization options for the UrlTemplateImageryProvider constructor
|
|
@@ -42587,11 +42677,6 @@ export class VoxelPrimitive {
|
|
|
42587
42677
|
* Gets or sets whether or not to test against depth when rendering.
|
|
42588
42678
|
*/
|
|
42589
42679
|
depthTest: boolean;
|
|
42590
|
-
/**
|
|
42591
|
-
* Gets or sets whether or not to jitter the view ray during the raymarch.
|
|
42592
|
-
* This reduces stair-step artifacts but introduces noise.
|
|
42593
|
-
*/
|
|
42594
|
-
jitter: boolean;
|
|
42595
42680
|
/**
|
|
42596
42681
|
* Gets or sets the nearest sampling.
|
|
42597
42682
|
*/
|
|
@@ -43451,7 +43536,7 @@ export function createWorldImageryAsync(options?: {
|
|
|
43451
43536
|
* @param [options.blurActiveElementOnCanvasFocus = true] - If true, the active element will blur when the viewer's canvas is clicked. Setting this to false is useful for cases when the canvas is clicked only for retrieving position or an entity data without actually meaning to set the canvas to be the active element.
|
|
43452
43537
|
* @param [options.requestRenderMode = false] - If true, rendering a frame will only occur when needed as determined by changes within the scene. Enabling improves performance of the application, but requires using {@link Scene#requestRender} to render a new frame explicitly in this mode. This will be necessary in many cases after making changes to the scene in other parts of the API. See {@link https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/|Improving Performance with Explicit Rendering}.
|
|
43453
43538
|
* @param [options.maximumRenderTimeChange = 0.0] - If requestRenderMode is true, this value defines the maximum change in simulation time allowed before a render is requested. See {@link https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/|Improving Performance with Explicit Rendering}.
|
|
43454
|
-
* @param [options.msaaSamples =
|
|
43539
|
+
* @param [options.msaaSamples = 4] - If provided, this value controls the rate of multisample antialiasing. Typical multisampling rates are 2, 4, and sometimes 8 samples per pixel. Higher sampling rates of MSAA may impact performance in exchange for improved visual quality. This value only applies to WebGL2 contexts that support multisample render targets. Set to 1 to disable MSAA.
|
|
43455
43540
|
*/
|
|
43456
43541
|
export class CesiumWidget {
|
|
43457
43542
|
constructor(container: Element | string, options?: {
|