mars3d-cesium 1.89.0 → 1.89.1
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 +54 -22
- package/Build/Cesium/Cesium.js +10 -10
- package/Build/Cesium/README.md +13 -0
- package/Build/Cesium/Scene/ModelExperimental/CustomShaderGuide/README.md +1 -1
- package/Build/Cesium/Workers/AttributeCompression-c52e2037.js +1 -0
- package/Build/Cesium/Workers/AxisAlignedBoundingBox-5b1a95b0.js +1 -0
- package/Build/Cesium/Workers/BoundingRectangle-ea12035b.js +1 -0
- package/Build/Cesium/Workers/BoxGeometry-77c8625d.js +1 -0
- package/Build/Cesium/Workers/Color-0080e56a.js +1 -0
- package/Build/Cesium/Workers/CoplanarPolygonGeometryLibrary-b98e998f.js +1 -0
- package/Build/Cesium/Workers/CorridorGeometryLibrary-ee8dbebd.js +1 -0
- package/Build/Cesium/Workers/CylinderGeometry-418a4c1f.js +1 -0
- package/Build/Cesium/Workers/EllipseGeometry-b98cb5ff.js +1 -0
- package/Build/Cesium/Workers/EllipseGeometryLibrary-7c92cc98.js +1 -0
- package/Build/Cesium/Workers/EllipseOutlineGeometry-9e9bef80.js +1 -0
- package/Build/Cesium/Workers/EllipsoidGeodesic-8588899a.js +1 -0
- package/Build/Cesium/Workers/EllipsoidGeometry-1e27c9b2.js +1 -0
- package/Build/Cesium/Workers/EllipsoidOutlineGeometry-95a21298.js +1 -0
- package/Build/Cesium/Workers/EllipsoidRhumbLine-edb2b078.js +1 -0
- package/Build/Cesium/Workers/EllipsoidTangentPlane-0bd319d3.js +1 -0
- package/Build/Cesium/Workers/EncodedCartesian3-03fb2d5c.js +1 -0
- package/Build/Cesium/Workers/FrustumGeometry-9d317d5e.js +1 -0
- package/Build/Cesium/Workers/GeometryAttribute-888649bf.js +1 -0
- package/Build/Cesium/Workers/GeometryInstance-dfe29392.js +1 -0
- package/Build/Cesium/Workers/GeometryPipeline-50371ee3.js +1 -0
- package/Build/Cesium/Workers/IntersectionTests-09df2d6e.js +1 -0
- package/Build/Cesium/Workers/Matrix2-09da682a.js +1 -0
- package/Build/Cesium/Workers/OrientedBoundingBox-e84e3ad6.js +1 -0
- package/Build/Cesium/Workers/Plane-5dd27ab8.js +1 -0
- package/Build/Cesium/Workers/PolygonGeometryLibrary-b7d3eb7e.js +1 -0
- package/Build/Cesium/Workers/PolygonPipeline-c9dd22c9.js +1 -0
- package/Build/Cesium/Workers/PolylinePipeline-a41f70b4.js +1 -0
- package/Build/Cesium/Workers/PolylineVolumeGeometryLibrary-4f389875.js +1 -0
- package/Build/Cesium/Workers/PrimitivePipeline-2965dd7b.js +1 -0
- package/Build/Cesium/Workers/RectangleGeometryLibrary-0b723e0f.js +1 -0
- package/Build/Cesium/Workers/TerrainEncoding-979d5452.js +1 -0
- package/Build/Cesium/Workers/Transforms-037fb660.js +39 -0
- package/Build/Cesium/Workers/WallGeometryLibrary-066ff994.js +1 -0
- package/Build/Cesium/Workers/WebMercatorProjection-3c9e4602.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/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 +1 -1
- 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/upsampleQuantizedTerrainMesh.js +1 -1
- package/package.json +1 -1
package/Build/Cesium/Cesium.d.ts
CHANGED
|
@@ -10167,11 +10167,11 @@ export class Matrix3 implements ArrayLike<number> {
|
|
|
10167
10167
|
var column1Row0Index = Cesium.Matrix3.getElementIndex(1, 0);
|
|
10168
10168
|
var column1Row0 = myMatrix[column1Row0Index]
|
|
10169
10169
|
myMatrix[column1Row0Index] = 10.0;
|
|
10170
|
-
* @param row - The zero-based index of the row.
|
|
10171
10170
|
* @param column - The zero-based index of the column.
|
|
10171
|
+
* @param row - The zero-based index of the row.
|
|
10172
10172
|
* @returns The index of the element at the provided row and column.
|
|
10173
10173
|
*/
|
|
10174
|
-
static getElementIndex(
|
|
10174
|
+
static getElementIndex(column: number, row: number): number;
|
|
10175
10175
|
/**
|
|
10176
10176
|
* Retrieves a copy of the matrix column at the provided index as a Cartesian3 instance.
|
|
10177
10177
|
* @param matrix - The matrix to use.
|
|
@@ -26819,6 +26819,12 @@ export class Cesium3DTileFeature {
|
|
|
26819
26819
|
the tileset containing the feature.
|
|
26820
26820
|
*/
|
|
26821
26821
|
readonly primitive: Cesium3DTileset;
|
|
26822
|
+
/**
|
|
26823
|
+
* Get the feature ID associated with this feature. For 3D Tiles 1.0, the
|
|
26824
|
+
batch ID is returned. For EXT_mesh_features, this is the feature ID from
|
|
26825
|
+
the selected feature ID set.
|
|
26826
|
+
*/
|
|
26827
|
+
readonly featureId: number;
|
|
26822
26828
|
/**
|
|
26823
26829
|
* Returns whether the feature contains this property. This includes properties from this feature's
|
|
26824
26830
|
class and inherited classes when using a batch table hierarchy.
|
|
@@ -27382,10 +27388,6 @@ export class Cesium3DTileset {
|
|
|
27382
27388
|
resulting in a mix of the source color and feature color.
|
|
27383
27389
|
*/
|
|
27384
27390
|
colorBlendAmount: number;
|
|
27385
|
-
/**
|
|
27386
|
-
* Options for controlling point size based on geometric error and eye dome lighting.
|
|
27387
|
-
*/
|
|
27388
|
-
pointCloudShading: PointCloudShading;
|
|
27389
27391
|
/**
|
|
27390
27392
|
* The event fired to indicate progress of loading new tiles. This event is fired when a new tile
|
|
27391
27393
|
is requested, when a requested tile is finished downloading, and when a downloaded tile has been
|
|
@@ -27838,6 +27840,10 @@ export class Cesium3DTileset {
|
|
|
27838
27840
|
</p>
|
|
27839
27841
|
*/
|
|
27840
27842
|
maximumMemoryUsage: number;
|
|
27843
|
+
/**
|
|
27844
|
+
* Options for controlling point size based on geometric error and eye dome lighting.
|
|
27845
|
+
*/
|
|
27846
|
+
pointCloudShading: PointCloudShading;
|
|
27841
27847
|
/**
|
|
27842
27848
|
* The root tile.
|
|
27843
27849
|
*/
|
|
@@ -33973,14 +33979,6 @@ export class Material {
|
|
|
33973
33979
|
* Gets the name of the elevation contour material.
|
|
33974
33980
|
*/
|
|
33975
33981
|
static readonly ElevationRampType: string;
|
|
33976
|
-
/**
|
|
33977
|
-
* Gets the name of the yanmo material.
|
|
33978
|
-
*/
|
|
33979
|
-
static readonly YanMoType: string;
|
|
33980
|
-
/**
|
|
33981
|
-
* Gets the name of the yanmo material.
|
|
33982
|
-
*/
|
|
33983
|
-
static readonly WaJueType: string;
|
|
33984
33982
|
/**
|
|
33985
33983
|
* Gets the name of the slope ramp material.
|
|
33986
33984
|
*/
|
|
@@ -35150,6 +35148,7 @@ the Model from your source data type.
|
|
|
35150
35148
|
* @param [options.colorBlendAmount = 0.5] - Value used to determine the color strength when the <code>colorBlendMode</code> is <code>MIX</code>. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two.
|
|
35151
35149
|
* @param [options.featureIdAttributeIndex = 0] - The index of the feature ID attribute to use for picking features per-instance or per-primitive.
|
|
35152
35150
|
* @param [options.featureIdTextureIndex = 0] - The index of the feature ID texture to use for picking features per-primitive.
|
|
35151
|
+
* @param [options.pointCloudShading] - Options for constructing a {@link PointCloudShading} object to control point attenuation based on geometric error and lighting.
|
|
35153
35152
|
*/
|
|
35154
35153
|
export class ModelExperimental {
|
|
35155
35154
|
constructor(options: {
|
|
@@ -35167,6 +35166,7 @@ export class ModelExperimental {
|
|
|
35167
35166
|
colorBlendAmount?: number;
|
|
35168
35167
|
featureIdAttributeIndex?: number;
|
|
35169
35168
|
featureIdTextureIndex?: number;
|
|
35169
|
+
pointCloudShading?: any;
|
|
35170
35170
|
});
|
|
35171
35171
|
/**
|
|
35172
35172
|
* When <code>true</code>, this model is ready to render, i.e., the external binary, image,
|
|
@@ -35182,6 +35182,12 @@ export class ModelExperimental {
|
|
|
35182
35182
|
</p>
|
|
35183
35183
|
*/
|
|
35184
35184
|
readonly readyPromise: Promise<ModelExperimental>;
|
|
35185
|
+
/**
|
|
35186
|
+
* Point cloud shading settings for controlling point cloud attenuation
|
|
35187
|
+
and lighting. For 3D Tiles, this is inherited from the
|
|
35188
|
+
{@link Cesium3DTileset}.
|
|
35189
|
+
*/
|
|
35190
|
+
pointCloudShading: PointCloudShading;
|
|
35185
35191
|
/**
|
|
35186
35192
|
* The model's custom shader, if it exists. Using custom shaders with a {@link Cesium3DTileStyle}
|
|
35187
35193
|
may lead to undefined behavior.
|
|
@@ -35277,6 +35283,7 @@ export class ModelExperimental {
|
|
|
35277
35283
|
* @param [options.colorBlendAmount = 0.5] - Value used to determine the color strength when the <code>colorBlendMode</code> is <code>MIX</code>. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two.
|
|
35278
35284
|
* @param [options.featureIdAttributeIndex = 0] - The index of the feature ID attribute to use for picking features per-instance or per-primitive.
|
|
35279
35285
|
* @param [options.featureIdTextureIndex = 0] - The index of the feature ID texture to use for picking features per-primitive.
|
|
35286
|
+
* @param [options.pointCloudShading] - Options for constructing a {@link PointCloudShading} object to control point attenuation and lighting.
|
|
35280
35287
|
* @returns The newly created model.
|
|
35281
35288
|
*/
|
|
35282
35289
|
static fromGltf(options: {
|
|
@@ -35299,14 +35306,10 @@ export class ModelExperimental {
|
|
|
35299
35306
|
colorBlendAmount?: number;
|
|
35300
35307
|
featureIdAttributeIndex?: number;
|
|
35301
35308
|
featureIdTextureIndex?: number;
|
|
35309
|
+
pointCloudShading?: any;
|
|
35302
35310
|
}): ModelExperimental;
|
|
35303
35311
|
}
|
|
35304
35312
|
|
|
35305
|
-
/**
|
|
35306
|
-
* The style to apply the to the features in the model. Cannot be applied if a {@link CustomShader} is also applied.
|
|
35307
|
-
*/
|
|
35308
|
-
export var style: Cesium3DTileStyle;
|
|
35309
|
-
|
|
35310
35313
|
/**
|
|
35311
35314
|
* The 4x4 transformation matrix that transforms the model from model to world coordinates.
|
|
35312
35315
|
When this is the identity matrix, the model is drawn in world coordinates, i.e., Earth's Cartesian WGS84 coordinates.
|
|
@@ -35318,6 +35321,31 @@ m.modelMatrix = Cesium.Transforms.eastNorthUpToFixedFrame(origin);
|
|
|
35318
35321
|
*/
|
|
35319
35322
|
export var modelMatrix: Matrix4;
|
|
35320
35323
|
|
|
35324
|
+
/**
|
|
35325
|
+
* The style to apply the to the features in the model. Cannot be applied if a {@link CustomShader} is also applied.
|
|
35326
|
+
*/
|
|
35327
|
+
export var style: Cesium3DTileStyle;
|
|
35328
|
+
|
|
35329
|
+
/**
|
|
35330
|
+
* Update stages to apply to this primitive.
|
|
35331
|
+
*/
|
|
35332
|
+
export var updateStages: any;
|
|
35333
|
+
|
|
35334
|
+
/**
|
|
35335
|
+
* The indices of the children of this node in the scene graph.
|
|
35336
|
+
*/
|
|
35337
|
+
export const children: number[];
|
|
35338
|
+
|
|
35339
|
+
/**
|
|
35340
|
+
* Update stages to apply to this primitive.
|
|
35341
|
+
*/
|
|
35342
|
+
export var updateStages: any;
|
|
35343
|
+
|
|
35344
|
+
/**
|
|
35345
|
+
* Update stages to across the model.
|
|
35346
|
+
*/
|
|
35347
|
+
export var _updateStages: any;
|
|
35348
|
+
|
|
35321
35349
|
/**
|
|
35322
35350
|
* A feature of a {@link ModelExperimental}.
|
|
35323
35351
|
<p>
|
|
@@ -35357,6 +35385,12 @@ export class ModelFeature {
|
|
|
35357
35385
|
when a style's color is evaluated.
|
|
35358
35386
|
*/
|
|
35359
35387
|
color: Color;
|
|
35388
|
+
/**
|
|
35389
|
+
* Get the feature ID associated with this feature. For 3D Tiles 1.0, the
|
|
35390
|
+
batch ID is returned. For EXT_mesh_features, this is the feature ID from
|
|
35391
|
+
the selected feature ID set.
|
|
35392
|
+
*/
|
|
35393
|
+
readonly featureId: number;
|
|
35360
35394
|
/**
|
|
35361
35395
|
* Returns whether the feature contains this property.
|
|
35362
35396
|
* @param name - The case-sensitive name of the property.
|
|
@@ -38249,8 +38283,7 @@ export class Scene {
|
|
|
38249
38283
|
* When <code>true</code>, enables picking translucent geometry using the depth buffer. Note that {@link Scene#useDepthPicking} must also be true for enabling this to work.
|
|
38250
38284
|
|
|
38251
38285
|
<p>
|
|
38252
|
-
|
|
38253
|
-
<br>There is a decrease in performance when enabled. There are extra draw calls to write depth for
|
|
38286
|
+
There is a decrease in performance when enabled. There are extra draw calls to write depth for
|
|
38254
38287
|
translucent geometry.
|
|
38255
38288
|
</p>
|
|
38256
38289
|
* @example
|
|
@@ -38261,7 +38294,6 @@ export class Scene {
|
|
|
38261
38294
|
// nothing picked
|
|
38262
38295
|
return;
|
|
38263
38296
|
}
|
|
38264
|
-
viewer.scene.render();
|
|
38265
38297
|
var worldPosition = viewer.scene.pickPosition(movement.position);
|
|
38266
38298
|
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
38267
38299
|
*/
|