mars3d-cesium 1.133.0 → 1.133.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 +40 -10
- package/Build/Cesium/Cesium.js +5909 -5907
- package/Build/Cesium/ThirdParty/Workers/z-worker-pako.js +1 -1
- package/Build/Cesium/ThirdParty/google-earth-dbroot-parser.js +1 -1
- package/Build/Cesium/Workers/{chunk-KL2WJGAH.js → chunk-26JMB5EG.js} +2 -2
- package/Build/Cesium/Workers/{chunk-KSJETWNA.js → chunk-2UIEEBAN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LTFW43O4.js → chunk-3H5MB2EO.js} +2 -2
- package/Build/Cesium/Workers/{chunk-7RFALDCX.js → chunk-5ISKVHZE.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DEFC2PLL.js → chunk-5WACMDJQ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ND77GZGZ.js → chunk-62CQLB45.js} +2 -2
- package/Build/Cesium/Workers/{chunk-HU3PBDYN.js → chunk-A6VUCLHN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-H4674FDM.js → chunk-AOU63PGD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-O6SEZKWO.js → chunk-BJ452TA7.js} +2 -2
- package/Build/Cesium/Workers/{chunk-U7KNMP7R.js → chunk-DJKMCWX5.js} +2 -2
- package/Build/Cesium/Workers/{chunk-43FKHWZQ.js → chunk-FM6NJIML.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XE3LXHBN.js → chunk-FUJYB47T.js} +2 -2
- package/Build/Cesium/Workers/{chunk-H7BQJGI3.js → chunk-GFFNDPHK.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DNSGOW55.js → chunk-GM3O7MIS.js} +1 -1
- package/Build/Cesium/Workers/{chunk-KYPYMOBP.js → chunk-H5MHZH6P.js} +2 -2
- package/Build/Cesium/Workers/chunk-HTW53N7A.js +26 -0
- package/Build/Cesium/Workers/{chunk-GWPH2PKP.js → chunk-HU3XCSCW.js} +2 -2
- package/Build/Cesium/Workers/{chunk-POYDHFH2.js → chunk-I3FYJ5IG.js} +2 -2
- package/Build/Cesium/Workers/{chunk-WE5RXDQO.js → chunk-IXJXM2U4.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LEMALSKJ.js → chunk-J5DUVNRR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CUZ2RUXA.js → chunk-JHQJZUYC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-4SJGFIS6.js → chunk-JR7HYP6T.js} +1 -1
- package/Build/Cesium/Workers/{chunk-EI4MGK4P.js → chunk-K7LLWBNJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-HJY22XCJ.js → chunk-LFEWZXYP.js} +2 -2
- package/Build/Cesium/Workers/chunk-LTGIIF63.js +26 -0
- package/Build/Cesium/Workers/{chunk-SXROU5LJ.js → chunk-MPITALOH.js} +2 -2
- package/Build/Cesium/Workers/{chunk-43TKGR4J.js → chunk-MZ2NDMIB.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VUZMPW7O.js → chunk-NJT5VBT3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-PDXVVB4B.js → chunk-NMCPHO6J.js} +2 -2
- package/Build/Cesium/Workers/{chunk-H3RPCIFY.js → chunk-NU4HYD2L.js} +2 -2
- package/Build/Cesium/Workers/{chunk-77TK2GQR.js → chunk-OKN5UZ7Q.js} +2 -2
- package/Build/Cesium/Workers/{chunk-Y5SQNN42.js → chunk-PGRLXBGD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VOEJSROL.js → chunk-PLLNGUDR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-E6KVT7IM.js → chunk-QEWSVV5D.js} +1 -1
- package/Build/Cesium/Workers/{chunk-M6BDGVII.js → chunk-QJQQBZH2.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZPICA5EX.js → chunk-QSBEFQ4F.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GUAABVXH.js → chunk-QUD7TMKH.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IZV5NST2.js → chunk-RLETINPU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5PSDDTZV.js → chunk-SPMVNJUF.js} +2 -2
- package/Build/Cesium/Workers/{chunk-XRTVQTQZ.js → chunk-TSCVBWG6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-NDZV4ITQ.js → chunk-U3MALRGE.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GONHMPVF.js → chunk-U5ICFWQV.js} +2 -2
- package/Build/Cesium/Workers/{chunk-A2BXH37K.js → chunk-UJL35RP2.js} +1 -1
- package/Build/Cesium/Workers/{chunk-NQTKQNS4.js → chunk-VD6ECAIC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ECZ7TW2U.js → chunk-VLDV42YZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-QJ3UCIAA.js → chunk-VNVMHPJH.js} +2 -2
- package/Build/Cesium/Workers/{chunk-4AQMWPCR.js → chunk-VRSY7XMN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-4MGM37G7.js → chunk-W5POSMCN.js} +2 -2
- package/Build/Cesium/Workers/{chunk-4ULLEHXL.js → chunk-Y4PFCRMK.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FBZUI3UF.js → chunk-YDRG5X7A.js} +1 -1
- package/Build/Cesium/Workers/{chunk-5MBJH7WO.js → chunk-YK6Q4ZLT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-TMSCFWI2.js → chunk-YNUOUJTT.js} +3 -3
- package/Build/Cesium/Workers/combineGeometry.js +2 -2
- package/Build/Cesium/Workers/createBoxGeometry.js +2 -2
- package/Build/Cesium/Workers/createBoxOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCircleGeometry.js +2 -2
- package/Build/Cesium/Workers/createCircleOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +2 -2
- package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCorridorGeometry.js +2 -2
- package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCylinderGeometry.js +2 -2
- package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipseGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipsoidGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createFrustumGeometry.js +2 -2
- package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createGeometry.js +2 -2
- package/Build/Cesium/Workers/createGroundPolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPlaneGeometry.js +2 -2
- package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolygonGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createRectangleGeometry.js +2 -2
- package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createSimplePolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createSphereGeometry.js +2 -2
- package/Build/Cesium/Workers/createSphereOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createTaskProcessorWorker.js +2 -2
- package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +2 -2
- package/Build/Cesium/Workers/createVectorTileGeometries.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePoints.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePolygons.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePolylines.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/Workers/createWallGeometry.js +2 -2
- package/Build/Cesium/Workers/createWallOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/decodeDraco.js +2 -2
- package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
- package/Build/Cesium/Workers/decodeI3S.js +2 -2
- package/Build/Cesium/Workers/gaussianSplatSorter.js +2 -2
- package/Build/Cesium/Workers/gaussianSplatTextureGenerator.js +2 -2
- package/Build/Cesium/Workers/transcodeKTX2.js +4 -4
- package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/index.cjs +5921 -5919
- package/Build/Cesium/index.js +5920 -5918
- package/README.md +1 -1
- package/package.json +1 -1
- package/Build/Cesium/README.md +0 -13
- package/Build/Cesium/ThirdParty/Workers/pako_deflate.min.js +0 -1
- package/Build/Cesium/ThirdParty/Workers/pako_inflate.min.js +0 -1
- package/Build/Cesium/Workers/chunk-4V2NIDZX.js +0 -26
- package/Build/Cesium/Workers/chunk-IWMJLQVB.js +0 -26
package/Build/Cesium/Cesium.d.ts
CHANGED
|
@@ -31911,9 +31911,9 @@ export enum DepthFunction {
|
|
|
31911
31911
|
|
|
31912
31912
|
/**
|
|
31913
31913
|
* Returns the type that the given class property has in a GLSL shader.
|
|
31914
|
-
|
|
31915
|
-
|
|
31916
|
-
|
|
31914
|
+
|
|
31915
|
+
It returns the same string as `PropertyTextureProperty.prototype.getGlslType`
|
|
31916
|
+
for a property texture property with the given class property
|
|
31917
31917
|
* @param classProperty - The class property
|
|
31918
31918
|
* @returns The GLSL shader type string for the property
|
|
31919
31919
|
*/
|
|
@@ -31921,8 +31921,8 @@ export function getGlslType(classProperty: MetadataClassProperty): string;
|
|
|
31921
31921
|
|
|
31922
31922
|
/**
|
|
31923
31923
|
* Returns a shader statement that applies the inverse of the
|
|
31924
|
-
|
|
31925
|
-
|
|
31924
|
+
value transform to the given value, based on the given offset
|
|
31925
|
+
and scale.
|
|
31926
31926
|
* @param input - The input value
|
|
31927
31927
|
* @param offset - The offset
|
|
31928
31928
|
* @param scale - The scale
|
|
@@ -31932,7 +31932,7 @@ export function unapplyValueTransform(input: string, offset: string, scale: stri
|
|
|
31932
31932
|
|
|
31933
31933
|
/**
|
|
31934
31934
|
* Returns a shader statement that applies the inverse of the
|
|
31935
|
-
|
|
31935
|
+
normalization, based on the given component type
|
|
31936
31936
|
* @param input - The input value
|
|
31937
31937
|
* @param componentType - The component type
|
|
31938
31938
|
* @returns The statement
|
|
@@ -31941,20 +31941,20 @@ export function unnormalize(input: string, componentType: string): string;
|
|
|
31941
31941
|
|
|
31942
31942
|
/**
|
|
31943
31943
|
* Creates a shader statement that returns the value of the specified
|
|
31944
|
-
|
|
31944
|
+
property, normalized to the range [0, 1].
|
|
31945
31945
|
* @param classProperty - The class property
|
|
31946
31946
|
* @param metadataProperty - The metadata property, either
|
|
31947
|
-
|
|
31947
|
+
a `PropertyTextureProperty` or a `PropertyAttributeProperty`
|
|
31948
31948
|
* @returns The string
|
|
31949
31949
|
*/
|
|
31950
31950
|
export function getSourceValueStringScalar(classProperty: MetadataClassProperty, metadataProperty: any): string;
|
|
31951
31951
|
|
|
31952
31952
|
/**
|
|
31953
31953
|
* Creates a shader statement that returns the value of the specified
|
|
31954
|
-
|
|
31954
|
+
component of the given property, normalized to the range [0, 1].
|
|
31955
31955
|
* @param classProperty - The class property
|
|
31956
31956
|
* @param metadataProperty - The metadata property, either
|
|
31957
|
-
|
|
31957
|
+
a `PropertyTextureProperty` or a `PropertyAttributeProperty`
|
|
31958
31958
|
* @param componentName - The name, in ["x", "y", "z", "w"]
|
|
31959
31959
|
* @returns The string
|
|
31960
31960
|
*/
|
|
@@ -36530,6 +36530,18 @@ export class Material {
|
|
|
36530
36530
|
* @returns New material object.
|
|
36531
36531
|
*/
|
|
36532
36532
|
static fromType(type: string, uniforms?: any): Material;
|
|
36533
|
+
/**
|
|
36534
|
+
* Creates a new material using an existing material type and returns a promise that resolves when
|
|
36535
|
+
all of the material's resources have been loaded.
|
|
36536
|
+
* @example
|
|
36537
|
+
* const material = await Cesium.Material.fromTypeAsync('Image', {
|
|
36538
|
+
image: '../Images/Cesium_Logo_overlay.png'
|
|
36539
|
+
});
|
|
36540
|
+
* @param type - The base material type.
|
|
36541
|
+
* @param [uniforms] - Overrides for the default uniforms.
|
|
36542
|
+
* @returns A promise that resolves to a new material object when all resources are loaded.
|
|
36543
|
+
*/
|
|
36544
|
+
static fromTypeAsync(type: string, uniforms?: any): Promise<Material>;
|
|
36533
36545
|
/**
|
|
36534
36546
|
* Gets whether or not this material is translucent.
|
|
36535
36547
|
* @returns <code>true</code> if this material is translucent, <code>false</code> otherwise.
|
|
@@ -36664,6 +36676,24 @@ export class Material {
|
|
|
36664
36676
|
static readonly WaterMaskType: string;
|
|
36665
36677
|
}
|
|
36666
36678
|
|
|
36679
|
+
/**
|
|
36680
|
+
* The {@link TextureMinificationFilter} to apply to this material's textures.
|
|
36681
|
+
*/
|
|
36682
|
+
export var minificationFilter: TextureMinificationFilter;
|
|
36683
|
+
|
|
36684
|
+
/**
|
|
36685
|
+
* The {@link TextureMagnificationFilter} to apply to this material's textures.
|
|
36686
|
+
*/
|
|
36687
|
+
export var magnificationFilter: TextureMagnificationFilter;
|
|
36688
|
+
|
|
36689
|
+
/**
|
|
36690
|
+
* Loads the images for a cubemap uniform, if it has changed since the last time this was called.
|
|
36691
|
+
* @param material - The material to load the cubemap images for.
|
|
36692
|
+
* @param uniformId - The ID of the uniform that corresponds to the cubemap images.
|
|
36693
|
+
* @returns A promise that resolves when the images are loaded, or a resolved promise if image loading is not necessary.
|
|
36694
|
+
*/
|
|
36695
|
+
export function loadCubeMapImagesForUniform(material: Material, uniformId: string): any;
|
|
36696
|
+
|
|
36667
36697
|
/**
|
|
36668
36698
|
* An appearance for arbitrary geometry (as opposed to {@link EllipsoidSurfaceAppearance}, for example)
|
|
36669
36699
|
that supports shading with materials.
|