mars3d-cesium 1.130.1 → 1.131.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 +48 -31
- package/Build/Cesium/Cesium.js +707 -782
- package/Build/Cesium/README.md +13 -0
- package/Build/Cesium/ThirdParty/Workers/z-worker-pako.js +1 -1
- package/Build/Cesium/Workers/{chunk-V2CTIKTS.js → chunk-337ELWCW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-577ZEYDC.js → chunk-4SIZTNYP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VMPUAJZS.js → chunk-4Y72SQR5.js} +2 -2
- package/Build/Cesium/Workers/chunk-5YBMFRSO.js +26 -0
- package/Build/Cesium/Workers/{chunk-PJZ3LLCH.js → chunk-6FDDLPKR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-C7PPRNCW.js → chunk-6IDW5JLT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-UOULT5PF.js → chunk-7EKY3AQ3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-UE3FQSRG.js → chunk-7NAAA2KT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-C5ZGOYR3.js → chunk-AXHDVWNT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VM3FZQF7.js → chunk-B43XY262.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3LM7FEM4.js → chunk-BX45C3XS.js} +2 -2
- package/Build/Cesium/Workers/{chunk-OXVI4KUG.js → chunk-C4HEU6LX.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MPPWWYRL.js → chunk-CCOTWSWP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DXODIGRX.js → chunk-D3EOFLUL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3OWEIXOE.js → chunk-DZLMLGXT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CX6XHJ2W.js → chunk-E4CTQDNR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-OHHLQUBD.js → chunk-GFRD27HW.js} +1 -1
- package/Build/Cesium/Workers/{chunk-2RDFA6SI.js → chunk-GSQVTMOC.js} +1 -1
- package/Build/Cesium/Workers/{chunk-WL3K2NZZ.js → chunk-HKRYI6DV.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LEHD3UID.js → chunk-HLQSM5SN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-4GCQQ2W5.js → chunk-I6OYI7CO.js} +2 -2
- package/Build/Cesium/Workers/{chunk-EN3FLSCM.js → chunk-J6I5ZCTL.js} +1 -1
- package/Build/Cesium/Workers/{chunk-WBGJRATN.js → chunk-JR7YHEST.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ETFNFZWQ.js → chunk-K5HT7UXL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-E53ZVF4V.js → chunk-KH3EJFE4.js} +2 -2
- package/Build/Cesium/Workers/{chunk-EUF6KDPA.js → chunk-LMPXL43O.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7SERMA5R.js → chunk-LW5M4YCC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-2KZOZ2AS.js → chunk-LYPYPFXC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-EMN3IZ3L.js → chunk-NGP2CKO6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CYRSZ6AI.js → chunk-PC37ZX6T.js} +2 -2
- package/Build/Cesium/Workers/{chunk-TOC5P6MN.js → chunk-QQYGWGGH.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZKEJQEVH.js → chunk-QZSZBS3D.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DWBJSWLE.js → chunk-RFLSXUIZ.js} +1 -1
- package/Build/Cesium/Workers/{chunk-IKUSPJMX.js → chunk-SEHPSUUF.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FWP27V6G.js → chunk-SWHLGANK.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZKBSTU77.js → chunk-SZMZ5HN2.js} +2 -2
- package/Build/Cesium/Workers/{chunk-M4VGNM53.js → chunk-TAWFJ2HY.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IE5UN7GF.js → chunk-TBAVFI4H.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MNR6VML4.js → chunk-TLPTAWYY.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5QJC43IK.js → chunk-USFLASYL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XKBYFK42.js → chunk-VCTCRKEN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7NOGADYE.js → chunk-VG3VFFCL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-YJ75UI6J.js → chunk-VIY5BSFY.js} +2 -2
- package/Build/Cesium/Workers/{chunk-6KEASHDV.js → chunk-VMS4W7Q6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DEP27QJQ.js → chunk-VQH37XSD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MMG36HAS.js → chunk-VX3MABUO.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FU5KSGBH.js → chunk-WMIJKK2Q.js} +2 -2
- package/Build/Cesium/Workers/{chunk-JH3JCPNS.js → chunk-WZQFTWS6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-MRY7R477.js → chunk-XGQXNCPN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-I24VFCTJ.js → chunk-XSUTGEEJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-BR67VYEI.js → chunk-XTMVK6TZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CLUVKOJC.js → chunk-ZKR66ARQ.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/gaussianSplatSorter.js +2 -2
- package/Build/Cesium/Workers/gaussianSplatTextureGenerator.js +2 -2
- package/Build/Cesium/Workers/transcodeKTX2.js +2 -2
- package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/index.cjs +695 -770
- package/Build/Cesium/index.js +714 -789
- package/README.md +141 -141
- package/package.json +1 -1
- package/Build/Cesium/Workers/chunk-W24JV6D7.js +0 -26
package/Build/Cesium/Cesium.d.ts
CHANGED
|
@@ -13082,11 +13082,20 @@ export enum PixelFormat {
|
|
|
13082
13082
|
*/
|
|
13083
13083
|
RGBA = WebGLConstants.RGBA,
|
|
13084
13084
|
/**
|
|
13085
|
-
*
|
|
13085
|
+
* A pixel format containing a red channel as an integer.
|
|
13086
13086
|
*/
|
|
13087
13087
|
RED_INTEGER = WebGLConstants.RED_INTEGER,
|
|
13088
|
+
/**
|
|
13089
|
+
* A pixel format containing red and green channels as integers.
|
|
13090
|
+
*/
|
|
13088
13091
|
RG_INTEGER = WebGLConstants.RG_INTEGER,
|
|
13092
|
+
/**
|
|
13093
|
+
* A pixel format containing red, green, and blue channels as integers.
|
|
13094
|
+
*/
|
|
13089
13095
|
RGB_INTEGER = WebGLConstants.RGB_INTEGER,
|
|
13096
|
+
/**
|
|
13097
|
+
* A pixel format containing red, green, blue, and alpha channels as integers.
|
|
13098
|
+
*/
|
|
13090
13099
|
RGBA_INTEGER = WebGLConstants.RGBA_INTEGER,
|
|
13091
13100
|
/**
|
|
13092
13101
|
* A pixel format containing a luminance (intensity) channel.
|
|
@@ -28507,6 +28516,8 @@ export namespace Cesium3DTileset {
|
|
|
28507
28516
|
* @property [clippingPlanes] - The {@link ClippingPlaneCollection} used to selectively disable rendering the tileset.
|
|
28508
28517
|
* @property [clippingPolygons] - The {@link ClippingPolygonCollection} used to selectively disable rendering the tileset.
|
|
28509
28518
|
* @property [classificationType] - Determines whether terrain, 3D Tiles or both will be classified by this tileset. See {@link Cesium3DTileset#classificationType} for details about restrictions and limitations.
|
|
28519
|
+
* @property [heightReference] - Sets the {@link HeightReference} for point features in vector tilesets.
|
|
28520
|
+
* @property [scene] - The {@link CesiumWidget#scene} that the tileset will be rendered in, required for tilesets that specify a {@link heightReference} value for clamping 3D Tiles vector data content- like points, lines, and labels- to terrain or 3D tiles.
|
|
28510
28521
|
* @property [ellipsoid = Ellipsoid.WGS84] - The ellipsoid determining the size and shape of the globe.
|
|
28511
28522
|
* @property [pointCloudShading] - Options for constructing a {@link PointCloudShading} object to control point attenuation based on geometric error and lighting.
|
|
28512
28523
|
* @property [lightColor] - The light color when shading models. When <code>undefined</code> the scene's light color is used instead.
|
|
@@ -28573,6 +28584,8 @@ export namespace Cesium3DTileset {
|
|
|
28573
28584
|
clippingPlanes?: ClippingPlaneCollection;
|
|
28574
28585
|
clippingPolygons?: ClippingPolygonCollection;
|
|
28575
28586
|
classificationType?: ClassificationType;
|
|
28587
|
+
heightReference?: HeightReference;
|
|
28588
|
+
scene?: Scene;
|
|
28576
28589
|
ellipsoid?: Ellipsoid;
|
|
28577
28590
|
pointCloudShading?: any;
|
|
28578
28591
|
lightColor?: Cartesian3;
|
|
@@ -28984,11 +28997,6 @@ export class Cesium3DTileset {
|
|
|
28984
28997
|
When true, outlines are displayed. When false, outlines are not displayed.
|
|
28985
28998
|
*/
|
|
28986
28999
|
showOutline: boolean;
|
|
28987
|
-
/**
|
|
28988
|
-
* Whether to display Gaussing Splatting (will fall back to point cloud rendering if false)
|
|
28989
|
-
<insert link to spec here>
|
|
28990
|
-
*/
|
|
28991
|
-
showGaussianSplatting: boolean;
|
|
28992
29000
|
/**
|
|
28993
29001
|
* The color to use when rendering outlines.
|
|
28994
29002
|
*/
|
|
@@ -29302,6 +29310,14 @@ export class Cesium3DTileset {
|
|
|
29302
29310
|
</p>
|
|
29303
29311
|
*/
|
|
29304
29312
|
readonly classificationType: ClassificationType;
|
|
29313
|
+
/**
|
|
29314
|
+
* Specifies if the height is relative to terrain, 3D Tiles, or both.
|
|
29315
|
+
<p>
|
|
29316
|
+
This option is only applied to point features in tilesets containing vector data.
|
|
29317
|
+
This option requires the Viewer's scene to be passed in through options.scene.
|
|
29318
|
+
</p>
|
|
29319
|
+
*/
|
|
29320
|
+
readonly heightReference: HeightReference | undefined;
|
|
29305
29321
|
/**
|
|
29306
29322
|
* Gets an ellipsoid describing the shape of the globe.
|
|
29307
29323
|
*/
|
|
@@ -29490,6 +29506,11 @@ export class Cesium3DTileset {
|
|
|
29490
29506
|
getHeight(cartographic: Cartographic, scene: Scene): number | undefined;
|
|
29491
29507
|
}
|
|
29492
29508
|
|
|
29509
|
+
/**
|
|
29510
|
+
* The {@link CesiumWidget#scene} that the tileset will be rendered in, required for tilesets that specify a {@link heightReference} value for clamping 3D Tiles vector data content- like points, lines, and labels- to terrain or 3D tiles.
|
|
29511
|
+
*/
|
|
29512
|
+
export const of = "undefined";
|
|
29513
|
+
|
|
29493
29514
|
/**
|
|
29494
29515
|
* A style that is applied to a {@link Cesium3DTileset}.
|
|
29495
29516
|
<p>
|
|
@@ -30813,6 +30834,16 @@ export class ClippingPolygonCollection {
|
|
|
30813
30834
|
enabled?: boolean;
|
|
30814
30835
|
inverse?: boolean;
|
|
30815
30836
|
});
|
|
30837
|
+
/**
|
|
30838
|
+
* If true, clipping will be enabled.
|
|
30839
|
+
*/
|
|
30840
|
+
enabled: boolean;
|
|
30841
|
+
/**
|
|
30842
|
+
* If true, a region will be clipped if it is outside of every polygon in the
|
|
30843
|
+
collection. Otherwise, a region will only be clipped if it is
|
|
30844
|
+
inside of any polygon.
|
|
30845
|
+
*/
|
|
30846
|
+
inverse: boolean;
|
|
30816
30847
|
/**
|
|
30817
30848
|
* An event triggered when a new clipping polygon is added to the collection. Event handlers
|
|
30818
30849
|
are passed the new polygon and the index at which it was added.
|
|
@@ -31875,9 +31906,9 @@ export enum DepthFunction {
|
|
|
31875
31906
|
|
|
31876
31907
|
/**
|
|
31877
31908
|
* Returns the type that the given class property has in a GLSL shader.
|
|
31878
|
-
|
|
31879
|
-
It returns the same string as `PropertyTextureProperty.prototype.getGlslType`
|
|
31880
|
-
for a property texture property with the given class property
|
|
31909
|
+
*
|
|
31910
|
+
* It returns the same string as `PropertyTextureProperty.prototype.getGlslType`
|
|
31911
|
+
* for a property texture property with the given class property
|
|
31881
31912
|
* @param classProperty - The class property
|
|
31882
31913
|
* @returns The GLSL shader type string for the property
|
|
31883
31914
|
*/
|
|
@@ -31885,8 +31916,8 @@ export function getGlslType(classProperty: MetadataClassProperty): string;
|
|
|
31885
31916
|
|
|
31886
31917
|
/**
|
|
31887
31918
|
* Returns a shader statement that applies the inverse of the
|
|
31888
|
-
value transform to the given value, based on the given offset
|
|
31889
|
-
and scale.
|
|
31919
|
+
* value transform to the given value, based on the given offset
|
|
31920
|
+
* and scale.
|
|
31890
31921
|
* @param input - The input value
|
|
31891
31922
|
* @param offset - The offset
|
|
31892
31923
|
* @param scale - The scale
|
|
@@ -31896,7 +31927,7 @@ export function unapplyValueTransform(input: string, offset: string, scale: stri
|
|
|
31896
31927
|
|
|
31897
31928
|
/**
|
|
31898
31929
|
* Returns a shader statement that applies the inverse of the
|
|
31899
|
-
normalization, based on the given component type
|
|
31930
|
+
* normalization, based on the given component type
|
|
31900
31931
|
* @param input - The input value
|
|
31901
31932
|
* @param componentType - The component type
|
|
31902
31933
|
* @returns The statement
|
|
@@ -31905,20 +31936,20 @@ export function unnormalize(input: string, componentType: string): string;
|
|
|
31905
31936
|
|
|
31906
31937
|
/**
|
|
31907
31938
|
* Creates a shader statement that returns the value of the specified
|
|
31908
|
-
property, normalized to the range [0, 1].
|
|
31939
|
+
* property, normalized to the range [0, 1].
|
|
31909
31940
|
* @param classProperty - The class property
|
|
31910
31941
|
* @param metadataProperty - The metadata property, either
|
|
31911
|
-
a `PropertyTextureProperty` or a `PropertyAttributeProperty`
|
|
31942
|
+
* a `PropertyTextureProperty` or a `PropertyAttributeProperty`
|
|
31912
31943
|
* @returns The string
|
|
31913
31944
|
*/
|
|
31914
31945
|
export function getSourceValueStringScalar(classProperty: MetadataClassProperty, metadataProperty: any): string;
|
|
31915
31946
|
|
|
31916
31947
|
/**
|
|
31917
31948
|
* Creates a shader statement that returns the value of the specified
|
|
31918
|
-
component of the given property, normalized to the range [0, 1].
|
|
31949
|
+
* component of the given property, normalized to the range [0, 1].
|
|
31919
31950
|
* @param classProperty - The class property
|
|
31920
31951
|
* @param metadataProperty - The metadata property, either
|
|
31921
|
-
a `PropertyTextureProperty` or a `PropertyAttributeProperty`
|
|
31952
|
+
* a `PropertyTextureProperty` or a `PropertyAttributeProperty`
|
|
31922
31953
|
* @param componentName - The name, in ["x", "y", "z", "w"]
|
|
31923
31954
|
* @returns The string
|
|
31924
31955
|
*/
|
|
@@ -37709,10 +37740,6 @@ export class Model {
|
|
|
37709
37740
|
When true, outlines are displayed. When false, outlines are not displayed.
|
|
37710
37741
|
*/
|
|
37711
37742
|
showOutline: boolean;
|
|
37712
|
-
/**
|
|
37713
|
-
* Whether to display Gaussian Splatting (will fall back to point cloud rendering if false)
|
|
37714
|
-
*/
|
|
37715
|
-
showGaussianSplatting: boolean;
|
|
37716
37743
|
/**
|
|
37717
37744
|
* The color to use when rendering outlines.
|
|
37718
37745
|
*/
|
|
@@ -37758,10 +37785,6 @@ export class Model {
|
|
|
37758
37785
|
{@link Cesium3DTileset}.
|
|
37759
37786
|
*/
|
|
37760
37787
|
pointCloudShading: PointCloudShading;
|
|
37761
|
-
/**
|
|
37762
|
-
* {@link Cesium3DTileset}.
|
|
37763
|
-
*/
|
|
37764
|
-
enableShowGaussianSplatting: PointCloudShading;
|
|
37765
37788
|
/**
|
|
37766
37789
|
* The model's custom shader, if it exists. Using custom shaders with a {@link Cesium3DTileStyle}
|
|
37767
37790
|
may lead to undefined behavior.
|
|
@@ -38782,7 +38805,7 @@ export enum UniformType {
|
|
|
38782
38805
|
*/
|
|
38783
38806
|
MAT3 = "mat3",
|
|
38784
38807
|
/**
|
|
38785
|
-
* A
|
|
38808
|
+
* A 4x4 matrix of floating point values.
|
|
38786
38809
|
*/
|
|
38787
38810
|
MAT4 = "mat4",
|
|
38788
38811
|
/**
|
|
@@ -41283,12 +41306,6 @@ export class PrimitiveCollection {
|
|
|
41283
41306
|
destroy(): void;
|
|
41284
41307
|
}
|
|
41285
41308
|
|
|
41286
|
-
/**
|
|
41287
|
-
* Do our dequantizing here. When using meshopt, our positions are quantized,
|
|
41288
|
-
as well as our quaternions. decodeFilterQuat returns quantized shorts
|
|
41289
|
-
*/
|
|
41290
|
-
export function dequantizeSplatMeshopt(): void;
|
|
41291
|
-
|
|
41292
41309
|
/**
|
|
41293
41310
|
* A simple Least Recently Used (LRU) cache implementation.
|
|
41294
41311
|
*/
|