@cesium/engine 26.0.0 → 26.1.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/Workers/{chunk-EF2QYXGA.js → chunk-2EFYUSUY.js} +14 -14
- package/Build/Workers/{chunk-KFSTQKNM.js → chunk-5LSOO2KD.js} +7 -7
- package/Build/Workers/{chunk-VQYETPWC.js → chunk-6HK6IXK2.js} +4 -4
- package/Build/Workers/{chunk-AYKR4VBR.js → chunk-6YR6JBMY.js} +2 -2
- package/Build/Workers/{chunk-DOBXCNC3.js → chunk-76FDC45O.js} +13 -13
- package/Build/Workers/{chunk-54I6Y66F.js → chunk-7D2HZKH7.js} +6 -6
- package/Build/Workers/{chunk-4MGMYHOO.js → chunk-7KVKHY7O.js} +6 -6
- package/Build/Workers/{chunk-IRBKFCEJ.js → chunk-A3O6EDBK.js} +2 -2
- package/Build/Workers/{chunk-V7VQKN6N.js → chunk-A6X24AZI.js} +5 -5
- package/Build/Workers/{chunk-ZP7JMQV4.js → chunk-AHWAZRBV.js} +6 -2
- package/Build/Workers/{chunk-YLY7NKAB.js → chunk-B4CQSLZJ.js} +4 -4
- package/Build/Workers/{chunk-J6BWOHUF.js → chunk-C7JQVRLM.js} +3 -3
- package/Build/Workers/{chunk-KSSWJIZW.js → chunk-CDJDJ5LK.js} +2 -2
- package/Build/Workers/{chunk-G7PXZRVF.js → chunk-CEEZE3YZ.js} +7 -7
- package/Build/Workers/{chunk-INUEEEQA.js → chunk-CLCTQVVL.js} +8 -8
- package/Build/Workers/{chunk-O3EA5HS7.js → chunk-DBD5WWG2.js} +10 -10
- package/Build/Workers/{chunk-E7VQ76KE.js → chunk-DIGUUD6G.js} +6 -6
- package/Build/Workers/{chunk-424RNO3D.js → chunk-E7NZJOK7.js} +196 -22
- package/Build/Workers/{chunk-ACXQXN46.js → chunk-EHTS2YPT.js} +16 -16
- package/Build/Workers/{chunk-VWV2IJRB.js → chunk-ENNFMWDW.js} +11 -11
- package/Build/Workers/{chunk-FRQZECAO.js → chunk-FCP2QY4G.js} +5 -5
- package/Build/Workers/{chunk-ZZ46LWL6.js → chunk-FDK4K5IA.js} +1 -1
- package/Build/Workers/{chunk-C6KNZ7T4.js → chunk-FGQFQHN5.js} +17 -17
- package/Build/Workers/{chunk-MYP774IS.js → chunk-GSWMAFTE.js} +8 -8
- package/Build/Workers/{chunk-Y5BF6AFU.js → chunk-GXWQZBAI.js} +2 -2
- package/Build/Workers/{chunk-DDWSZVMY.js → chunk-HHV3MCGV.js} +5 -5
- package/Build/Workers/{chunk-52JDLOEM.js → chunk-HS6AD4P2.js} +14 -14
- package/Build/Workers/{chunk-Q3PY526V.js → chunk-IGAZBTFZ.js} +6 -6
- package/Build/Workers/{chunk-EBSIOBXY.js → chunk-ILME5BXA.js} +8 -8
- package/Build/Workers/{chunk-C6J67V5A.js → chunk-JKXV6PG5.js} +1 -1
- package/Build/Workers/{chunk-SMQZZOW6.js → chunk-JW6OZT4R.js} +10 -10
- package/Build/Workers/{chunk-F6QDY6HU.js → chunk-KGXSYGBG.js} +13 -13
- package/Build/Workers/{chunk-UOOIQ3KX.js → chunk-LD64RPYV.js} +12 -12
- package/Build/Workers/{chunk-CFQP6LYM.js → chunk-LGNDTZVX.js} +4 -4
- package/Build/Workers/{chunk-U3ZA64U7.js → chunk-LNSQVXFH.js} +2 -2
- package/Build/Workers/{chunk-TKKIREQ6.js → chunk-N7CCOFLX.js} +1 -1
- package/Build/Workers/{chunk-UA25D5MX.js → chunk-NIWITKQK.js} +10 -10
- package/Build/Workers/{chunk-KKOSKAZB.js → chunk-OBEU25PI.js} +17 -17
- package/Build/Workers/{chunk-M3B5JKSM.js → chunk-QVLAFFJY.js} +1 -1
- package/Build/Workers/{chunk-6YEE6JDR.js → chunk-R4FPNAZ2.js} +6 -6
- package/Build/Workers/{chunk-7J2HKPRH.js → chunk-RG4F5R57.js} +9 -9
- package/Build/Workers/{chunk-CXOYE2WM.js → chunk-SF6K72D7.js} +5 -5
- package/Build/Workers/{chunk-CZEYZU4N.js → chunk-SGRGNDOD.js} +10 -10
- package/Build/Workers/{chunk-DBOEKL43.js → chunk-SM2CDCYF.js} +7 -7
- package/Build/Workers/{chunk-Y57HREW5.js → chunk-SS5ABQGY.js} +4 -4
- package/Build/Workers/{chunk-QRWGUWI6.js → chunk-T5QBPLE3.js} +11 -11
- package/Build/Workers/{chunk-ZK3CF7ZD.js → chunk-TVZD72WJ.js} +12 -12
- package/Build/Workers/{chunk-IYOUHCZB.js → chunk-UEY73NRN.js} +1 -1
- package/Build/Workers/{chunk-7WM2PX4V.js → chunk-UVO6COT2.js} +5 -5
- package/Build/Workers/{chunk-P3CK7MCY.js → chunk-VAL7DYNR.js} +4 -4
- package/Build/Workers/{chunk-EPYXRCDB.js → chunk-WBSY7HDY.js} +12 -12
- package/Build/Workers/{chunk-4S7IE3LB.js → chunk-XDWCTQCZ.js} +2 -2
- package/Build/Workers/{chunk-QN67VG36.js → chunk-XLXSDIP5.js} +6 -6
- package/Build/Workers/{chunk-S4MCOY6I.js → chunk-XQ3SKCMM.js} +5 -5
- package/Build/Workers/{chunk-XZMBNNDX.js → chunk-YKU2Q3A2.js} +9 -9
- package/Build/Workers/{chunk-3VFEWOBI.js → chunk-ZMBHFYOX.js} +7 -7
- package/Build/Workers/{chunk-MPZHGZU6.js → chunk-ZSGUV73H.js} +4 -4
- package/Build/Workers/combineGeometry.js +24 -24
- package/Build/Workers/createBoxGeometry.js +18 -18
- package/Build/Workers/createBoxOutlineGeometry.js +16 -16
- package/Build/Workers/createCircleGeometry.js +26 -26
- package/Build/Workers/createCircleOutlineGeometry.js +19 -19
- package/Build/Workers/createCoplanarPolygonGeometry.js +33 -33
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +31 -31
- package/Build/Workers/createCorridorGeometry.js +29 -29
- package/Build/Workers/createCorridorOutlineGeometry.js +28 -28
- package/Build/Workers/createCylinderGeometry.js +20 -20
- package/Build/Workers/createCylinderOutlineGeometry.js +18 -18
- package/Build/Workers/createEllipseGeometry.js +26 -26
- package/Build/Workers/createEllipseOutlineGeometry.js +19 -19
- package/Build/Workers/createEllipsoidGeometry.js +19 -19
- package/Build/Workers/createEllipsoidOutlineGeometry.js +18 -18
- package/Build/Workers/createFrustumGeometry.js +18 -18
- package/Build/Workers/createFrustumOutlineGeometry.js +18 -18
- package/Build/Workers/createGeometry.js +24 -24
- package/Build/Workers/createGroundPolylineGeometry.js +22 -22
- package/Build/Workers/createPlaneGeometry.js +16 -16
- package/Build/Workers/createPlaneOutlineGeometry.js +15 -15
- package/Build/Workers/createPolygonGeometry.js +32 -32
- package/Build/Workers/createPolygonOutlineGeometry.js +30 -30
- package/Build/Workers/createPolylineGeometry.js +25 -25
- package/Build/Workers/createPolylineVolumeGeometry.js +31 -31
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +27 -27
- package/Build/Workers/createRectangleGeometry.js +27 -27
- package/Build/Workers/createRectangleOutlineGeometry.js +20 -20
- package/Build/Workers/createSimplePolylineGeometry.js +23 -23
- package/Build/Workers/createSphereGeometry.js +19 -19
- package/Build/Workers/createSphereOutlineGeometry.js +18 -18
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +14 -14
- package/Build/Workers/createVectorTileGeometries.js +24 -24
- package/Build/Workers/createVectorTilePoints.js +13 -13
- package/Build/Workers/createVectorTilePolygons.js +22 -22
- package/Build/Workers/createVectorTilePolylines.js +14 -14
- package/Build/Workers/createVerticesFromCesium3DTilesTerrain.js +25 -25
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +22 -22
- package/Build/Workers/createVerticesFromHeightmap.js +22 -22
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +20 -20
- package/Build/Workers/createWallGeometry.js +24 -24
- package/Build/Workers/createWallOutlineGeometry.js +23 -23
- package/Build/Workers/decodeDraco.js +10 -10
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +987 -2320
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/gaussianSplatSorter.js +4 -4
- package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
- package/Build/Workers/incrementallyBuildTerrainPicker.js +10 -10
- package/Build/Workers/transcodeKTX2.js +6 -6
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +22 -22
- package/Build/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +25 -25
- package/Source/Core/BoundingRectangle.js +6 -8
- package/Source/Core/Color.js +1 -0
- package/Source/Core/InterpolationAlgorithm.js +57 -50
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/TerrainMesh.js +3 -3
- package/Source/Core/TerrainPicker.js +1 -0
- package/Source/Core/writeTextToCanvas.js +1 -0
- package/Source/DataSources/CzmlDataSource.js +12 -0
- package/Source/DataSources/KmlDataSource.js +528 -555
- package/Source/DataSources/PathGraphics.js +8 -1
- package/Source/DataSources/PathMode.js +27 -0
- package/Source/DataSources/PathVisualizer.js +298 -1
- package/Source/Renderer/Texture.js +1 -1
- package/Source/Renderer/VertexArray.js +1 -0
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/BillboardTexture.js +5 -3
- package/Source/Scene/Cesium3DTileOptimizations.js +4 -6
- package/Source/Scene/ClippingPlaneCollection.js +2 -2
- package/Source/Scene/ClippingPolygon.js +2 -0
- package/Source/Scene/ClippingPolygonCollection.js +2 -2
- package/Source/Scene/DerivedCommand.js +4 -0
- package/Source/Scene/Expression.js +6 -8
- package/Source/Scene/GlobeSurfaceShaderSet.js +501 -409
- package/Source/Scene/GlobeSurfaceTile.js +540 -401
- package/Source/Scene/GlobeSurfaceTileProvider.js +1259 -1146
- package/Source/Scene/GltfBufferViewLoader.js +3 -3
- package/Source/Scene/GltfLoader.js +1 -0
- package/Source/Scene/GltfLoaderUtil.js +20 -4
- package/Source/Scene/GltfPipeline/forEachTextureInMaterial.js +10 -0
- package/Source/Scene/GltfPipeline/removeUnusedElements.js +21 -11
- package/Source/Scene/ImageryLayer.js +2 -2
- package/Source/Scene/ImageryLayerCollection.js +2 -2
- package/Source/Scene/Material.js +1 -0
- package/Source/Scene/Model/Extensions/Gpm/GltfGpmLoader.js +4 -0
- package/Source/Scene/Model/Model.js +3 -0
- package/Source/Scene/Model/ModelUtility.js +1 -0
- package/Source/Scene/Picking.js +5 -0
- package/Source/Scene/PntsParser.js +1 -0
- package/Source/Scene/QuadtreePrimitive.js +3 -2
- package/Source/Scene/ResourceCacheKey.js +5 -5
- package/Source/Scene/Scene.js +1 -0
- package/Source/Scene/findMeshoptExtension.js +23 -0
- package/Source/Scene/renderBufferPointCollection.js +13 -8
- package/Source/Scene/renderBufferPolygonCollection.js +9 -13
- package/Source/Scene/renderBufferPolylineCollection.js +120 -192
- package/Source/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
- package/Source/Workers/incrementallyBuildTerrainPicker.js +2 -0
- package/index.d.ts +59 -254
- package/index.js +155 -153
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -3616,8 +3616,6 @@ export enum ClockStep {
|
|
|
3616
3616
|
SYSTEM_CLOCK = 2
|
|
3617
3617
|
}
|
|
3618
3618
|
|
|
3619
|
-
export function hue2rgb(): void;
|
|
3620
|
-
|
|
3621
3619
|
/**
|
|
3622
3620
|
* A color, specified using red, green, blue, and alpha values,
|
|
3623
3621
|
* which range from <code>0</code> (no intensity) to <code>1.0</code> (full intensity).
|
|
@@ -8736,17 +8734,20 @@ export enum IndexDatatype {
|
|
|
8736
8734
|
UNSIGNED_INT = WebGLConstants.UNSIGNED_INT
|
|
8737
8735
|
}
|
|
8738
8736
|
|
|
8739
|
-
|
|
8737
|
+
/**
|
|
8738
|
+
* The interface for interpolation algorithms.
|
|
8739
|
+
*/
|
|
8740
|
+
export interface InterpolationAlgorithm {
|
|
8740
8741
|
/**
|
|
8741
8742
|
* Gets the name of this interpolation algorithm.
|
|
8742
8743
|
*/
|
|
8743
|
-
|
|
8744
|
+
type: string;
|
|
8744
8745
|
/**
|
|
8745
8746
|
* Given the desired degree, returns the number of data points required for interpolation.
|
|
8746
8747
|
* @param degree - The desired degree of interpolation.
|
|
8747
8748
|
* @returns The number of required data points needed for the desired degree of interpolation.
|
|
8748
8749
|
*/
|
|
8749
|
-
|
|
8750
|
+
getRequiredDataPoints(degree: number): number;
|
|
8750
8751
|
/**
|
|
8751
8752
|
* Performs zero order interpolation.
|
|
8752
8753
|
* @param x - The independent variable for which the dependent variables will be interpolated.
|
|
@@ -8759,7 +8760,7 @@ export namespace InterpolationAlgorithm {
|
|
|
8759
8760
|
* @param [result] - An existing array into which to store the result.
|
|
8760
8761
|
* @returns The array of interpolated values, or the result parameter if one was provided.
|
|
8761
8762
|
*/
|
|
8762
|
-
|
|
8763
|
+
interpolateOrderZero(x: number, xTable: number[], yTable: number[], yStride: number, result?: number[]): number[];
|
|
8763
8764
|
/**
|
|
8764
8765
|
* Performs higher order interpolation. Not all interpolators need to support high-order interpolation,
|
|
8765
8766
|
* if this function remains undefined on implementing objects, interpolateOrderZero will be used instead.
|
|
@@ -8775,13 +8776,7 @@ export namespace InterpolationAlgorithm {
|
|
|
8775
8776
|
* @param [result] - An existing array into which to store the result.
|
|
8776
8777
|
* @returns The array of interpolated values, or the result parameter if one was provided.
|
|
8777
8778
|
*/
|
|
8778
|
-
|
|
8779
|
-
}
|
|
8780
|
-
|
|
8781
|
-
/**
|
|
8782
|
-
* The interface for interpolation algorithms.
|
|
8783
|
-
*/
|
|
8784
|
-
export interface InterpolationAlgorithm {
|
|
8779
|
+
interpolate(x: number, xTable: number[], yTable: number[], yStride: number, inputOrder: number, outputOrder: number, result?: number[]): number[];
|
|
8785
8780
|
}
|
|
8786
8781
|
|
|
8787
8782
|
/**
|
|
@@ -16793,16 +16788,6 @@ export class TerrainData {
|
|
|
16793
16788
|
wasCreatedByUpsampling(): boolean;
|
|
16794
16789
|
}
|
|
16795
16790
|
|
|
16796
|
-
/**
|
|
16797
|
-
* Creates an axis-aligned bounding box for a quadtree node at the given tree-space coordinates and level.
|
|
16798
|
-
* 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).
|
|
16799
|
-
* @param x - The x coordinate of the node.
|
|
16800
|
-
* @param y - The y coordinate of the node.
|
|
16801
|
-
* @param level - The level of the node.
|
|
16802
|
-
* @returns The axis-aligned bounding box for the node.
|
|
16803
|
-
*/
|
|
16804
|
-
export function createAABBForNode(x: number, y: number, level: number): AxisAlignedBoundingBox;
|
|
16805
|
-
|
|
16806
16791
|
export namespace TerrainProvider {
|
|
16807
16792
|
/**
|
|
16808
16793
|
* A function that is called when an error occurs.
|
|
@@ -19134,15 +19119,6 @@ export function srgbToLinear(value: number): number;
|
|
|
19134
19119
|
*/
|
|
19135
19120
|
export function subdivideArray(array: any[], numberOfArrays: number): void;
|
|
19136
19121
|
|
|
19137
|
-
/**
|
|
19138
|
-
* Computes dimensions for text, based on current canvas state.
|
|
19139
|
-
*
|
|
19140
|
-
* Rounds metrics, excluding width, to whole pixels. This is purely to minimize
|
|
19141
|
-
* rendering differences with migration to in-browser measureText(), and may be
|
|
19142
|
-
* revised in the future. See: github.com/CesiumGS/cesium/pull/13081
|
|
19143
|
-
*/
|
|
19144
|
-
export function measureText(): void;
|
|
19145
|
-
|
|
19146
19122
|
/**
|
|
19147
19123
|
* Writes the given text into a new canvas. The canvas will be sized to fit the text.
|
|
19148
19124
|
* If text is blank, returns undefined.
|
|
@@ -22642,11 +22618,39 @@ export class KmlDataSource {
|
|
|
22642
22618
|
update(time: JulianDate): boolean;
|
|
22643
22619
|
}
|
|
22644
22620
|
|
|
22621
|
+
export namespace KmlFeatureData {
|
|
22622
|
+
/**
|
|
22623
|
+
* @property name - Gets the name.
|
|
22624
|
+
* @property uri - Gets the URI.
|
|
22625
|
+
* @property age - Gets the email.
|
|
22626
|
+
*/
|
|
22627
|
+
type Author = {
|
|
22628
|
+
name: string;
|
|
22629
|
+
uri: string;
|
|
22630
|
+
age: number;
|
|
22631
|
+
};
|
|
22632
|
+
/**
|
|
22633
|
+
* @property href - Gets the href.
|
|
22634
|
+
* @property hreflang - Gets the language of the linked resource.
|
|
22635
|
+
* @property rel - Gets the link relation.
|
|
22636
|
+
* @property type - Gets the link type.
|
|
22637
|
+
* @property title - Gets the link title.
|
|
22638
|
+
* @property length - Gets the link length.
|
|
22639
|
+
*/
|
|
22640
|
+
type Link = {
|
|
22641
|
+
href: string;
|
|
22642
|
+
hreflang: string;
|
|
22643
|
+
rel: string;
|
|
22644
|
+
type: string;
|
|
22645
|
+
title: string;
|
|
22646
|
+
length: string;
|
|
22647
|
+
};
|
|
22648
|
+
}
|
|
22649
|
+
|
|
22645
22650
|
/**
|
|
22646
22651
|
* Contains KML Feature data loaded into the <code>Entity.kml</code> property by {@link KmlDataSource}.
|
|
22647
22652
|
*/
|
|
22648
22653
|
export class KmlFeatureData {
|
|
22649
|
-
constructor();
|
|
22650
22654
|
/**
|
|
22651
22655
|
* Gets the atom syndication format author field.
|
|
22652
22656
|
*/
|
|
@@ -22675,35 +22679,6 @@ export class KmlFeatureData {
|
|
|
22675
22679
|
extendedData: string;
|
|
22676
22680
|
}
|
|
22677
22681
|
|
|
22678
|
-
export namespace KmlFeatureData {
|
|
22679
|
-
/**
|
|
22680
|
-
* @property name - Gets the name.
|
|
22681
|
-
* @property uri - Gets the URI.
|
|
22682
|
-
* @property age - Gets the email.
|
|
22683
|
-
*/
|
|
22684
|
-
type Author = {
|
|
22685
|
-
name: string;
|
|
22686
|
-
uri: string;
|
|
22687
|
-
age: number;
|
|
22688
|
-
};
|
|
22689
|
-
/**
|
|
22690
|
-
* @property href - Gets the href.
|
|
22691
|
-
* @property hreflang - Gets the language of the linked resource.
|
|
22692
|
-
* @property rel - Gets the link relation.
|
|
22693
|
-
* @property type - Gets the link type.
|
|
22694
|
-
* @property title - Gets the link title.
|
|
22695
|
-
* @property length - Gets the link length.
|
|
22696
|
-
*/
|
|
22697
|
-
type Link = {
|
|
22698
|
-
href: string;
|
|
22699
|
-
hreflang: string;
|
|
22700
|
-
rel: string;
|
|
22701
|
-
type: string;
|
|
22702
|
-
title: string;
|
|
22703
|
-
length: string;
|
|
22704
|
-
};
|
|
22705
|
-
}
|
|
22706
|
-
|
|
22707
22682
|
/**
|
|
22708
22683
|
* @param position - camera position
|
|
22709
22684
|
* @param headingPitchRange - camera orientation
|
|
@@ -23413,10 +23388,11 @@ export namespace PathGraphics {
|
|
|
23413
23388
|
* @property [leadTime] - A Property specifying the number of seconds in front the object to show.
|
|
23414
23389
|
* @property [trailTime] - A Property specifying the number of seconds behind of the object to show.
|
|
23415
23390
|
* @property [width = 1.0] - A numeric Property specifying the width in pixels.
|
|
23416
|
-
* @property [resolution = 60] - A numeric Property specifying the maximum number of seconds to step when sampling the position.
|
|
23391
|
+
* @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.
|
|
23417
23392
|
* @property [material = Color.WHITE] - A Property specifying the material used to draw the path.
|
|
23418
23393
|
* @property [distanceDisplayCondition] - A Property specifying at what distance from the camera that this path will be displayed.
|
|
23419
23394
|
* @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.
|
|
23395
|
+
* @property [materialMode] - A Property specifying how material properties are applied along the path.
|
|
23420
23396
|
*/
|
|
23421
23397
|
type ConstructorOptions = {
|
|
23422
23398
|
show?: Property | boolean;
|
|
@@ -23427,6 +23403,7 @@ export namespace PathGraphics {
|
|
|
23427
23403
|
material?: MaterialProperty | Color;
|
|
23428
23404
|
distanceDisplayCondition?: Property | DistanceDisplayCondition;
|
|
23429
23405
|
relativeTo?: Property | string;
|
|
23406
|
+
materialMode?: Property | PathMode;
|
|
23430
23407
|
};
|
|
23431
23408
|
}
|
|
23432
23409
|
|
|
@@ -23458,6 +23435,7 @@ export class PathGraphics {
|
|
|
23458
23435
|
width: Property | undefined;
|
|
23459
23436
|
/**
|
|
23460
23437
|
* Gets or sets the Property specifying the maximum number of seconds to step when sampling the position.
|
|
23438
|
+
* Fractional positive values are allowed; in PORTIONS materialMode, non-positive values fall back to the default resolution of 60 seconds.
|
|
23461
23439
|
*/
|
|
23462
23440
|
resolution: Property | undefined;
|
|
23463
23441
|
/**
|
|
@@ -23486,6 +23464,21 @@ export class PathGraphics {
|
|
|
23486
23464
|
merge(source: PathGraphics): void;
|
|
23487
23465
|
}
|
|
23488
23466
|
|
|
23467
|
+
/**
|
|
23468
|
+
* Defines how material properties are applied along a path.
|
|
23469
|
+
*/
|
|
23470
|
+
export enum PathMode {
|
|
23471
|
+
/**
|
|
23472
|
+
* The material is applied to the entire path as a whole.
|
|
23473
|
+
*/
|
|
23474
|
+
WHOLE = 0,
|
|
23475
|
+
/**
|
|
23476
|
+
* The material is applied in portions based on temporal position information,
|
|
23477
|
+
* using interval-based material properties.
|
|
23478
|
+
*/
|
|
23479
|
+
PORTIONS = 1
|
|
23480
|
+
}
|
|
23481
|
+
|
|
23489
23482
|
/**
|
|
23490
23483
|
* Transforms a path entity's position into the local frame of the reference entity.
|
|
23491
23484
|
* If the reference entity has an orientation, uses that orientation to define the local frame.
|
|
@@ -26095,8 +26088,6 @@ export enum TextureMinificationFilter {
|
|
|
26095
26088
|
LINEAR_MIPMAP_LINEAR = WebGLConstants.LINEAR_MIPMAP_LINEAR
|
|
26096
26089
|
}
|
|
26097
26090
|
|
|
26098
|
-
export function addAttribute(): void;
|
|
26099
|
-
|
|
26100
26091
|
/**
|
|
26101
26092
|
* An appearance defines the full GLSL vertex and fragment shaders and the
|
|
26102
26093
|
* render state used to draw a {@link Primitive}. All appearances implement
|
|
@@ -32171,33 +32162,6 @@ export class ClippingPolygon {
|
|
|
32171
32162
|
computeRectangle(result?: Rectangle): Rectangle;
|
|
32172
32163
|
}
|
|
32173
32164
|
|
|
32174
|
-
/**
|
|
32175
|
-
* Returns a deep copy of the given array.
|
|
32176
|
-
*
|
|
32177
|
-
* If the input is undefined, then <code>undefined</code> is returned.
|
|
32178
|
-
*
|
|
32179
|
-
* Otherwise, the result will be a copy of the given array, where
|
|
32180
|
-
* each element is copied with <code>Cartesian3.clone</code>.
|
|
32181
|
-
* @param input - The input array
|
|
32182
|
-
* @returns The copy
|
|
32183
|
-
*/
|
|
32184
|
-
export function copyArrayCartesian3(input: Cartesian3[] | undefined): Cartesian3[] | undefined;
|
|
32185
|
-
|
|
32186
|
-
/**
|
|
32187
|
-
* Returns whether the given arrays are component-wise equal.
|
|
32188
|
-
*
|
|
32189
|
-
* When both arrays are undefined, then <code>true</code> is returned.
|
|
32190
|
-
* When only one array is defined, or they are both defined but have
|
|
32191
|
-
* different lengths, then <code>false</code> is returned.
|
|
32192
|
-
*
|
|
32193
|
-
* Otherwise, returns whether the corresponding elements of the arrays
|
|
32194
|
-
* are equal, as of <code>Cartesian3.equals</code>.
|
|
32195
|
-
* @param a - The first array
|
|
32196
|
-
* @param b - The second array
|
|
32197
|
-
* @returns Whether the arrays are equal
|
|
32198
|
-
*/
|
|
32199
|
-
export function equalsArrayCartesian3(a: Cartesian3[] | undefined, b: Cartesian3[] | undefined): boolean;
|
|
32200
|
-
|
|
32201
32165
|
/**
|
|
32202
32166
|
* Specifies a set of clipping polygons. Clipping polygons selectively disable rendering in a region
|
|
32203
32167
|
* inside or outside the specified list of {@link ClippingPolygon} objects for a single glTF model, 3D Tileset, or the globe.
|
|
@@ -33199,47 +33163,6 @@ export enum DepthFunction {
|
|
|
33199
33163
|
ALWAYS = WebGLConstants.ALWAYS
|
|
33200
33164
|
}
|
|
33201
33165
|
|
|
33202
|
-
/**
|
|
33203
|
-
* Returns a shader statement that applies the inverse of the
|
|
33204
|
-
* value transform to the given value, based on the given offset
|
|
33205
|
-
* and scale.
|
|
33206
|
-
* @param input - The input value
|
|
33207
|
-
* @param offset - The offset
|
|
33208
|
-
* @param scale - The scale
|
|
33209
|
-
* @returns The statement
|
|
33210
|
-
*/
|
|
33211
|
-
export function unapplyValueTransform(input: string, offset: string, scale: string): string;
|
|
33212
|
-
|
|
33213
|
-
/**
|
|
33214
|
-
* Returns a shader statement that applies the inverse of the
|
|
33215
|
-
* normalization, based on the given component type
|
|
33216
|
-
* @param input - The input value
|
|
33217
|
-
* @param componentType - The component type
|
|
33218
|
-
* @returns The statement
|
|
33219
|
-
*/
|
|
33220
|
-
export function unnormalize(input: string, componentType: string): string;
|
|
33221
|
-
|
|
33222
|
-
/**
|
|
33223
|
-
* Creates a shader statement that returns the value of the specified
|
|
33224
|
-
* property, normalized to the range [0, 1].
|
|
33225
|
-
* @param classProperty - The class property
|
|
33226
|
-
* @param metadataProperty - The metadata property, either
|
|
33227
|
-
* a `PropertyTextureProperty` or a `PropertyAttributeProperty`
|
|
33228
|
-
* @returns The string
|
|
33229
|
-
*/
|
|
33230
|
-
export function getSourceValueStringScalar(classProperty: MetadataClassProperty, metadataProperty: any): string;
|
|
33231
|
-
|
|
33232
|
-
/**
|
|
33233
|
-
* Creates a shader statement that returns the value of the specified
|
|
33234
|
-
* component of the given property, normalized to the range [0, 1].
|
|
33235
|
-
* @param classProperty - The class property
|
|
33236
|
-
* @param metadataProperty - The metadata property, either
|
|
33237
|
-
* a `PropertyTextureProperty` or a `PropertyAttributeProperty`
|
|
33238
|
-
* @param componentName - The name, in ["x", "y", "z", "w"]
|
|
33239
|
-
* @returns The string
|
|
33240
|
-
*/
|
|
33241
|
-
export function getSourceValueStringComponent(classProperty: MetadataClassProperty, metadataProperty: any, componentName: string): string;
|
|
33242
|
-
|
|
33243
33166
|
/**
|
|
33244
33167
|
* A light that gets emitted in a single direction from infinitely far away.
|
|
33245
33168
|
* @param options - Object with the following properties:
|
|
@@ -34523,11 +34446,6 @@ export class GlobeTranslucency {
|
|
|
34523
34446
|
rectangle: Rectangle;
|
|
34524
34447
|
}
|
|
34525
34448
|
|
|
34526
|
-
/**
|
|
34527
|
-
* Loads the gltf object
|
|
34528
|
-
*/
|
|
34529
|
-
export function loadGltfJson(): void;
|
|
34530
|
-
|
|
34531
34449
|
export type EXTMeshPolygonExtension = {
|
|
34532
34450
|
count: number;
|
|
34533
34451
|
indicesOffsets: number;
|
|
@@ -38558,14 +38476,6 @@ export class Material {
|
|
|
38558
38476
|
static readonly WaterMaskType: string;
|
|
38559
38477
|
}
|
|
38560
38478
|
|
|
38561
|
-
/**
|
|
38562
|
-
* Loads the images for a cubemap uniform, if it has changed since the last time this was called.
|
|
38563
|
-
* @param material - The material to load the cubemap images for.
|
|
38564
|
-
* @param uniformId - The ID of the uniform that corresponds to the cubemap images.
|
|
38565
|
-
* @returns A promise that resolves when the images are loaded, or a resolved promise if image loading is not necessary.
|
|
38566
|
-
*/
|
|
38567
|
-
export function loadCubeMapImagesForUniform(material: Material, uniformId: string): any;
|
|
38568
|
-
|
|
38569
38479
|
/**
|
|
38570
38480
|
* An appearance for arbitrary geometry (as opposed to {@link EllipsoidSurfaceAppearance}, for example)
|
|
38571
38481
|
* that supports shading with materials.
|
|
@@ -39506,36 +39416,6 @@ export class CorrelationGroup {
|
|
|
39506
39416
|
readonly params: Spdcf[];
|
|
39507
39417
|
}
|
|
39508
39418
|
|
|
39509
|
-
/**
|
|
39510
|
-
* Creates a Matrix3 that describes a covariance matrix (which is
|
|
39511
|
-
* symmetric) from the array containing the upper triangle, in
|
|
39512
|
-
* column-major order.
|
|
39513
|
-
* @param array - The input array
|
|
39514
|
-
* @returns The Matrix3
|
|
39515
|
-
*/
|
|
39516
|
-
export function createCovarianceMatrixFromUpperTriangle(array: number[]): Matrix3;
|
|
39517
|
-
|
|
39518
|
-
/**
|
|
39519
|
-
* Creates an `AnchorPointDirect` from the given JSON representation
|
|
39520
|
-
* @param anchorPointDirectJson - The input JSON
|
|
39521
|
-
* @returns The direct anchor point
|
|
39522
|
-
*/
|
|
39523
|
-
export function createAnchorPointDirect(anchorPointDirectJson: any): AnchorPointDirect;
|
|
39524
|
-
|
|
39525
|
-
/**
|
|
39526
|
-
* Creates an `AnchorPointIndirect` from the given JSON representation
|
|
39527
|
-
* @param anchorPointIndirectJson - The input JSON
|
|
39528
|
-
* @returns The indirect anchor point
|
|
39529
|
-
*/
|
|
39530
|
-
export function createAnchorPointIndirect(anchorPointIndirectJson: any): AnchorPointIndirect;
|
|
39531
|
-
|
|
39532
|
-
/**
|
|
39533
|
-
* Creates a `CorrelationGroup` from the given JSON representation
|
|
39534
|
-
* @param correlationGroupJson - The input JSON
|
|
39535
|
-
* @returns The correlation group
|
|
39536
|
-
*/
|
|
39537
|
-
export function createCorrelationGroup(correlationGroupJson: any): CorrelationGroup;
|
|
39538
|
-
|
|
39539
39419
|
export namespace GltfGpmLocal {
|
|
39540
39420
|
/**
|
|
39541
39421
|
* Initialization options for the GltfGpmLocal constructor
|
|
@@ -39760,6 +39640,9 @@ export enum LightingModel {
|
|
|
39760
39640
|
* {@link https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_mesh_quantization|KHR_mesh_quantization}
|
|
39761
39641
|
* </li>
|
|
39762
39642
|
* <li>
|
|
39643
|
+
* {@link https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_meshopt_compression|KHR_meshopt_compression}
|
|
39644
|
+
* </li>
|
|
39645
|
+
* <li>
|
|
39763
39646
|
* {@link https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_texture_basisu|KHR_texture_basisu}
|
|
39764
39647
|
* </li>
|
|
39765
39648
|
* <li>
|
|
@@ -41555,34 +41438,6 @@ export class PerInstanceColorAppearance {
|
|
|
41555
41438
|
getRenderState(): any;
|
|
41556
41439
|
}
|
|
41557
41440
|
|
|
41558
|
-
/**
|
|
41559
|
-
* Compute the rectangle that describes the part of the drawing buffer
|
|
41560
|
-
* that is relevant for picking.
|
|
41561
|
-
* @param drawingBufferHeight - The height of the drawing buffer
|
|
41562
|
-
* @param position - The position inside the drawing buffer
|
|
41563
|
-
* @param width - The width of the rectangle, assumed to
|
|
41564
|
-
* be an odd integer number, default : 3.0
|
|
41565
|
-
* @param height - The height of the rectangle. If unspecified,
|
|
41566
|
-
* height will default to the value of <code>width</code>
|
|
41567
|
-
* @param result - The result rectangle
|
|
41568
|
-
* @returns The result rectangle
|
|
41569
|
-
*/
|
|
41570
|
-
export function computePickingDrawingBufferRectangle(drawingBufferHeight: number, position: Cartesian2, width: number | undefined, height: number | undefined, result: BoundingRectangle): BoundingRectangle;
|
|
41571
|
-
|
|
41572
|
-
/**
|
|
41573
|
-
* Setup needed before picking.
|
|
41574
|
-
* @param windowPosition - Window coordinates to perform picking on.
|
|
41575
|
-
* @param drawingBufferRectangle - The output drawing buffer recangle.
|
|
41576
|
-
* @param [width = 3] - Width of the pick rectangle.
|
|
41577
|
-
* @param [height = 3] - Height of the pick rectangle.
|
|
41578
|
-
*/
|
|
41579
|
-
export function pickBegin(scene: Scene, windowPosition: Cartesian2, drawingBufferRectangle: BoundingRectangle, width?: number, height?: number): void;
|
|
41580
|
-
|
|
41581
|
-
/**
|
|
41582
|
-
* Teardown needed after picking.
|
|
41583
|
-
*/
|
|
41584
|
-
export function pickEnd(scene: Scene): void;
|
|
41585
|
-
|
|
41586
41441
|
/**
|
|
41587
41442
|
* Information about metadata that is supposed to be picked
|
|
41588
41443
|
* @property schemaId - The optional ID of the metadata schema
|
|
@@ -41597,44 +41452,6 @@ export type PickedMetadataInfo = {
|
|
|
41597
41452
|
classProperty: MetadataClassProperty;
|
|
41598
41453
|
};
|
|
41599
41454
|
|
|
41600
|
-
/**
|
|
41601
|
-
* @param pickedResults - the results from the pickCallback
|
|
41602
|
-
* @param limit - If supplied, stop drilling after collecting this many picks.
|
|
41603
|
-
* @returns whether picking should end
|
|
41604
|
-
*/
|
|
41605
|
-
export function addDrillPickedResults(pickedResults: object[], limit: number, results: object[], pickedPrimitives: object[], pickedAttributes: object[], pickedFeatures: object[]): boolean;
|
|
41606
|
-
|
|
41607
|
-
/**
|
|
41608
|
-
* Drill pick by repeatedly calling a given `pickCallback`, each time stripping away the previously picked objects.
|
|
41609
|
-
* @param pickCallback - Pick callback to execute each iteration
|
|
41610
|
-
* @param [limit = Number.MAX_VALUE] - If supplied, stop drilling after collecting this many picks
|
|
41611
|
-
* @returns List of picked results
|
|
41612
|
-
*/
|
|
41613
|
-
export function drillPick(pickCallback: (...params: any[]) => any, limit?: number): object[];
|
|
41614
|
-
|
|
41615
|
-
/**
|
|
41616
|
-
* Remove all invalid binary body references from the batch table
|
|
41617
|
-
* JSON of the given parsed content.
|
|
41618
|
-
*
|
|
41619
|
-
* This is a workaround for gracefully handling the invalid PNTS
|
|
41620
|
-
* files that may have been created by the point cloud tiler.
|
|
41621
|
-
* See https://github.com/CesiumGS/cesium/issues/12872
|
|
41622
|
-
*
|
|
41623
|
-
* When the batch table JSON is undefined, nothing will be done.
|
|
41624
|
-
* When the batch table binary is defined, nothing will be done
|
|
41625
|
-
* (assuming that any binary body references are valid - this is
|
|
41626
|
-
* not checked here).
|
|
41627
|
-
*
|
|
41628
|
-
* Otherwise, this will remove all binary body references from the
|
|
41629
|
-
* batch table JSON that are not resolved from draco via the
|
|
41630
|
-
* `parsedContent.draco.batchTableProperties`.
|
|
41631
|
-
*
|
|
41632
|
-
* If any (invalid) binary body reference is found (and removed),
|
|
41633
|
-
* a one-time warning will be printed.
|
|
41634
|
-
* @param parsedContent - The parsed content
|
|
41635
|
-
*/
|
|
41636
|
-
export function removeInvalidBinaryBodyReferences(parsedContent: any): void;
|
|
41637
|
-
|
|
41638
41455
|
/**
|
|
41639
41456
|
* Options for performing point attenuation based on geometric error when rendering
|
|
41640
41457
|
* point clouds using 3D Tiles.
|
|
@@ -44227,18 +44044,6 @@ export class Scene {
|
|
|
44227
44044
|
destroy(): void;
|
|
44228
44045
|
}
|
|
44229
44046
|
|
|
44230
|
-
/**
|
|
44231
|
-
* Determine how translucent surfaces will be handled.
|
|
44232
|
-
*
|
|
44233
|
-
* When OIT is enabled, then this will delegate to OIT.executeCommands.
|
|
44234
|
-
* Otherwise, it will just be executeTranslucentCommandsBackToFront
|
|
44235
|
-
* for render passes, or executeTranslucentCommandsFrontToBack for
|
|
44236
|
-
* other passes.
|
|
44237
|
-
* @param scene - The scene.
|
|
44238
|
-
* @returns A function to execute translucent commands.
|
|
44239
|
-
*/
|
|
44240
|
-
export function obtainTranslucentCommandExecutionFunction(scene: Scene): (...params: any[]) => any;
|
|
44241
|
-
|
|
44242
44047
|
/**
|
|
44243
44048
|
* Indicates if the scene is viewed in 3D, 2D, or 2.5D Columbus view.
|
|
44244
44049
|
*/
|