mars3d-cesium 1.120.2 → 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 +62 -46
- package/Build/Cesium/Cesium.js +13012 -13082
- package/Build/Cesium/Workers/{chunk-XAZPIEZX.js → chunk-2PA2JKUE.js} +2 -2
- package/Build/Cesium/Workers/{chunk-6IQGHKR5.js → chunk-2PG5MK7H.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ECDOQM3R.js → chunk-3UX43W2U.js} +2 -2
- package/Build/Cesium/Workers/{chunk-34X2ZL32.js → chunk-6ZEM43VJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-QLA567VU.js → chunk-A2UZQFPW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-HIKVO3YB.js → chunk-AYL573SZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3MV3BMN5.js → chunk-BF5YGQYI.js} +2 -2
- package/Build/Cesium/Workers/{chunk-NW4BJ3IZ.js → chunk-BYTD55DB.js} +2 -2
- package/Build/Cesium/Workers/{chunk-BVGVBIA4.js → chunk-C7FPQXHT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-6V3AGY4C.js → chunk-CPRI3YT3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-KCWT4TOH.js → chunk-D7CQ374D.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LPL3F3FU.js → chunk-DCNRG4WF.js} +1 -1
- package/Build/Cesium/Workers/{chunk-U6VPCTVK.js → chunk-DXINZRT3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-J63NMQMY.js → chunk-EAWMWEP4.js} +2 -2
- package/Build/Cesium/Workers/{chunk-W5OYQDXN.js → chunk-EBZYBFST.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DG7CB3DY.js → chunk-EEP375TL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-TICQDDS3.js → chunk-EQ43EC6E.js} +2 -2
- package/Build/Cesium/Workers/{chunk-TAU7Y5S5.js → chunk-EVURMNL6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-Z7K6WT6T.js → chunk-FLR2GGFN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-S5WJXCZO.js → chunk-FOLAOPPD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XKCVKWJ5.js → chunk-GHDUB6UV.js} +2 -2
- package/Build/Cesium/Workers/{chunk-YXBVEKWI.js → chunk-GWZRRCLR.js} +1 -1
- package/Build/Cesium/Workers/{chunk-OE6BOPXI.js → chunk-HJLCIH7O.js} +2 -2
- package/Build/Cesium/Workers/{chunk-TBESXZ5I.js → chunk-I4FYWYYD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-D3CSG3S2.js → chunk-IPE24Y2P.js} +1 -1
- package/Build/Cesium/Workers/{chunk-ZHH5JPWV.js → chunk-JE5DIRT6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ED5MX6OB.js → chunk-L4XCNFQ3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-EARE55VU.js → chunk-MAPOW37C.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5XCWZRKD.js → chunk-MB3UN4QT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7K5QPZEL.js → chunk-MMVWWWUP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-YXTGMGCC.js → chunk-PX7CEJNX.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5JSDDVN4.js → chunk-QMIIH26G.js} +2 -2
- package/Build/Cesium/Workers/{chunk-P2A4LTBW.js → chunk-QQRROQTI.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CZPBEN7H.js → chunk-RBYBFUIK.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MNKVHNSN.js → chunk-S42WNSXQ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-PQF7YB7C.js → chunk-SBEML276.js} +1 -1
- package/Build/Cesium/Workers/{chunk-J4YKEZKQ.js → chunk-SR7CBQXJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-23HMYUSJ.js → chunk-SXNRLTCU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IY53UJII.js → chunk-THYUEP7E.js} +2 -2
- package/Build/Cesium/Workers/{chunk-QMNXCAC6.js → chunk-TY6NJW6X.js} +2 -2
- package/Build/Cesium/Workers/{chunk-J63AP2GZ.js → chunk-UYYVTJBW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-QC664SDS.js → chunk-V2QNFHJM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VEDHIHCJ.js → chunk-VF67TTK4.js} +2 -2
- package/Build/Cesium/Workers/{chunk-D776FCVJ.js → chunk-VUVC2PGF.js} +2 -2
- package/Build/Cesium/Workers/{chunk-WUKOSFF5.js → chunk-VV2XIBVQ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FFJN4UXE.js → chunk-XY4MH635.js} +2 -2
- package/Build/Cesium/Workers/{chunk-763AHQX3.js → chunk-XYU6C6XR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VV7VOBQF.js → chunk-Y66OX3DW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-EBGE3XTZ.js → chunk-YBE3NU7P.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VUWKCLE2.js → chunk-YJBF7QHC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3FCK4U2N.js → chunk-YYVKMZGJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CDIJULSW.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 +7 -7
- package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/index.cjs +13095 -13165
- package/Build/Cesium/index.js +13093 -13163
- 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.
|
|
@@ -20868,7 +20872,7 @@ export namespace Entity {
|
|
|
20868
20872
|
availability?: TimeIntervalCollection;
|
|
20869
20873
|
show?: boolean;
|
|
20870
20874
|
description?: Property | string;
|
|
20871
|
-
position?: PositionProperty | Cartesian3;
|
|
20875
|
+
position?: PositionProperty | Cartesian3 | CallbackProperty;
|
|
20872
20876
|
orientation?: Property | Quaternion;
|
|
20873
20877
|
viewFrom?: Property | Cartesian3;
|
|
20874
20878
|
parent?: Entity;
|
|
@@ -34762,8 +34766,8 @@ export namespace Label {
|
|
|
34762
34766
|
* @property [backgroundPadding = new Cartesian2(7, 5)] - A {@link Cartesian2} Specifying the horizontal and vertical background padding in pixels.
|
|
34763
34767
|
* @property [pixelOffset = Cartesian2.ZERO] - A {@link Cartesian2} specifying the pixel offset in screen space from the origin of this label.
|
|
34764
34768
|
* @property [eyeOffset = Cartesian3.ZERO] - A {@link Cartesian3} specifying the 3D Cartesian offset applied to this label in eye coordinates.
|
|
34765
|
-
* @property [horizontalOrigin = HorizontalOrigin.
|
|
34766
|
-
* @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.
|
|
34767
34771
|
* @property [heightReference = HeightReference.NONE] - A {@link HeightReference} specifying the height reference of this label.
|
|
34768
34772
|
* @property [fillColor = Color.WHITE] - A {@link Color} specifying the fill color of the label.
|
|
34769
34773
|
* @property [outlineColor = Color.BLACK] - A {@link Color} specifying the outline color of the label.
|
|
@@ -35760,6 +35764,11 @@ Base material types and their uniforms:
|
|
|
35760
35764
|
<li><code>heights</code>: image of heights sorted from lowest to highest.</li>
|
|
35761
35765
|
<li><code>colors</code>: image of colors at the corresponding heights.</li>
|
|
35762
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>
|
|
35763
35772
|
</ul>
|
|
35764
35773
|
</ul>
|
|
35765
35774
|
</div>
|
|
@@ -35787,7 +35796,6 @@ polygon.material = new Cesium.Material({
|
|
|
35787
35796
|
* @param [options.minificationFilter = TextureMinificationFilter.LINEAR] - The {@link TextureMinificationFilter} to apply to this material's textures.
|
|
35788
35797
|
* @param [options.magnificationFilter = TextureMagnificationFilter.LINEAR] - The {@link TextureMagnificationFilter} to apply to this material's textures.
|
|
35789
35798
|
* @param options.fabric - The fabric JSON used to generate the material.
|
|
35790
|
-
ructor
|
|
35791
35799
|
*/
|
|
35792
35800
|
export class Material {
|
|
35793
35801
|
constructor(options?: {
|
|
@@ -35959,6 +35967,10 @@ export class Material {
|
|
|
35959
35967
|
* Gets the name of the elevation band material.
|
|
35960
35968
|
*/
|
|
35961
35969
|
static readonly ElevationBandType: string;
|
|
35970
|
+
/**
|
|
35971
|
+
* Gets the name of the water mask material.
|
|
35972
|
+
*/
|
|
35973
|
+
static readonly WaterMaskType: string;
|
|
35962
35974
|
}
|
|
35963
35975
|
|
|
35964
35976
|
/**
|
|
@@ -39518,6 +39530,19 @@ export class PostProcessStageCollection {
|
|
|
39518
39530
|
* The number of post-process stages in this collection.
|
|
39519
39531
|
*/
|
|
39520
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;
|
|
39521
39546
|
/**
|
|
39522
39547
|
* Adds the post-process stage to the collection.
|
|
39523
39548
|
* @param stage - The post-process stage to add to the collection.
|
|
@@ -40315,7 +40340,7 @@ const scene = new Cesium.Scene({
|
|
|
40315
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}.
|
|
40316
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}.
|
|
40317
40342
|
* @param [options.depthPlaneEllipsoidOffset = 0.0] - Adjust the DepthPlane to address rendering artefacts below ellipsoid zero elevation.
|
|
40318
|
-
* @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.
|
|
40319
40344
|
*/
|
|
40320
40345
|
export class Scene {
|
|
40321
40346
|
constructor(options: {
|
|
@@ -41051,24 +41076,6 @@ export namespace SceneTransforms {
|
|
|
41051
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.
|
|
41052
41077
|
*/
|
|
41053
41078
|
function worldToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
41054
|
-
/**
|
|
41055
|
-
* Transforms a position in WGS84 coordinates to window coordinates. This is commonly used to place an
|
|
41056
|
-
HTML element at the same screen position as an object in the scene.
|
|
41057
|
-
* @example
|
|
41058
|
-
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
41059
|
-
const scene = widget.scene;
|
|
41060
|
-
const ellipsoid = scene.ellipsoid;
|
|
41061
|
-
const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
41062
|
-
const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
41063
|
-
handler.setInputAction(function(movement) {
|
|
41064
|
-
console.log(Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position));
|
|
41065
|
-
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
41066
|
-
* @param scene - The scene.
|
|
41067
|
-
* @param position - The position in WGS84 (world) coordinates.
|
|
41068
|
-
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
41069
|
-
* @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.
|
|
41070
|
-
*/
|
|
41071
|
-
function wgs84ToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
41072
41079
|
/**
|
|
41073
41080
|
* Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
|
|
41074
41081
|
results from SceneTransforms.worldToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
|
|
@@ -41085,22 +41092,6 @@ export namespace SceneTransforms {
|
|
|
41085
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.
|
|
41086
41093
|
*/
|
|
41087
41094
|
function worldToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
41088
|
-
/**
|
|
41089
|
-
* Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
|
|
41090
|
-
results from SceneTransforms.wgs84ToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
|
|
41091
|
-
* @example
|
|
41092
|
-
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
41093
|
-
const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
41094
|
-
const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
41095
|
-
handler.setInputAction(function(movement) {
|
|
41096
|
-
console.log(Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position));
|
|
41097
|
-
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
41098
|
-
* @param scene - The scene.
|
|
41099
|
-
* @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
|
|
41100
|
-
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
41101
|
-
* @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.
|
|
41102
|
-
*/
|
|
41103
|
-
function wgs84ToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
41104
41095
|
}
|
|
41105
41096
|
|
|
41106
41097
|
/**
|
|
@@ -41180,6 +41171,10 @@ export class ScreenSpaceCameraController {
|
|
|
41180
41171
|
* The maximum magnitude, in meters, of the camera position when zooming. Defaults to positive infinity.
|
|
41181
41172
|
*/
|
|
41182
41173
|
maximumZoomDistance: number;
|
|
41174
|
+
/**
|
|
41175
|
+
* A multiplier for the speed at which the camera will zoom.
|
|
41176
|
+
*/
|
|
41177
|
+
zoomFactor: number;
|
|
41183
41178
|
/**
|
|
41184
41179
|
* The input that allows the user to pan around the map. This only applies in 2D and Columbus view modes.
|
|
41185
41180
|
<p>
|
|
@@ -42402,6 +42397,32 @@ export class TimeDynamicPointCloud {
|
|
|
42402
42397
|
destroy(): void;
|
|
42403
42398
|
}
|
|
42404
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
|
+
|
|
42405
42426
|
export namespace UrlTemplateImageryProvider {
|
|
42406
42427
|
/**
|
|
42407
42428
|
* Initialization options for the UrlTemplateImageryProvider constructor
|
|
@@ -42927,11 +42948,6 @@ export class VoxelPrimitive {
|
|
|
42927
42948
|
* Gets or sets whether or not to test against depth when rendering.
|
|
42928
42949
|
*/
|
|
42929
42950
|
depthTest: boolean;
|
|
42930
|
-
/**
|
|
42931
|
-
* Gets or sets whether or not to jitter the view ray during the raymarch.
|
|
42932
|
-
This reduces stair-step artifacts but introduces noise.
|
|
42933
|
-
*/
|
|
42934
|
-
jitter: boolean;
|
|
42935
42951
|
/**
|
|
42936
42952
|
* Gets or sets the nearest sampling.
|
|
42937
42953
|
*/
|
|
@@ -43605,7 +43621,7 @@ const widget2 = new Cesium.CesiumWidget("cesiumContainer", {
|
|
|
43605
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.
|
|
43606
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}.
|
|
43607
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}.
|
|
43608
|
-
* @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.
|
|
43609
43625
|
*/
|
|
43610
43626
|
export class CesiumWidget {
|
|
43611
43627
|
constructor(container: Element | string, options?: {
|
|
@@ -45730,7 +45746,7 @@ export namespace Viewer {
|
|
|
45730
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}.
|
|
45731
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}.
|
|
45732
45748
|
* @property [depthPlaneEllipsoidOffset = 0.0] - Adjust the DepthPlane to address rendering artefacts below ellipsoid zero elevation.
|
|
45733
|
-
* @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.
|
|
45734
45750
|
*/
|
|
45735
45751
|
type ConstructorOptions = {
|
|
45736
45752
|
animation?: boolean;
|