mars3d-cesium 1.120.1 → 1.121.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/Cesium/Cesium.d.ts +63 -46
- package/Build/Cesium/Cesium.js +4299 -4369
- package/Build/Cesium/Workers/{chunk-DY2Q3LDJ.js → chunk-2PA2JKUE.js} +2 -2
- package/Build/Cesium/Workers/{chunk-W3YQL44J.js → chunk-2PG5MK7H.js} +2 -2
- package/Build/Cesium/Workers/{chunk-63RGTGKB.js → chunk-3UX43W2U.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VMUA7QRT.js → chunk-6ZEM43VJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DPXXHKCX.js → chunk-A2UZQFPW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-TPDTXXTZ.js → chunk-AYL573SZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-X3LK737X.js → chunk-BF5YGQYI.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZZPAAKFL.js → chunk-BYTD55DB.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IYIAJDXR.js → chunk-C7FPQXHT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VT3S74KG.js → chunk-CPRI3YT3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-SLBTZMHJ.js → chunk-D7CQ374D.js} +2 -2
- package/Build/Cesium/Workers/{chunk-A4U73JJE.js → chunk-DCNRG4WF.js} +1 -1
- package/Build/Cesium/Workers/{chunk-HVRCTCKZ.js → chunk-DXINZRT3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-OYBVIZ5Q.js → chunk-EAWMWEP4.js} +2 -2
- package/Build/Cesium/Workers/{chunk-343SJCYH.js → chunk-EBZYBFST.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GTBQTITZ.js → chunk-EEP375TL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-JA4HQIWI.js → chunk-EQ43EC6E.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7X5355YR.js → chunk-EVURMNL6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-BD6GQKNK.js → chunk-FLR2GGFN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-B7DJSUT3.js → chunk-FOLAOPPD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7LDXOWAG.js → chunk-GHDUB6UV.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CDFKIAC5.js → chunk-GWZRRCLR.js} +1 -1
- package/Build/Cesium/Workers/{chunk-ENAI6T53.js → chunk-HJLCIH7O.js} +2 -2
- package/Build/Cesium/Workers/{chunk-A5LGJSYE.js → chunk-I4FYWYYD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-O3XIRCSZ.js → chunk-IPE24Y2P.js} +1 -1
- package/Build/Cesium/Workers/{chunk-7QS2ZEBL.js → chunk-JE5DIRT6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-KTYEIHPA.js → chunk-L4XCNFQ3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-AWTNTFWT.js → chunk-MAPOW37C.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MR2QX3X3.js → chunk-MB3UN4QT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VRSMIU2E.js → chunk-MMVWWWUP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CRMSUULF.js → chunk-PX7CEJNX.js} +2 -2
- package/Build/Cesium/Workers/{chunk-WGB3L4DG.js → chunk-QMIIH26G.js} +2 -2
- package/Build/Cesium/Workers/{chunk-2YTOGJWB.js → chunk-QQRROQTI.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5TVUBRQM.js → chunk-RBYBFUIK.js} +2 -2
- package/Build/Cesium/Workers/{chunk-JYT7LKWQ.js → chunk-S42WNSXQ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CYX2VK56.js → chunk-SBEML276.js} +1 -1
- package/Build/Cesium/Workers/{chunk-CP45D7WO.js → chunk-SR7CBQXJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-UTQP35IH.js → chunk-SXNRLTCU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ASKOUW2X.js → chunk-THYUEP7E.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IYVTPXEF.js → chunk-TY6NJW6X.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DRUYFASX.js → chunk-UYYVTJBW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-A2J5OJ74.js → chunk-V2QNFHJM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XQPFZTAL.js → chunk-VF67TTK4.js} +2 -2
- package/Build/Cesium/Workers/{chunk-Q3OGYXB5.js → chunk-VUVC2PGF.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7CHYY4MB.js → chunk-VV2XIBVQ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MSGLY7UN.js → chunk-XY4MH635.js} +2 -2
- package/Build/Cesium/Workers/{chunk-PCAQWIAU.js → chunk-XYU6C6XR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FVH3MLC4.js → chunk-Y66OX3DW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-S74IVKSO.js → chunk-YBE3NU7P.js} +2 -2
- package/Build/Cesium/Workers/{chunk-A2APLLNR.js → chunk-YJBF7QHC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-SKCOSGUV.js → chunk-YYVKMZGJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-TRTMI7MU.js → chunk-ZV4YEFHA.js} +1 -1
- package/Build/Cesium/Workers/combineGeometry.js +2 -2
- package/Build/Cesium/Workers/createBoxGeometry.js +2 -2
- package/Build/Cesium/Workers/createBoxOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCircleGeometry.js +2 -2
- package/Build/Cesium/Workers/createCircleOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +2 -2
- package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCorridorGeometry.js +2 -2
- package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCylinderGeometry.js +2 -2
- package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipseGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipsoidGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createFrustumGeometry.js +2 -2
- package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createGeometry.js +2 -2
- package/Build/Cesium/Workers/createGroundPolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPlaneGeometry.js +2 -2
- package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolygonGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createRectangleGeometry.js +2 -2
- package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createSimplePolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createSphereGeometry.js +2 -2
- package/Build/Cesium/Workers/createSphereOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createTaskProcessorWorker.js +2 -2
- package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +2 -2
- package/Build/Cesium/Workers/createVectorTileGeometries.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePoints.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePolygons.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePolylines.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/Workers/createWallGeometry.js +2 -2
- package/Build/Cesium/Workers/createWallOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/decodeDraco.js +2 -2
- package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
- package/Build/Cesium/Workers/decodeI3S.js +2 -2
- package/Build/Cesium/Workers/transcodeKTX2.js +10 -10
- package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/index.cjs +4281 -4351
- package/Build/Cesium/index.js +4260 -4330
- package/package.json +1 -1
package/Build/Cesium/Cesium.d.ts
CHANGED
|
@@ -4689,6 +4689,10 @@ export class CompressedTextureBuffer {
|
|
|
4689
4689
|
* The compressed texture buffer.
|
|
4690
4690
|
*/
|
|
4691
4691
|
readonly bufferView: Uint8Array;
|
|
4692
|
+
/**
|
|
4693
|
+
* The compressed texture buffer. Alias for bufferView.
|
|
4694
|
+
*/
|
|
4695
|
+
readonly arrayBufferView: Uint8Array;
|
|
4692
4696
|
/**
|
|
4693
4697
|
* Creates a shallow clone of a compressed texture buffer.
|
|
4694
4698
|
* @param object - The compressed texture buffer to be cloned.
|
|
@@ -12954,6 +12958,7 @@ export enum PixelFormat {
|
|
|
12954
12958
|
* A pixel format containing a red channel
|
|
12955
12959
|
*/
|
|
12956
12960
|
RED = WebGLConstants.RED,
|
|
12961
|
+
R = WebGLConstants.RED,
|
|
12957
12962
|
/**
|
|
12958
12963
|
* A pixel format containing red and green channels.
|
|
12959
12964
|
*/
|
|
@@ -20867,7 +20872,7 @@ export namespace Entity {
|
|
|
20867
20872
|
availability?: TimeIntervalCollection;
|
|
20868
20873
|
show?: boolean;
|
|
20869
20874
|
description?: Property | string;
|
|
20870
|
-
position?: PositionProperty | Cartesian3;
|
|
20875
|
+
position?: PositionProperty | Cartesian3 | CallbackProperty;
|
|
20871
20876
|
orientation?: Property | Quaternion;
|
|
20872
20877
|
viewFrom?: Property | Cartesian3;
|
|
20873
20878
|
parent?: Entity;
|
|
@@ -34761,8 +34766,8 @@ export namespace Label {
|
|
|
34761
34766
|
* @property [backgroundPadding = new Cartesian2(7, 5)] - A {@link Cartesian2} Specifying the horizontal and vertical background padding in pixels.
|
|
34762
34767
|
* @property [pixelOffset = Cartesian2.ZERO] - A {@link Cartesian2} specifying the pixel offset in screen space from the origin of this label.
|
|
34763
34768
|
* @property [eyeOffset = Cartesian3.ZERO] - A {@link Cartesian3} specifying the 3D Cartesian offset applied to this label in eye coordinates.
|
|
34764
|
-
* @property [horizontalOrigin = HorizontalOrigin.
|
|
34765
|
-
* @property [verticalOrigin = VerticalOrigin.
|
|
34769
|
+
* @property [horizontalOrigin = HorizontalOrigin.LEFT] - A {@link HorizontalOrigin} specifying the horizontal origin of this label.
|
|
34770
|
+
* @property [verticalOrigin = VerticalOrigin.BASELINE] - A {@link VerticalOrigin} specifying the vertical origin of this label.
|
|
34766
34771
|
* @property [heightReference = HeightReference.NONE] - A {@link HeightReference} specifying the height reference of this label.
|
|
34767
34772
|
* @property [fillColor = Color.WHITE] - A {@link Color} specifying the fill color of the label.
|
|
34768
34773
|
* @property [outlineColor = Color.BLACK] - A {@link Color} specifying the outline color of the label.
|
|
@@ -35759,6 +35764,11 @@ Base material types and their uniforms:
|
|
|
35759
35764
|
<li><code>heights</code>: image of heights sorted from lowest to highest.</li>
|
|
35760
35765
|
<li><code>colors</code>: image of colors at the corresponding heights.</li>
|
|
35761
35766
|
</ul>
|
|
35767
|
+
<li>WaterMask</li>
|
|
35768
|
+
<ul>
|
|
35769
|
+
<li><code>waterColor</code>: diffuse color and alpha for the areas covered by water.</li>
|
|
35770
|
+
<li><code>landColor</code>: diffuse color and alpha for the areas covered by land.</li>
|
|
35771
|
+
</ul>
|
|
35762
35772
|
</ul>
|
|
35763
35773
|
</ul>
|
|
35764
35774
|
</div>
|
|
@@ -35786,7 +35796,6 @@ polygon.material = new Cesium.Material({
|
|
|
35786
35796
|
* @param [options.minificationFilter = TextureMinificationFilter.LINEAR] - The {@link TextureMinificationFilter} to apply to this material's textures.
|
|
35787
35797
|
* @param [options.magnificationFilter = TextureMagnificationFilter.LINEAR] - The {@link TextureMagnificationFilter} to apply to this material's textures.
|
|
35788
35798
|
* @param options.fabric - The fabric JSON used to generate the material.
|
|
35789
|
-
ructor
|
|
35790
35799
|
*/
|
|
35791
35800
|
export class Material {
|
|
35792
35801
|
constructor(options?: {
|
|
@@ -35958,6 +35967,10 @@ export class Material {
|
|
|
35958
35967
|
* Gets the name of the elevation band material.
|
|
35959
35968
|
*/
|
|
35960
35969
|
static readonly ElevationBandType: string;
|
|
35970
|
+
/**
|
|
35971
|
+
* Gets the name of the water mask material.
|
|
35972
|
+
*/
|
|
35973
|
+
static readonly WaterMaskType: string;
|
|
35961
35974
|
}
|
|
35962
35975
|
|
|
35963
35976
|
/**
|
|
@@ -39517,6 +39530,19 @@ export class PostProcessStageCollection {
|
|
|
39517
39530
|
* The number of post-process stages in this collection.
|
|
39518
39531
|
*/
|
|
39519
39532
|
readonly length: number;
|
|
39533
|
+
/**
|
|
39534
|
+
* Specifies the tonemapping algorithm used when rendering with high dynamic range.
|
|
39535
|
+
{@link https://sandcastle.cesium.com/?src=High%20Dynamic%20Range.html|Sandcastle Demo}
|
|
39536
|
+
* @example
|
|
39537
|
+
* viewer.scene.postProcessStages.tonemapper = Cesium.Tonemapper.ACES;
|
|
39538
|
+
*/
|
|
39539
|
+
tonemapper: Tonemapper;
|
|
39540
|
+
/**
|
|
39541
|
+
* Control the exposure when HDR is on. Less than 1.0 makes the tonemapping darker while greater than 1.0 makes it brighter.
|
|
39542
|
+
* @example
|
|
39543
|
+
* viewer.scene.postProcessStages.exposure = 1.0;
|
|
39544
|
+
*/
|
|
39545
|
+
exposure: number;
|
|
39520
39546
|
/**
|
|
39521
39547
|
* Adds the post-process stage to the collection.
|
|
39522
39548
|
* @param stage - The post-process stage to add to the collection.
|
|
@@ -40314,7 +40340,7 @@ const scene = new Cesium.Scene({
|
|
|
40314
40340
|
* @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}.
|
|
40315
40341
|
* @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}.
|
|
40316
40342
|
* @param [options.depthPlaneEllipsoidOffset = 0.0] - Adjust the DepthPlane to address rendering artefacts below ellipsoid zero elevation.
|
|
40317
|
-
* @param [options.msaaSamples =
|
|
40343
|
+
* @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.
|
|
40318
40344
|
*/
|
|
40319
40345
|
export class Scene {
|
|
40320
40346
|
constructor(options: {
|
|
@@ -41050,24 +41076,6 @@ export namespace SceneTransforms {
|
|
|
41050
41076
|
* @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.
|
|
41051
41077
|
*/
|
|
41052
41078
|
function worldToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
41053
|
-
/**
|
|
41054
|
-
* Transforms a position in WGS84 coordinates to window coordinates. This is commonly used to place an
|
|
41055
|
-
HTML element at the same screen position as an object in the scene.
|
|
41056
|
-
* @example
|
|
41057
|
-
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
41058
|
-
const scene = widget.scene;
|
|
41059
|
-
const ellipsoid = scene.ellipsoid;
|
|
41060
|
-
const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
41061
|
-
const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
41062
|
-
handler.setInputAction(function(movement) {
|
|
41063
|
-
console.log(Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position));
|
|
41064
|
-
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
41065
|
-
* @param scene - The scene.
|
|
41066
|
-
* @param position - The position in WGS84 (world) coordinates.
|
|
41067
|
-
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
41068
|
-
* @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.
|
|
41069
|
-
*/
|
|
41070
|
-
function wgs84ToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
41071
41079
|
/**
|
|
41072
41080
|
* Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
|
|
41073
41081
|
results from SceneTransforms.worldToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
|
|
@@ -41084,22 +41092,6 @@ export namespace SceneTransforms {
|
|
|
41084
41092
|
* @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.
|
|
41085
41093
|
*/
|
|
41086
41094
|
function worldToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
41087
|
-
/**
|
|
41088
|
-
* Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
|
|
41089
|
-
results from SceneTransforms.wgs84ToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
|
|
41090
|
-
* @example
|
|
41091
|
-
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
41092
|
-
const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
41093
|
-
const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
41094
|
-
handler.setInputAction(function(movement) {
|
|
41095
|
-
console.log(Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position));
|
|
41096
|
-
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
41097
|
-
* @param scene - The scene.
|
|
41098
|
-
* @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
|
|
41099
|
-
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
41100
|
-
* @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.
|
|
41101
|
-
*/
|
|
41102
|
-
function wgs84ToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
41103
41095
|
}
|
|
41104
41096
|
|
|
41105
41097
|
/**
|
|
@@ -41179,6 +41171,10 @@ export class ScreenSpaceCameraController {
|
|
|
41179
41171
|
* The maximum magnitude, in meters, of the camera position when zooming. Defaults to positive infinity.
|
|
41180
41172
|
*/
|
|
41181
41173
|
maximumZoomDistance: number;
|
|
41174
|
+
/**
|
|
41175
|
+
* A multiplier for the speed at which the camera will zoom.
|
|
41176
|
+
*/
|
|
41177
|
+
zoomFactor: number;
|
|
41182
41178
|
/**
|
|
41183
41179
|
* The input that allows the user to pan around the map. This only applies in 2D and Columbus view modes.
|
|
41184
41180
|
<p>
|
|
@@ -42401,6 +42397,32 @@ export class TimeDynamicPointCloud {
|
|
|
42401
42397
|
destroy(): void;
|
|
42402
42398
|
}
|
|
42403
42399
|
|
|
42400
|
+
/**
|
|
42401
|
+
* A tonemapping algorithm when rendering with high dynamic range.
|
|
42402
|
+
*/
|
|
42403
|
+
export enum Tonemapper {
|
|
42404
|
+
/**
|
|
42405
|
+
* Use the Reinhard tonemapping.
|
|
42406
|
+
*/
|
|
42407
|
+
REINHARD = "REINHARD",
|
|
42408
|
+
/**
|
|
42409
|
+
* Use the modified Reinhard tonemapping.
|
|
42410
|
+
*/
|
|
42411
|
+
MODIFIED_REINHARD = "MODIFIED_REINHARD",
|
|
42412
|
+
/**
|
|
42413
|
+
* Use the Filmic tonemapping.
|
|
42414
|
+
*/
|
|
42415
|
+
FILMIC = "FILMIC",
|
|
42416
|
+
/**
|
|
42417
|
+
* Use the ACES tonemapping.
|
|
42418
|
+
*/
|
|
42419
|
+
ACES = "ACES",
|
|
42420
|
+
/**
|
|
42421
|
+
* Use the PBR Neutral tonemapping {@link https://github.com/KhronosGroup/ToneMapping/tree/main/PBR_Neutral|from Khronos}.
|
|
42422
|
+
*/
|
|
42423
|
+
PBR_NEUTRAL = "PBR_NEUTRAL"
|
|
42424
|
+
}
|
|
42425
|
+
|
|
42404
42426
|
export namespace UrlTemplateImageryProvider {
|
|
42405
42427
|
/**
|
|
42406
42428
|
* Initialization options for the UrlTemplateImageryProvider constructor
|
|
@@ -42926,11 +42948,6 @@ export class VoxelPrimitive {
|
|
|
42926
42948
|
* Gets or sets whether or not to test against depth when rendering.
|
|
42927
42949
|
*/
|
|
42928
42950
|
depthTest: boolean;
|
|
42929
|
-
/**
|
|
42930
|
-
* Gets or sets whether or not to jitter the view ray during the raymarch.
|
|
42931
|
-
This reduces stair-step artifacts but introduces noise.
|
|
42932
|
-
*/
|
|
42933
|
-
jitter: boolean;
|
|
42934
42951
|
/**
|
|
42935
42952
|
* Gets or sets the nearest sampling.
|
|
42936
42953
|
*/
|
|
@@ -43604,7 +43621,7 @@ const widget2 = new Cesium.CesiumWidget("cesiumContainer", {
|
|
|
43604
43621
|
* @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.
|
|
43605
43622
|
* @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}.
|
|
43606
43623
|
* @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}.
|
|
43607
|
-
* @param [options.msaaSamples =
|
|
43624
|
+
* @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.
|
|
43608
43625
|
*/
|
|
43609
43626
|
export class CesiumWidget {
|
|
43610
43627
|
constructor(container: Element | string, options?: {
|
|
@@ -45729,7 +45746,7 @@ export namespace Viewer {
|
|
|
45729
45746
|
* @property [requestRenderMode = false] - If true, rendering a frame will only occur when needed as determined by changes within the scene. Enabling reduces the CPU/GPU usage of your application and uses less battery on mobile, 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}.
|
|
45730
45747
|
* @property [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}.
|
|
45731
45748
|
* @property [depthPlaneEllipsoidOffset = 0.0] - Adjust the DepthPlane to address rendering artefacts below ellipsoid zero elevation.
|
|
45732
|
-
* @property [msaaSamples =
|
|
45749
|
+
* @property [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.
|
|
45733
45750
|
*/
|
|
45734
45751
|
type ConstructorOptions = {
|
|
45735
45752
|
animation?: boolean;
|