mars3d-cesium 1.102.0 → 1.103.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 +19 -38
- package/Build/Cesium/Cesium.js +4162 -4004
- package/Build/Cesium/ThirdParty/google-earth-dbroot-parser.js +1 -1
- package/Build/Cesium/Workers/{AttributeCompression-5fa81749.js → AttributeCompression-48e336db.js} +1 -1
- package/Build/Cesium/Workers/{AxisAlignedBoundingBox-680337b6.js → AxisAlignedBoundingBox-2c8f82be.js} +1 -1
- package/Build/Cesium/Workers/{BoundingRectangle-58f64349.js → BoundingRectangle-b8248608.js} +1 -1
- package/Build/Cesium/Workers/{BoxGeometry-fb4b6b60.js → BoxGeometry-85afccf5.js} +1 -1
- package/Build/Cesium/Workers/{Color-6b751834.js → Color-50ebab71.js} +1 -1
- package/Build/Cesium/Workers/{ComponentDatatype-dd0b58d1.js → ComponentDatatype-ab629b88.js} +1 -1
- package/Build/Cesium/Workers/{CoplanarPolygonGeometryLibrary-1b418734.js → CoplanarPolygonGeometryLibrary-44d91286.js} +1 -1
- package/Build/Cesium/Workers/{CorridorGeometryLibrary-8e93b16a.js → CorridorGeometryLibrary-0fed6511.js} +1 -1
- package/Build/Cesium/Workers/{CylinderGeometry-9c8f8c77.js → CylinderGeometry-4802140c.js} +1 -1
- package/Build/Cesium/Workers/{CylinderGeometryLibrary-db7678f5.js → CylinderGeometryLibrary-f49f33a8.js} +1 -1
- package/Build/Cesium/Workers/{EllipseGeometry-7a90d5bc.js → EllipseGeometry-e8ae6742.js} +1 -1
- package/Build/Cesium/Workers/{EllipseGeometryLibrary-27e68ef4.js → EllipseGeometryLibrary-6ce53de3.js} +1 -1
- package/Build/Cesium/Workers/{EllipseOutlineGeometry-557afe07.js → EllipseOutlineGeometry-52d25fd2.js} +1 -1
- package/Build/Cesium/Workers/{EllipsoidGeodesic-9484ceff.js → EllipsoidGeodesic-2723ab86.js} +1 -1
- package/Build/Cesium/Workers/EllipsoidGeometry-7cbedd8f.js +1 -0
- package/Build/Cesium/Workers/EllipsoidOutlineGeometry-876d584e.js +1 -0
- package/Build/Cesium/Workers/{EllipsoidRhumbLine-1dd98535.js → EllipsoidRhumbLine-77eff028.js} +1 -1
- package/Build/Cesium/Workers/{EllipsoidTangentPlane-ae5d3d65.js → EllipsoidTangentPlane-4cf30b6c.js} +1 -1
- package/Build/Cesium/Workers/{EncodedCartesian3-f2554a3b.js → EncodedCartesian3-5e2017ab.js} +1 -1
- package/Build/Cesium/Workers/{FrustumGeometry-f54f215c.js → FrustumGeometry-cffd2aa8.js} +1 -1
- package/Build/Cesium/Workers/{GeometryAttribute-6ed30287.js → GeometryAttribute-b10c5c29.js} +1 -1
- package/Build/Cesium/Workers/{GeometryAttributes-52134c76.js → GeometryAttributes-1e4ddcd2.js} +1 -1
- package/Build/Cesium/Workers/{GeometryInstance-c620c48b.js → GeometryInstance-0318e0cd.js} +1 -1
- package/Build/Cesium/Workers/{GeometryPipeline-c180ffdb.js → GeometryPipeline-5926bf6a.js} +1 -1
- package/Build/Cesium/Workers/IndexDatatype-d3db4e7d.js +1 -0
- package/Build/Cesium/Workers/{IntersectionTests-7d927f09.js → IntersectionTests-832aa5c7.js} +1 -1
- package/Build/Cesium/Workers/{Math-8e567554.js → Math-2ce22ee9.js} +1 -1
- package/Build/Cesium/Workers/{Matrix2-66622085.js → Matrix2-413c4048.js} +1 -1
- package/Build/Cesium/Workers/{Matrix3-d6f3913c.js → Matrix3-81054f0f.js} +1 -1
- package/Build/Cesium/Workers/OrientedBoundingBox-c3eda7c2.js +1 -0
- package/Build/Cesium/Workers/{Plane-6aee7ffc.js → Plane-6add0ae1.js} +1 -1
- package/Build/Cesium/Workers/{PolygonGeometryLibrary-227b23c8.js → PolygonGeometryLibrary-d5f3e119.js} +1 -1
- package/Build/Cesium/Workers/{PolygonPipeline-f56a8ec5.js → PolygonPipeline-e8d27f39.js} +1 -1
- package/Build/Cesium/Workers/{PolylinePipeline-eba1803b.js → PolylinePipeline-3006b0cf.js} +1 -1
- package/Build/Cesium/Workers/{PolylineVolumeGeometryLibrary-1f624b8b.js → PolylineVolumeGeometryLibrary-437b726e.js} +1 -1
- package/Build/Cesium/Workers/{PrimitivePipeline-736b1b51.js → PrimitivePipeline-90884677.js} +1 -1
- package/Build/Cesium/Workers/RectangleGeometryLibrary-11b080fb.js +1 -0
- package/Build/Cesium/Workers/{RuntimeError-3c5db370.js → RuntimeError-9b4ce3fb.js} +1 -1
- package/Build/Cesium/Workers/{TerrainEncoding-ce59c054.js → TerrainEncoding-7b6ac0c5.js} +1 -1
- package/Build/Cesium/Workers/Transforms-c65aae74.js +14 -0
- package/Build/Cesium/Workers/{VertexFormat-848ec33d.js → VertexFormat-fbdec922.js} +1 -1
- package/Build/Cesium/Workers/WallGeometryLibrary-dc44247b.js +1 -0
- package/Build/Cesium/Workers/{WebMercatorProjection-53aa47d9.js → WebMercatorProjection-943e2226.js} +1 -1
- package/Build/Cesium/Workers/arrayRemoveDuplicates-9b636830.js +1 -0
- package/Build/Cesium/Workers/cesiumWorkerBootstrapper.js +1 -1
- package/Build/Cesium/Workers/combine-0c102d93.js +1 -0
- package/Build/Cesium/Workers/combineGeometry.js +1 -1
- package/Build/Cesium/Workers/createBoxGeometry.js +1 -1
- package/Build/Cesium/Workers/createBoxOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createCircleGeometry.js +1 -1
- package/Build/Cesium/Workers/createCircleOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +1 -1
- package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createCorridorGeometry.js +1 -1
- package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createCylinderGeometry.js +1 -1
- package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createEllipseGeometry.js +1 -1
- package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createEllipsoidGeometry.js +1 -1
- package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createFrustumGeometry.js +1 -1
- package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createGeometry.js +1 -1
- package/Build/Cesium/Workers/createGroundPolylineGeometry.js +1 -1
- package/Build/Cesium/Workers/createPlaneGeometry.js +1 -1
- package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createPolygonGeometry.js +1 -1
- package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createPolylineGeometry.js +1 -1
- package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +1 -1
- package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createRectangleGeometry.js +1 -1
- package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createSimplePolylineGeometry.js +1 -1
- package/Build/Cesium/Workers/createSphereGeometry.js +1 -1
- package/Build/Cesium/Workers/createSphereOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/createTaskProcessorWorker.js +1 -1
- package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +1 -1
- package/Build/Cesium/Workers/createVectorTileGeometries.js +1 -1
- package/Build/Cesium/Workers/createVectorTilePoints.js +1 -1
- package/Build/Cesium/Workers/createVectorTilePolygons.js +1 -1
- package/Build/Cesium/Workers/createVectorTilePolylines.js +1 -1
- package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
- package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +1 -1
- package/Build/Cesium/Workers/createWallGeometry.js +1 -1
- package/Build/Cesium/Workers/createWallOutlineGeometry.js +1 -1
- package/Build/Cesium/Workers/decodeDraco.js +1 -1
- package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +1 -1
- package/Build/Cesium/Workers/decodeI3S.js +1 -1
- package/Build/Cesium/Workers/package.js +1 -1
- package/Build/Cesium/Workers/transcodeKTX2.js +1 -1
- package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +1 -1
- package/Build/Cesium/index.cjs +4305 -4147
- package/Build/Cesium/index.js +4347 -4189
- package/package.json +14 -13
- package/Build/Cesium/Workers/EllipsoidGeometry-bcf775bb.js +0 -1
- package/Build/Cesium/Workers/EllipsoidOutlineGeometry-97f1f7c7.js +0 -1
- package/Build/Cesium/Workers/IndexDatatype-eddea9c9.js +0 -1
- package/Build/Cesium/Workers/OrientedBoundingBox-60a5c9a1.js +0 -1
- package/Build/Cesium/Workers/RectangleGeometryLibrary-f1f036f8.js +0 -1
- package/Build/Cesium/Workers/Transforms-b7f686a8.js +0 -14
- package/Build/Cesium/Workers/WallGeometryLibrary-d2baa4b3.js +0 -1
- package/Build/Cesium/Workers/arrayRemoveDuplicates-bb49591c.js +0 -1
- package/Build/Cesium/Workers/combine-6eb6e848.js +0 -1
- /package/Build/Cesium/Workers/{ArcType-3d26c7db.js → ArcType-26a3f38d.js} +0 -0
- /package/Build/Cesium/Workers/{GeometryOffsetAttribute-b6810db4.js → GeometryOffsetAttribute-2579b8d2.js} +0 -0
- /package/Build/Cesium/Workers/{WebGLConstants-f7267ced.js → WebGLConstants-7f557f93.js} +0 -0
- /package/Build/Cesium/Workers/{defaultValue-040c41f9.js → defaultValue-f6d5e6da.js} +0 -0
package/Build/Cesium/Cesium.d.ts
CHANGED
|
@@ -1531,12 +1531,6 @@ export class BoxOutlineGeometry {
|
|
|
1531
1531
|
*/
|
|
1532
1532
|
export function buildModuleUrl(relativeUrl: string): string;
|
|
1533
1533
|
|
|
1534
|
-
/**
|
|
1535
|
-
* A browser-independent function to cancel an animation frame requested using {@link requestAnimationFrame}.
|
|
1536
|
-
* @param requestID - The value returned by {@link requestAnimationFrame}.
|
|
1537
|
-
*/
|
|
1538
|
-
export function cancelAnimationFrame(requestID: number): void;
|
|
1539
|
-
|
|
1540
1534
|
/**
|
|
1541
1535
|
* A 2D Cartesian point.
|
|
1542
1536
|
* @param [x = 0.0] - The X component.
|
|
@@ -14718,28 +14712,6 @@ export namespace Request {
|
|
|
14718
14712
|
type PriorityCallback = () => number;
|
|
14719
14713
|
}
|
|
14720
14714
|
|
|
14721
|
-
/**
|
|
14722
|
-
* A browser-independent function to request a new animation frame. This is used to create
|
|
14723
|
-
an application's draw loop as shown in the example below.
|
|
14724
|
-
* @example
|
|
14725
|
-
* // Create a draw loop using requestAnimationFrame. The
|
|
14726
|
-
// tick callback function is called for every animation frame.
|
|
14727
|
-
function tick() {
|
|
14728
|
-
scene.render();
|
|
14729
|
-
Cesium.requestAnimationFrame(tick);
|
|
14730
|
-
}
|
|
14731
|
-
tick();
|
|
14732
|
-
* @param callback - The function to call when the next frame should be drawn.
|
|
14733
|
-
* @returns An ID that can be passed to {@link cancelAnimationFrame} to cancel the request.
|
|
14734
|
-
*/
|
|
14735
|
-
export function requestAnimationFrame(callback: requestAnimationFrameCallback): number;
|
|
14736
|
-
|
|
14737
|
-
/**
|
|
14738
|
-
* A function that will be called when the next frame should be drawn.
|
|
14739
|
-
* @param timestamp - A timestamp for the frame, in milliseconds.
|
|
14740
|
-
*/
|
|
14741
|
-
export type requestAnimationFrameCallback = (timestamp: number) => void;
|
|
14742
|
-
|
|
14743
14715
|
/**
|
|
14744
14716
|
* An event that is raised when a request encounters an error.
|
|
14745
14717
|
* @param [statusCode] - The HTTP error status code, such as 404.
|
|
@@ -24154,7 +24126,7 @@ export class ReferenceProperty {
|
|
|
24154
24126
|
/**
|
|
24155
24127
|
* Gets the array of property names used to retrieve the referenced property.
|
|
24156
24128
|
*/
|
|
24157
|
-
readonly targetPropertyNames:
|
|
24129
|
+
readonly targetPropertyNames: any;
|
|
24158
24130
|
/**
|
|
24159
24131
|
* Gets the resolved instance of the underlying referenced property.
|
|
24160
24132
|
*/
|
|
@@ -24997,13 +24969,13 @@ anisotropic texture filtering when the WebGL extension is supported.
|
|
|
24997
24969
|
Setting this to false will improve performance, but hurt visual quality,
|
|
24998
24970
|
especially for horizon views.
|
|
24999
24971
|
</p>
|
|
25000
|
-
* @property [
|
|
24972
|
+
* @property [requestWebgl1 = false] - If true and the browser supports it, use a WebGL 1 rendering context
|
|
25001
24973
|
* @property [allowTextureFilterAnisotropic = true] - If true, use anisotropic filtering during texture sampling
|
|
25002
24974
|
* @property [webgl] - WebGL options to be passed on to canvas.getContext
|
|
25003
24975
|
* @property [getWebGLStub] - A function to create a WebGL stub for testing
|
|
25004
24976
|
*/
|
|
25005
24977
|
export type ContextOptions = {
|
|
25006
|
-
|
|
24978
|
+
requestWebgl1?: boolean;
|
|
25007
24979
|
allowTextureFilterAnisotropic?: boolean;
|
|
25008
24980
|
webgl?: WebGLOptions;
|
|
25009
24981
|
getWebGLStub?: (...params: any[]) => any;
|
|
@@ -27163,9 +27135,13 @@ the content is loaded on-demand when needed based on the view.
|
|
|
27163
27135
|
<p>
|
|
27164
27136
|
Do not construct this directly, instead access tiles through {@link Cesium3DTileset#tileVisible}.
|
|
27165
27137
|
</p>
|
|
27138
|
+
* @param tileset - The tileset
|
|
27139
|
+
* @param baseResource - The base resource for the tileset
|
|
27140
|
+
* @param header - The JSON header for the tile
|
|
27141
|
+
* @param parent - The parent tile of the new tile
|
|
27166
27142
|
*/
|
|
27167
27143
|
export class Cesium3DTile {
|
|
27168
|
-
constructor();
|
|
27144
|
+
constructor(tileset: Cesium3DTileset, baseResource: Resource, header: any, parent: Cesium3DTile);
|
|
27169
27145
|
/**
|
|
27170
27146
|
* The local transform of this tile.
|
|
27171
27147
|
*/
|
|
@@ -34869,12 +34845,12 @@ polygon.material = new Cesium.Material();
|
|
|
34869
34845
|
|
|
34870
34846
|
// Create a color material with full Fabric notation:
|
|
34871
34847
|
polygon.material = new Cesium.Material({
|
|
34872
|
-
|
|
34873
|
-
|
|
34874
|
-
|
|
34875
|
-
|
|
34876
|
-
}
|
|
34848
|
+
fabric: {
|
|
34849
|
+
type: 'Color',
|
|
34850
|
+
uniforms: {
|
|
34851
|
+
color: new Cesium.Color(1.0, 1.0, 0.0, 1.0)
|
|
34877
34852
|
}
|
|
34853
|
+
}
|
|
34878
34854
|
});
|
|
34879
34855
|
* @param [options] - Object with the following properties:
|
|
34880
34856
|
* @param [options.strict = false] - Throws errors for issues that would normally be ignored, including unused uniforms or materials.
|
|
@@ -34883,6 +34859,7 @@ polygon.material = new Cesium.Material({
|
|
|
34883
34859
|
* @param [options.minificationFilter = TextureMinificationFilter.LINEAR] - The {@link TextureMinificationFilter} to apply to this material's textures.
|
|
34884
34860
|
* @param [options.magnificationFilter = TextureMagnificationFilter.LINEAR] - The {@link TextureMagnificationFilter} to apply to this material's textures.
|
|
34885
34861
|
* @param options.fabric - The fabric JSON used to generate the material.
|
|
34862
|
+
ructor
|
|
34886
34863
|
*/
|
|
34887
34864
|
export class Material {
|
|
34888
34865
|
constructor(options?: {
|
|
@@ -34919,7 +34896,7 @@ export class Material {
|
|
|
34919
34896
|
Shorthand for: new Material({fabric : {type : type}});
|
|
34920
34897
|
* @example
|
|
34921
34898
|
* const material = Cesium.Material.fromType('Color', {
|
|
34922
|
-
|
|
34899
|
+
color: new Cesium.Color(1.0, 0.0, 0.0, 1.0)
|
|
34923
34900
|
});
|
|
34924
34901
|
* @param type - The base material type.
|
|
34925
34902
|
* @param [uniforms] - Overrides for the default uniforms.
|
|
@@ -40113,6 +40090,10 @@ export class ScreenSpaceCameraController {
|
|
|
40113
40090
|
* The minimum height the camera must be before picking the terrain instead of the ellipsoid.
|
|
40114
40091
|
*/
|
|
40115
40092
|
minimumPickingTerrainHeight: number;
|
|
40093
|
+
/**
|
|
40094
|
+
* The minimum distance the camera must be before testing for collision with terrain when zoom with inertia.
|
|
40095
|
+
*/
|
|
40096
|
+
minimumPickingTerrainDistanceWithInertia: number;
|
|
40116
40097
|
/**
|
|
40117
40098
|
* The minimum height the camera must be before testing for collision with terrain.
|
|
40118
40099
|
*/
|