mars3d-cesium 1.142.1 → 1.142.2
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 +59 -246
- package/Build/Cesium/Cesium.js +6480 -6480
- package/Build/Cesium/Workers/{chunk-RSFJBA3I.js → chunk-2UKBY5SP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-OSIBWZIF.js → chunk-2WLEHP5L.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XWBCSISC.js → chunk-3IPFLS4B.js} +2 -2
- package/Build/Cesium/Workers/{chunk-RRSSD2CI.js → chunk-3YGDD6EJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XBYMS5AV.js → chunk-42VTSSIH.js} +2 -2
- package/Build/Cesium/Workers/{chunk-P52G42H4.js → chunk-4H24WXIW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-PGY3OEVW.js → chunk-4MLDGMEV.js} +1 -1
- package/Build/Cesium/Workers/{chunk-RO4BRLAD.js → chunk-4S36DQCV.js} +2 -2
- package/Build/Cesium/Workers/{chunk-KXVHCEY2.js → chunk-5ZT6ZFDP.js} +2 -2
- package/Build/Cesium/Workers/{chunk-JZGYJV5E.js → chunk-6VHKA3VW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZQ6XEE6M.js → chunk-7HALWTCK.js} +2 -2
- package/Build/Cesium/Workers/{chunk-NQPJPU5W.js → chunk-7ZAL4IN4.js} +1 -1
- package/Build/Cesium/Workers/{chunk-7N2AJIJC.js → chunk-BAQXDPDM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GXRULXBP.js → chunk-BBX7BBHZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-C3JKZBS5.js → chunk-BZDQ5KVN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-TKI7JJEW.js → chunk-CCGTX3CU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GUQRQN7K.js → chunk-DF7QOB5A.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XEIKJVHN.js → chunk-DKECYXB4.js} +2 -2
- package/Build/Cesium/Workers/{chunk-B2DQOEDE.js → chunk-EIWLUTKC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-G7RN6XT4.js → chunk-FA6YXDGA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-4P7GORSL.js → chunk-FKSSFSOY.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3TSBNXE7.js → chunk-FZHW35IM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-EXLRE22Z.js → chunk-G775OO4W.js} +2 -2
- package/Build/Cesium/Workers/{chunk-3WEMURR3.js → chunk-GY37VMGY.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5JDT4VMQ.js → chunk-HLURJJGW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LJS2AJIZ.js → chunk-HNILEKXM.js} +1 -1
- package/Build/Cesium/Workers/{chunk-AMW3SAPD.js → chunk-I5FV7YM2.js} +2 -2
- package/Build/Cesium/Workers/{chunk-EPSEO3NS.js → chunk-IDLI2KSY.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZR4ZOFPL.js → chunk-KGMYW3M3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XIOENNW3.js → chunk-KL3HPWEC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7Z4ZLIOW.js → chunk-KNXPBKRM.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VSASJODR.js → chunk-L2XSJNGP.js} +1 -1
- package/Build/Cesium/Workers/{chunk-2ZR6QSSI.js → chunk-LON2ZWED.js} +2 -2
- package/Build/Cesium/Workers/{chunk-RDFB7N2T.js → chunk-LPMLB7Z6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-O6FXZBDO.js → chunk-LR6YGRET.js} +2 -2
- package/Build/Cesium/Workers/{chunk-AC5MHRDL.js → chunk-M76EA5FA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-L6XPUI5D.js → chunk-MAOOIJFB.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XJHYCOQA.js → chunk-MQPHWN46.js} +2 -2
- package/Build/Cesium/Workers/{chunk-G6WZEABM.js → chunk-MUA5S6ZF.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FBIEWIA4.js → chunk-MZIS6EDB.js} +2 -2
- package/Build/Cesium/Workers/{chunk-RHD3WQLV.js → chunk-NIII5EFF.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7ZJXIJ2F.js → chunk-NLNZEWTX.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LS5FAYAA.js → chunk-OBKERRFX.js} +2 -2
- package/Build/Cesium/Workers/{chunk-4ETAQ37B.js → chunk-QEHDFCIC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7PLCLLWC.js → chunk-RKX5YL4I.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GJZHYIBC.js → chunk-RNEJRBH4.js} +1 -1
- package/Build/Cesium/Workers/{chunk-LQ243OAE.js → chunk-RS2C3NYW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5RMHOCKK.js → chunk-RVZ4PQIT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-H6LAOR5B.js → chunk-UDC5E5ZJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XMAHJCEX.js → chunk-VJRYROWL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-HKFO4UYN.js → chunk-WOWMWC56.js} +2 -2
- package/Build/Cesium/Workers/{chunk-KYDKUWWA.js → chunk-XLRPLD2K.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LVWTUFWY.js → chunk-XQTWBHCA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-4N7H6YZE.js → chunk-XVGAYULL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-QZ5EGJQN.js → chunk-YS63R4XU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-TXZVEXHN.js → chunk-Z5W764BC.js} +1 -1
- package/Build/Cesium/Workers/{chunk-2WTSOQGS.js → chunk-ZALZ625P.js} +2 -2
- 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/createVerticesFromCesium3DTilesTerrain.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/incrementallyBuildTerrainPicker.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/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +2 -2
- package/Build/Cesium/index.cjs +6520 -6520
- package/Build/Cesium/index.js +6525 -6525
- package/package.json +2 -2
package/Build/Cesium/Cesium.d.ts
CHANGED
|
@@ -3689,8 +3689,6 @@ export enum ClockStep {
|
|
|
3689
3689
|
*/
|
|
3690
3690
|
export function clone(object: any, deep?: boolean): any;
|
|
3691
3691
|
|
|
3692
|
-
export function hue2rgb(): void;
|
|
3693
|
-
|
|
3694
3692
|
/**
|
|
3695
3693
|
* A color, specified using red, green, blue, and alpha values,
|
|
3696
3694
|
which range from <code>0</code> (no intensity) to <code>1.0</code> (full intensity).
|
|
@@ -9013,17 +9011,20 @@ export enum IndexDatatype {
|
|
|
9013
9011
|
UNSIGNED_INT = WebGLConstants.UNSIGNED_INT
|
|
9014
9012
|
}
|
|
9015
9013
|
|
|
9016
|
-
|
|
9014
|
+
/**
|
|
9015
|
+
* The interface for interpolation algorithms.
|
|
9016
|
+
*/
|
|
9017
|
+
export interface InterpolationAlgorithm {
|
|
9017
9018
|
/**
|
|
9018
9019
|
* Gets the name of this interpolation algorithm.
|
|
9019
9020
|
*/
|
|
9020
|
-
|
|
9021
|
+
type: string;
|
|
9021
9022
|
/**
|
|
9022
9023
|
* Given the desired degree, returns the number of data points required for interpolation.
|
|
9023
9024
|
* @param degree - The desired degree of interpolation.
|
|
9024
9025
|
* @returns The number of required data points needed for the desired degree of interpolation.
|
|
9025
9026
|
*/
|
|
9026
|
-
|
|
9027
|
+
getRequiredDataPoints(degree: number): number;
|
|
9027
9028
|
/**
|
|
9028
9029
|
* Performs zero order interpolation.
|
|
9029
9030
|
* @param x - The independent variable for which the dependent variables will be interpolated.
|
|
@@ -9036,7 +9037,7 @@ export namespace InterpolationAlgorithm {
|
|
|
9036
9037
|
* @param [result] - An existing array into which to store the result.
|
|
9037
9038
|
* @returns The array of interpolated values, or the result parameter if one was provided.
|
|
9038
9039
|
*/
|
|
9039
|
-
|
|
9040
|
+
interpolateOrderZero(x: number, xTable: number[], yTable: number[], yStride: number, result?: number[]): number[];
|
|
9040
9041
|
/**
|
|
9041
9042
|
* Performs higher order interpolation. Not all interpolators need to support high-order interpolation,
|
|
9042
9043
|
if this function remains undefined on implementing objects, interpolateOrderZero will be used instead.
|
|
@@ -9052,13 +9053,7 @@ export namespace InterpolationAlgorithm {
|
|
|
9052
9053
|
* @param [result] - An existing array into which to store the result.
|
|
9053
9054
|
* @returns The array of interpolated values, or the result parameter if one was provided.
|
|
9054
9055
|
*/
|
|
9055
|
-
|
|
9056
|
-
}
|
|
9057
|
-
|
|
9058
|
-
/**
|
|
9059
|
-
* The interface for interpolation algorithms.
|
|
9060
|
-
*/
|
|
9061
|
-
export interface InterpolationAlgorithm {
|
|
9056
|
+
interpolate(x: number, xTable: number[], yTable: number[], yStride: number, inputOrder: number, outputOrder: number, result?: number[]): number[];
|
|
9062
9057
|
}
|
|
9063
9058
|
|
|
9064
9059
|
/**
|
|
@@ -17280,16 +17275,6 @@ export class TerrainData {
|
|
|
17280
17275
|
wasCreatedByUpsampling(): boolean;
|
|
17281
17276
|
}
|
|
17282
17277
|
|
|
17283
|
-
/**
|
|
17284
|
-
* Creates an axis-aligned bounding box for a quadtree node at the given tree-space coordinates and level.
|
|
17285
|
-
This AABB is in the tree's local space (where the root node of the tree is a unit cube in its own local space).
|
|
17286
|
-
* @param x - The x coordinate of the node.
|
|
17287
|
-
* @param y - The y coordinate of the node.
|
|
17288
|
-
* @param level - The level of the node.
|
|
17289
|
-
* @returns The axis-aligned bounding box for the node.
|
|
17290
|
-
*/
|
|
17291
|
-
export function createAABBForNode(x: number, y: number, level: number): AxisAlignedBoundingBox;
|
|
17292
|
-
|
|
17293
17278
|
export namespace TerrainProvider {
|
|
17294
17279
|
/**
|
|
17295
17280
|
* A function that is called when an error occurs.
|
|
@@ -19137,15 +19122,6 @@ export enum WindingOrder {
|
|
|
19137
19122
|
COUNTER_CLOCKWISE = WebGLConstants.CCW
|
|
19138
19123
|
}
|
|
19139
19124
|
|
|
19140
|
-
/**
|
|
19141
|
-
* Computes dimensions for text, based on current canvas state.
|
|
19142
|
-
|
|
19143
|
-
Rounds metrics, excluding width, to whole pixels. This is purely to minimize
|
|
19144
|
-
rendering differences with migration to in-browser measureText(), and may be
|
|
19145
|
-
revised in the future. See: github.com/CesiumGS/cesium/pull/13081
|
|
19146
|
-
*/
|
|
19147
|
-
export function measureText(): void;
|
|
19148
|
-
|
|
19149
19125
|
/**
|
|
19150
19126
|
* Writes the given text into a new canvas. The canvas will be sized to fit the text.
|
|
19151
19127
|
If text is blank, returns undefined.
|
|
@@ -22715,11 +22691,39 @@ export class KmlDataSource {
|
|
|
22715
22691
|
update(time: JulianDate): boolean;
|
|
22716
22692
|
}
|
|
22717
22693
|
|
|
22694
|
+
export namespace KmlFeatureData {
|
|
22695
|
+
/**
|
|
22696
|
+
* @property name - Gets the name.
|
|
22697
|
+
* @property uri - Gets the URI.
|
|
22698
|
+
* @property age - Gets the email.
|
|
22699
|
+
*/
|
|
22700
|
+
type Author = {
|
|
22701
|
+
name: string;
|
|
22702
|
+
uri: string;
|
|
22703
|
+
age: number;
|
|
22704
|
+
};
|
|
22705
|
+
/**
|
|
22706
|
+
* @property href - Gets the href.
|
|
22707
|
+
* @property hreflang - Gets the language of the linked resource.
|
|
22708
|
+
* @property rel - Gets the link relation.
|
|
22709
|
+
* @property type - Gets the link type.
|
|
22710
|
+
* @property title - Gets the link title.
|
|
22711
|
+
* @property length - Gets the link length.
|
|
22712
|
+
*/
|
|
22713
|
+
type Link = {
|
|
22714
|
+
href: string;
|
|
22715
|
+
hreflang: string;
|
|
22716
|
+
rel: string;
|
|
22717
|
+
type: string;
|
|
22718
|
+
title: string;
|
|
22719
|
+
length: string;
|
|
22720
|
+
};
|
|
22721
|
+
}
|
|
22722
|
+
|
|
22718
22723
|
/**
|
|
22719
22724
|
* Contains KML Feature data loaded into the <code>Entity.kml</code> property by {@link KmlDataSource}.
|
|
22720
22725
|
*/
|
|
22721
22726
|
export class KmlFeatureData {
|
|
22722
|
-
constructor();
|
|
22723
22727
|
/**
|
|
22724
22728
|
* Gets the atom syndication format author field.
|
|
22725
22729
|
*/
|
|
@@ -22748,35 +22752,6 @@ export class KmlFeatureData {
|
|
|
22748
22752
|
extendedData: string;
|
|
22749
22753
|
}
|
|
22750
22754
|
|
|
22751
|
-
export namespace KmlFeatureData {
|
|
22752
|
-
/**
|
|
22753
|
-
* @property name - Gets the name.
|
|
22754
|
-
* @property uri - Gets the URI.
|
|
22755
|
-
* @property age - Gets the email.
|
|
22756
|
-
*/
|
|
22757
|
-
type Author = {
|
|
22758
|
-
name: string;
|
|
22759
|
-
uri: string;
|
|
22760
|
-
age: number;
|
|
22761
|
-
};
|
|
22762
|
-
/**
|
|
22763
|
-
* @property href - Gets the href.
|
|
22764
|
-
* @property hreflang - Gets the language of the linked resource.
|
|
22765
|
-
* @property rel - Gets the link relation.
|
|
22766
|
-
* @property type - Gets the link type.
|
|
22767
|
-
* @property title - Gets the link title.
|
|
22768
|
-
* @property length - Gets the link length.
|
|
22769
|
-
*/
|
|
22770
|
-
type Link = {
|
|
22771
|
-
href: string;
|
|
22772
|
-
hreflang: string;
|
|
22773
|
-
rel: string;
|
|
22774
|
-
type: string;
|
|
22775
|
-
title: string;
|
|
22776
|
-
length: string;
|
|
22777
|
-
};
|
|
22778
|
-
}
|
|
22779
|
-
|
|
22780
22755
|
/**
|
|
22781
22756
|
* @param position - camera position
|
|
22782
22757
|
* @param headingPitchRange - camera orientation
|
|
@@ -23486,10 +23461,11 @@ export namespace PathGraphics {
|
|
|
23486
23461
|
* @property [leadTime] - A Property specifying the number of seconds in front the object to show.
|
|
23487
23462
|
* @property [trailTime] - A Property specifying the number of seconds behind of the object to show.
|
|
23488
23463
|
* @property [width = 1.0] - A numeric Property specifying the width in pixels.
|
|
23489
|
-
* @property [resolution = 60] - A numeric Property specifying the maximum number of seconds to step when sampling the position.
|
|
23464
|
+
* @property [resolution = 60] - A numeric Property specifying the maximum number of seconds to step when sampling the position. Fractional positive values are allowed; in PORTIONS materialMode, non-positive values fall back to the default resolution of 60 seconds.
|
|
23490
23465
|
* @property [material = Color.WHITE] - A Property specifying the material used to draw the path.
|
|
23491
23466
|
* @property [distanceDisplayCondition] - A Property specifying at what distance from the camera that this path will be displayed.
|
|
23492
23467
|
* @property [relativeTo] - A Property specifying the frame in which to visualize the path. Use another entity's id to visualize the path relative to that entity, or use the string values "FIXED" or "INERTIAL" to visualize the path in those reference frames.
|
|
23468
|
+
* @property [materialMode] - A Property specifying how material properties are applied along the path.
|
|
23493
23469
|
*/
|
|
23494
23470
|
type ConstructorOptions = {
|
|
23495
23471
|
show?: Property | boolean;
|
|
@@ -23500,6 +23476,7 @@ export namespace PathGraphics {
|
|
|
23500
23476
|
material?: MaterialProperty | Color;
|
|
23501
23477
|
distanceDisplayCondition?: Property | DistanceDisplayCondition;
|
|
23502
23478
|
relativeTo?: Property | string;
|
|
23479
|
+
materialMode?: Property | PathMode;
|
|
23503
23480
|
};
|
|
23504
23481
|
}
|
|
23505
23482
|
|
|
@@ -23531,6 +23508,7 @@ export class PathGraphics {
|
|
|
23531
23508
|
width: Property | undefined;
|
|
23532
23509
|
/**
|
|
23533
23510
|
* Gets or sets the Property specifying the maximum number of seconds to step when sampling the position.
|
|
23511
|
+
Fractional positive values are allowed; in PORTIONS materialMode, non-positive values fall back to the default resolution of 60 seconds.
|
|
23534
23512
|
*/
|
|
23535
23513
|
resolution: Property | undefined;
|
|
23536
23514
|
/**
|
|
@@ -23559,6 +23537,21 @@ export class PathGraphics {
|
|
|
23559
23537
|
merge(source: PathGraphics): void;
|
|
23560
23538
|
}
|
|
23561
23539
|
|
|
23540
|
+
/**
|
|
23541
|
+
* Defines how material properties are applied along a path.
|
|
23542
|
+
*/
|
|
23543
|
+
export enum PathMode {
|
|
23544
|
+
/**
|
|
23545
|
+
* The material is applied to the entire path as a whole.
|
|
23546
|
+
*/
|
|
23547
|
+
WHOLE = 0,
|
|
23548
|
+
/**
|
|
23549
|
+
* The material is applied in portions based on temporal position information,
|
|
23550
|
+
using interval-based material properties.
|
|
23551
|
+
*/
|
|
23552
|
+
PORTIONS = 1
|
|
23553
|
+
}
|
|
23554
|
+
|
|
23562
23555
|
/**
|
|
23563
23556
|
* Transforms a path entity's position into the local frame of the reference entity.
|
|
23564
23557
|
If the reference entity has an orientation, uses that orientation to define the local frame.
|
|
@@ -26098,8 +26091,6 @@ export enum TextureMinificationFilter {
|
|
|
26098
26091
|
LINEAR_MIPMAP_LINEAR = WebGLConstants.LINEAR_MIPMAP_LINEAR
|
|
26099
26092
|
}
|
|
26100
26093
|
|
|
26101
|
-
export function addAttribute(): void;
|
|
26102
|
-
|
|
26103
26094
|
/**
|
|
26104
26095
|
* An appearance defines the full GLSL vertex and fragment shaders and the
|
|
26105
26096
|
render state used to draw a {@link Primitive}. All appearances implement
|
|
@@ -32174,33 +32165,6 @@ export class ClippingPolygon {
|
|
|
32174
32165
|
computeRectangle(result?: Rectangle): Rectangle;
|
|
32175
32166
|
}
|
|
32176
32167
|
|
|
32177
|
-
/**
|
|
32178
|
-
* Returns a deep copy of the given array.
|
|
32179
|
-
|
|
32180
|
-
If the input is undefined, then <code>undefined</code> is returned.
|
|
32181
|
-
|
|
32182
|
-
Otherwise, the result will be a copy of the given array, where
|
|
32183
|
-
each element is copied with <code>Cartesian3.clone</code>.
|
|
32184
|
-
* @param input - The input array
|
|
32185
|
-
* @returns The copy
|
|
32186
|
-
*/
|
|
32187
|
-
export function copyArrayCartesian3(input: Cartesian3[] | undefined): Cartesian3[] | undefined;
|
|
32188
|
-
|
|
32189
|
-
/**
|
|
32190
|
-
* Returns whether the given arrays are component-wise equal.
|
|
32191
|
-
|
|
32192
|
-
When both arrays are undefined, then <code>true</code> is returned.
|
|
32193
|
-
When only one array is defined, or they are both defined but have
|
|
32194
|
-
different lengths, then <code>false</code> is returned.
|
|
32195
|
-
|
|
32196
|
-
Otherwise, returns whether the corresponding elements of the arrays
|
|
32197
|
-
are equal, as of <code>Cartesian3.equals</code>.
|
|
32198
|
-
* @param a - The first array
|
|
32199
|
-
* @param b - The second array
|
|
32200
|
-
* @returns Whether the arrays are equal
|
|
32201
|
-
*/
|
|
32202
|
-
export function equalsArrayCartesian3(a: Cartesian3[] | undefined, b: Cartesian3[] | undefined): boolean;
|
|
32203
|
-
|
|
32204
32168
|
/**
|
|
32205
32169
|
* Specifies a set of clipping polygons. Clipping polygons selectively disable rendering in a region
|
|
32206
32170
|
inside or outside the specified list of {@link ClippingPolygon} objects for a single glTF model, 3D Tileset, or the globe.
|
|
@@ -33406,47 +33370,6 @@ export enum DepthFunction {
|
|
|
33406
33370
|
ALWAYS = WebGLConstants.ALWAYS
|
|
33407
33371
|
}
|
|
33408
33372
|
|
|
33409
|
-
/**
|
|
33410
|
-
* Returns a shader statement that applies the inverse of the
|
|
33411
|
-
value transform to the given value, based on the given offset
|
|
33412
|
-
and scale.
|
|
33413
|
-
* @param input - The input value
|
|
33414
|
-
* @param offset - The offset
|
|
33415
|
-
* @param scale - The scale
|
|
33416
|
-
* @returns The statement
|
|
33417
|
-
*/
|
|
33418
|
-
export function unapplyValueTransform(input: string, offset: string, scale: string): string;
|
|
33419
|
-
|
|
33420
|
-
/**
|
|
33421
|
-
* Returns a shader statement that applies the inverse of the
|
|
33422
|
-
normalization, based on the given component type
|
|
33423
|
-
* @param input - The input value
|
|
33424
|
-
* @param componentType - The component type
|
|
33425
|
-
* @returns The statement
|
|
33426
|
-
*/
|
|
33427
|
-
export function unnormalize(input: string, componentType: string): string;
|
|
33428
|
-
|
|
33429
|
-
/**
|
|
33430
|
-
* Creates a shader statement that returns the value of the specified
|
|
33431
|
-
property, normalized to the range [0, 1].
|
|
33432
|
-
* @param classProperty - The class property
|
|
33433
|
-
* @param metadataProperty - The metadata property, either
|
|
33434
|
-
a `PropertyTextureProperty` or a `PropertyAttributeProperty`
|
|
33435
|
-
* @returns The string
|
|
33436
|
-
*/
|
|
33437
|
-
export function getSourceValueStringScalar(classProperty: MetadataClassProperty, metadataProperty: any): string;
|
|
33438
|
-
|
|
33439
|
-
/**
|
|
33440
|
-
* Creates a shader statement that returns the value of the specified
|
|
33441
|
-
component of the given property, normalized to the range [0, 1].
|
|
33442
|
-
* @param classProperty - The class property
|
|
33443
|
-
* @param metadataProperty - The metadata property, either
|
|
33444
|
-
a `PropertyTextureProperty` or a `PropertyAttributeProperty`
|
|
33445
|
-
* @param componentName - The name, in ["x", "y", "z", "w"]
|
|
33446
|
-
* @returns The string
|
|
33447
|
-
*/
|
|
33448
|
-
export function getSourceValueStringComponent(classProperty: MetadataClassProperty, metadataProperty: any, componentName: string): string;
|
|
33449
|
-
|
|
33450
33373
|
/**
|
|
33451
33374
|
* A light that gets emitted in a single direction from infinitely far away.
|
|
33452
33375
|
* @param options - Object with the following properties:
|
|
@@ -34730,11 +34653,6 @@ export class GlobeTranslucency {
|
|
|
34730
34653
|
rectangle: Rectangle;
|
|
34731
34654
|
}
|
|
34732
34655
|
|
|
34733
|
-
/**
|
|
34734
|
-
* Loads the gltf object
|
|
34735
|
-
*/
|
|
34736
|
-
export function loadGltfJson(): void;
|
|
34737
|
-
|
|
34738
34656
|
export type EXTMeshPolygonExtension = {
|
|
34739
34657
|
count: number;
|
|
34740
34658
|
indicesOffsets: number;
|
|
@@ -39687,36 +39605,6 @@ export class CorrelationGroup {
|
|
|
39687
39605
|
readonly params: Spdcf[];
|
|
39688
39606
|
}
|
|
39689
39607
|
|
|
39690
|
-
/**
|
|
39691
|
-
* Creates a Matrix3 that describes a covariance matrix (which is
|
|
39692
|
-
symmetric) from the array containing the upper triangle, in
|
|
39693
|
-
column-major order.
|
|
39694
|
-
* @param array - The input array
|
|
39695
|
-
* @returns The Matrix3
|
|
39696
|
-
*/
|
|
39697
|
-
export function createCovarianceMatrixFromUpperTriangle(array: number[]): Matrix3;
|
|
39698
|
-
|
|
39699
|
-
/**
|
|
39700
|
-
* Creates an `AnchorPointDirect` from the given JSON representation
|
|
39701
|
-
* @param anchorPointDirectJson - The input JSON
|
|
39702
|
-
* @returns The direct anchor point
|
|
39703
|
-
*/
|
|
39704
|
-
export function createAnchorPointDirect(anchorPointDirectJson: any): AnchorPointDirect;
|
|
39705
|
-
|
|
39706
|
-
/**
|
|
39707
|
-
* Creates an `AnchorPointIndirect` from the given JSON representation
|
|
39708
|
-
* @param anchorPointIndirectJson - The input JSON
|
|
39709
|
-
* @returns The indirect anchor point
|
|
39710
|
-
*/
|
|
39711
|
-
export function createAnchorPointIndirect(anchorPointIndirectJson: any): AnchorPointIndirect;
|
|
39712
|
-
|
|
39713
|
-
/**
|
|
39714
|
-
* Creates a `CorrelationGroup` from the given JSON representation
|
|
39715
|
-
* @param correlationGroupJson - The input JSON
|
|
39716
|
-
* @returns The correlation group
|
|
39717
|
-
*/
|
|
39718
|
-
export function createCorrelationGroup(correlationGroupJson: any): CorrelationGroup;
|
|
39719
|
-
|
|
39720
39608
|
export namespace GltfGpmLocal {
|
|
39721
39609
|
/**
|
|
39722
39610
|
* Initialization options for the GltfGpmLocal constructor
|
|
@@ -39941,6 +39829,9 @@ Cesium supports glTF assets with the following extensions:
|
|
|
39941
39829
|
{@link https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_mesh_quantization|KHR_mesh_quantization}
|
|
39942
39830
|
</li>
|
|
39943
39831
|
<li>
|
|
39832
|
+
{@link https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_meshopt_compression|KHR_meshopt_compression}
|
|
39833
|
+
</li>
|
|
39834
|
+
<li>
|
|
39944
39835
|
{@link https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_texture_basisu|KHR_texture_basisu}
|
|
39945
39836
|
</li>
|
|
39946
39837
|
<li>
|
|
@@ -41762,34 +41653,6 @@ export class PerInstanceColorAppearance {
|
|
|
41762
41653
|
getRenderState(): any;
|
|
41763
41654
|
}
|
|
41764
41655
|
|
|
41765
|
-
/**
|
|
41766
|
-
* Compute the rectangle that describes the part of the drawing buffer
|
|
41767
|
-
that is relevant for picking.
|
|
41768
|
-
* @param drawingBufferHeight - The height of the drawing buffer
|
|
41769
|
-
* @param position - The position inside the drawing buffer
|
|
41770
|
-
* @param width - The width of the rectangle, assumed to
|
|
41771
|
-
be an odd integer number, default : 3.0
|
|
41772
|
-
* @param height - The height of the rectangle. If unspecified,
|
|
41773
|
-
height will default to the value of <code>width</code>
|
|
41774
|
-
* @param result - The result rectangle
|
|
41775
|
-
* @returns The result rectangle
|
|
41776
|
-
*/
|
|
41777
|
-
export function computePickingDrawingBufferRectangle(drawingBufferHeight: number, position: Cartesian2, width: number | undefined, height: number | undefined, result: BoundingRectangle): BoundingRectangle;
|
|
41778
|
-
|
|
41779
|
-
/**
|
|
41780
|
-
* Setup needed before picking.
|
|
41781
|
-
* @param windowPosition - Window coordinates to perform picking on.
|
|
41782
|
-
* @param drawingBufferRectangle - The output drawing buffer recangle.
|
|
41783
|
-
* @param [width = 3] - Width of the pick rectangle.
|
|
41784
|
-
* @param [height = 3] - Height of the pick rectangle.
|
|
41785
|
-
*/
|
|
41786
|
-
export function pickBegin(scene: Scene, windowPosition: Cartesian2, drawingBufferRectangle: BoundingRectangle, width?: number, height?: number): void;
|
|
41787
|
-
|
|
41788
|
-
/**
|
|
41789
|
-
* Teardown needed after picking.
|
|
41790
|
-
*/
|
|
41791
|
-
export function pickEnd(scene: Scene): void;
|
|
41792
|
-
|
|
41793
41656
|
/**
|
|
41794
41657
|
* Information about metadata that is supposed to be picked
|
|
41795
41658
|
* @property schemaId - The optional ID of the metadata schema
|
|
@@ -41804,44 +41667,6 @@ export type PickedMetadataInfo = {
|
|
|
41804
41667
|
classProperty: MetadataClassProperty;
|
|
41805
41668
|
};
|
|
41806
41669
|
|
|
41807
|
-
/**
|
|
41808
|
-
* @param pickedResults - the results from the pickCallback
|
|
41809
|
-
* @param limit - If supplied, stop drilling after collecting this many picks.
|
|
41810
|
-
* @returns whether picking should end
|
|
41811
|
-
*/
|
|
41812
|
-
export function addDrillPickedResults(pickedResults: object[], limit: number, results: object[], pickedPrimitives: object[], pickedAttributes: object[], pickedFeatures: object[]): boolean;
|
|
41813
|
-
|
|
41814
|
-
/**
|
|
41815
|
-
* Drill pick by repeatedly calling a given `pickCallback`, each time stripping away the previously picked objects.
|
|
41816
|
-
* @param pickCallback - Pick callback to execute each iteration
|
|
41817
|
-
* @param [limit = Number.MAX_VALUE] - If supplied, stop drilling after collecting this many picks
|
|
41818
|
-
* @returns List of picked results
|
|
41819
|
-
*/
|
|
41820
|
-
export function drillPick(pickCallback: (...params: any[]) => any, limit?: number): object[];
|
|
41821
|
-
|
|
41822
|
-
/**
|
|
41823
|
-
* Remove all invalid binary body references from the batch table
|
|
41824
|
-
JSON of the given parsed content.
|
|
41825
|
-
|
|
41826
|
-
This is a workaround for gracefully handling the invalid PNTS
|
|
41827
|
-
files that may have been created by the point cloud tiler.
|
|
41828
|
-
See https://github.com/CesiumGS/cesium/issues/12872
|
|
41829
|
-
|
|
41830
|
-
When the batch table JSON is undefined, nothing will be done.
|
|
41831
|
-
When the batch table binary is defined, nothing will be done
|
|
41832
|
-
(assuming that any binary body references are valid - this is
|
|
41833
|
-
not checked here).
|
|
41834
|
-
|
|
41835
|
-
Otherwise, this will remove all binary body references from the
|
|
41836
|
-
batch table JSON that are not resolved from draco via the
|
|
41837
|
-
`parsedContent.draco.batchTableProperties`.
|
|
41838
|
-
|
|
41839
|
-
If any (invalid) binary body reference is found (and removed),
|
|
41840
|
-
a one-time warning will be printed.
|
|
41841
|
-
* @param parsedContent - The parsed content
|
|
41842
|
-
*/
|
|
41843
|
-
export function removeInvalidBinaryBodyReferences(parsedContent: any): void;
|
|
41844
|
-
|
|
41845
41670
|
/**
|
|
41846
41671
|
* Options for performing point attenuation based on geometric error when rendering
|
|
41847
41672
|
point clouds using 3D Tiles.
|
|
@@ -44434,18 +44259,6 @@ export class Scene {
|
|
|
44434
44259
|
destroy(): void;
|
|
44435
44260
|
}
|
|
44436
44261
|
|
|
44437
|
-
/**
|
|
44438
|
-
* Determine how translucent surfaces will be handled.
|
|
44439
|
-
|
|
44440
|
-
When OIT is enabled, then this will delegate to OIT.executeCommands.
|
|
44441
|
-
Otherwise, it will just be executeTranslucentCommandsBackToFront
|
|
44442
|
-
for render passes, or executeTranslucentCommandsFrontToBack for
|
|
44443
|
-
other passes.
|
|
44444
|
-
* @param scene - The scene.
|
|
44445
|
-
* @returns A function to execute translucent commands.
|
|
44446
|
-
*/
|
|
44447
|
-
export function obtainTranslucentCommandExecutionFunction(scene: Scene): (...params: any[]) => any;
|
|
44448
|
-
|
|
44449
44262
|
/**
|
|
44450
44263
|
* Indicates if the scene is viewed in 3D, 2D, or 2.5D Columbus view.
|
|
44451
44264
|
*/
|