mars3d-cesium 1.94.2 → 1.95.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.
Files changed (276) hide show
  1. package/Build/Cesium/Cesium.d.ts +266 -179
  2. package/Build/Cesium/Cesium.js +33 -9
  3. package/Build/Cesium/ThirdParty/Workers/z-worker-pako.js +1 -1
  4. package/Build/Cesium/ThirdParty/google-earth-dbroot-parser.js +1 -1
  5. package/Build/Cesium/Workers/ArcType-5c683766.js +25 -0
  6. package/Build/Cesium/Workers/ArcType-dc2a7709.js +25 -0
  7. package/Build/Cesium/Workers/AttributeCompression-6e71d14f.js +1 -0
  8. package/Build/Cesium/Workers/AttributeCompression-6ed02094.js +25 -0
  9. package/Build/Cesium/Workers/AttributeCompression-7a823eb1.js +1 -0
  10. package/Build/Cesium/Workers/AttributeCompression-d9dabbfc.js +25 -0
  11. package/Build/Cesium/Workers/AxisAlignedBoundingBox-410cd608.js +25 -0
  12. package/Build/Cesium/Workers/AxisAlignedBoundingBox-6808e68a.js +1 -0
  13. package/Build/Cesium/Workers/AxisAlignedBoundingBox-b6ec0c56.js +25 -0
  14. package/Build/Cesium/Workers/{AxisAlignedBoundingBox-e89a3bd3.js → AxisAlignedBoundingBox-db0dc349.js} +1 -1
  15. package/Build/Cesium/Workers/AxisAlignedBoundingBox-dd1e93db.js +1 -0
  16. package/Build/Cesium/Workers/AxisAlignedBoundingBox-ef345290.js +1 -0
  17. package/Build/Cesium/Workers/BoundingRectangle-0c088b10.js +1 -0
  18. package/Build/Cesium/Workers/BoundingRectangle-13e74a41.js +1 -0
  19. package/Build/Cesium/Workers/BoundingRectangle-3628be18.js +25 -0
  20. package/Build/Cesium/Workers/{BoundingRectangle-e2b9571d.js → BoundingRectangle-4d2acfd4.js} +1 -1
  21. package/Build/Cesium/Workers/BoundingRectangle-6bfae79e.js +25 -0
  22. package/Build/Cesium/Workers/BoundingRectangle-ffeef844.js +1 -0
  23. package/Build/Cesium/Workers/BoxGeometry-3d4876d9.js +1 -0
  24. package/Build/Cesium/Workers/{BoxGeometry-d2742d52.js → BoxGeometry-7949613c.js} +1 -1
  25. package/Build/Cesium/Workers/BoxGeometry-a2976d92.js +25 -0
  26. package/Build/Cesium/Workers/BoxGeometry-c0d41d4f.js +1 -0
  27. package/Build/Cesium/Workers/BoxGeometry-cdb5f1d2.js +1 -0
  28. package/Build/Cesium/Workers/BoxGeometry-d7bce895.js +25 -0
  29. package/Build/Cesium/Workers/{Color-4cbe9dde.js → Color-12d5ab6e.js} +1 -1
  30. package/Build/Cesium/Workers/Color-75e74066.js +1 -0
  31. package/Build/Cesium/Workers/Color-77051cdf.js +1 -0
  32. package/Build/Cesium/Workers/Color-7e3f51f6.js +25 -0
  33. package/Build/Cesium/Workers/Color-af5a56ba.js +1 -0
  34. package/Build/Cesium/Workers/Color-d0ee8196.js +25 -0
  35. package/Build/Cesium/Workers/ComponentDatatype-30af1694.js +25 -0
  36. package/Build/Cesium/Workers/ComponentDatatype-43ab226f.js +25 -0
  37. package/Build/Cesium/Workers/ComponentDatatype-a9820060.js +1 -0
  38. package/Build/Cesium/Workers/CoplanarPolygonGeometryLibrary-0d63b099.js +1 -0
  39. package/Build/Cesium/Workers/CoplanarPolygonGeometryLibrary-3c9aaaac.js +25 -0
  40. package/Build/Cesium/Workers/{CoplanarPolygonGeometryLibrary-f62a086d.js → CoplanarPolygonGeometryLibrary-42387a50.js} +1 -1
  41. package/Build/Cesium/Workers/CoplanarPolygonGeometryLibrary-63ae199f.js +1 -0
  42. package/Build/Cesium/Workers/CoplanarPolygonGeometryLibrary-a1f1ef31.js +25 -0
  43. package/Build/Cesium/Workers/CoplanarPolygonGeometryLibrary-bc611400.js +1 -0
  44. package/Build/Cesium/Workers/CorridorGeometryLibrary-0169e68d.js +1 -0
  45. package/Build/Cesium/Workers/{CorridorGeometryLibrary-8d94bd35.js → CorridorGeometryLibrary-02577142.js} +1 -1
  46. package/Build/Cesium/Workers/CorridorGeometryLibrary-6e23d6f7.js +1 -0
  47. package/Build/Cesium/Workers/CorridorGeometryLibrary-7c2c2a2d.js +25 -0
  48. package/Build/Cesium/Workers/CorridorGeometryLibrary-a3fffc69.js +1 -0
  49. package/Build/Cesium/Workers/CorridorGeometryLibrary-c42346a1.js +25 -0
  50. package/Build/Cesium/Workers/CylinderGeometry-068eebd3.js +1 -0
  51. package/Build/Cesium/Workers/CylinderGeometry-56421f16.js +1 -0
  52. package/Build/Cesium/Workers/{CylinderGeometry-4376f4a9.js → CylinderGeometry-9ab4b6de.js} +1 -1
  53. package/Build/Cesium/Workers/CylinderGeometry-9b5e6460.js +1 -0
  54. package/Build/Cesium/Workers/CylinderGeometry-a75949de.js +25 -0
  55. package/Build/Cesium/Workers/CylinderGeometry-d2fb2852.js +25 -0
  56. package/Build/Cesium/Workers/CylinderGeometryLibrary-1622a8e7.js +25 -0
  57. package/Build/Cesium/Workers/CylinderGeometryLibrary-ce947880.js +25 -0
  58. package/Build/Cesium/Workers/CylinderGeometryLibrary-fe5ec654.js +1 -0
  59. package/Build/Cesium/Workers/EllipseGeometry-712fea19.js +1 -0
  60. package/Build/Cesium/Workers/EllipseGeometry-715edbbe.js +1 -0
  61. package/Build/Cesium/Workers/EllipseGeometry-737b6644.js +25 -0
  62. package/Build/Cesium/Workers/{EllipseGeometry-3718e431.js → EllipseGeometry-7f98d885.js} +1 -1
  63. package/Build/Cesium/Workers/EllipseGeometry-81d0a760.js +25 -0
  64. package/Build/Cesium/Workers/EllipseGeometry-eeb1db07.js +1 -0
  65. package/Build/Cesium/Workers/EllipseGeometryLibrary-0ff34d76.js +1 -0
  66. package/Build/Cesium/Workers/EllipseGeometryLibrary-70788c4f.js +25 -0
  67. package/Build/Cesium/Workers/{EllipseGeometryLibrary-7d9d8578.js → EllipseGeometryLibrary-70ca3053.js} +1 -1
  68. package/Build/Cesium/Workers/EllipseGeometryLibrary-89b67cbd.js +1 -0
  69. package/Build/Cesium/Workers/EllipseGeometryLibrary-e258dc52.js +25 -0
  70. package/Build/Cesium/Workers/EllipseGeometryLibrary-eedf4d0b.js +1 -0
  71. package/Build/Cesium/Workers/EllipseOutlineGeometry-5a282d54.js +25 -0
  72. package/Build/Cesium/Workers/EllipseOutlineGeometry-616c1858.js +1 -0
  73. package/Build/Cesium/Workers/EllipseOutlineGeometry-7c871752.js +1 -0
  74. package/Build/Cesium/Workers/{EllipseOutlineGeometry-cf92ef99.js → EllipseOutlineGeometry-a5a2b688.js} +1 -1
  75. package/Build/Cesium/Workers/EllipseOutlineGeometry-abf90a31.js +1 -0
  76. package/Build/Cesium/Workers/EllipseOutlineGeometry-ef9f1c9f.js +25 -0
  77. package/Build/Cesium/Workers/EllipsoidGeodesic-7d405754.js +1 -0
  78. package/Build/Cesium/Workers/EllipsoidGeodesic-a67aa524.js +25 -0
  79. package/Build/Cesium/Workers/EllipsoidGeodesic-f4459924.js +1 -0
  80. package/Build/Cesium/Workers/EllipsoidGeodesic-fe85e19f.js +25 -0
  81. package/Build/Cesium/Workers/EllipsoidGeometry-46aff949.js +25 -0
  82. package/Build/Cesium/Workers/{EllipsoidGeometry-84420be2.js → EllipsoidGeometry-591d0b9b.js} +1 -1
  83. package/Build/Cesium/Workers/EllipsoidGeometry-59211ee8.js +25 -0
  84. package/Build/Cesium/Workers/EllipsoidGeometry-690d0a08.js +1 -0
  85. package/Build/Cesium/Workers/EllipsoidGeometry-699fe483.js +1 -0
  86. package/Build/Cesium/Workers/EllipsoidGeometry-954ef938.js +1 -0
  87. package/Build/Cesium/Workers/EllipsoidOutlineGeometry-08ca8d96.js +1 -0
  88. package/Build/Cesium/Workers/EllipsoidOutlineGeometry-300fdb2d.js +25 -0
  89. package/Build/Cesium/Workers/{EllipsoidOutlineGeometry-1c25041e.js → EllipsoidOutlineGeometry-650c7702.js} +1 -1
  90. package/Build/Cesium/Workers/EllipsoidOutlineGeometry-79998e39.js +1 -0
  91. package/Build/Cesium/Workers/EllipsoidOutlineGeometry-837116c0.js +1 -0
  92. package/Build/Cesium/Workers/EllipsoidOutlineGeometry-cdba69a2.js +25 -0
  93. package/Build/Cesium/Workers/EllipsoidRhumbLine-7b6199fa.js +1 -0
  94. package/Build/Cesium/Workers/EllipsoidRhumbLine-94e77fa4.js +1 -0
  95. package/Build/Cesium/Workers/EllipsoidRhumbLine-d50bc178.js +25 -0
  96. package/Build/Cesium/Workers/EllipsoidRhumbLine-e7a75836.js +25 -0
  97. package/Build/Cesium/Workers/EllipsoidTangentPlane-1cf39c37.js +1 -0
  98. package/Build/Cesium/Workers/{EllipsoidTangentPlane-d431886c.js → EllipsoidTangentPlane-1cf43e5d.js} +1 -1
  99. package/Build/Cesium/Workers/EllipsoidTangentPlane-330be9cc.js +1 -0
  100. package/Build/Cesium/Workers/EllipsoidTangentPlane-764a8df1.js +25 -0
  101. package/Build/Cesium/Workers/EllipsoidTangentPlane-b1ce46d0.js +1 -0
  102. package/Build/Cesium/Workers/EllipsoidTangentPlane-de92e2e3.js +25 -0
  103. package/Build/Cesium/Workers/EncodedCartesian3-20914bf5.js +1 -0
  104. package/Build/Cesium/Workers/EncodedCartesian3-3f5898d8.js +25 -0
  105. package/Build/Cesium/Workers/EncodedCartesian3-a3d87051.js +25 -0
  106. package/Build/Cesium/Workers/EncodedCartesian3-ee8e4156.js +1 -0
  107. package/Build/Cesium/Workers/FrustumGeometry-1ce1d73a.js +1 -0
  108. package/Build/Cesium/Workers/FrustumGeometry-1e1111d8.js +1 -0
  109. package/Build/Cesium/Workers/FrustumGeometry-984f66d1.js +25 -0
  110. package/Build/Cesium/Workers/{FrustumGeometry-3d1c78a9.js → FrustumGeometry-9856383f.js} +1 -1
  111. package/Build/Cesium/Workers/FrustumGeometry-b5e65de5.js +1 -0
  112. package/Build/Cesium/Workers/FrustumGeometry-ea1e1a92.js +25 -0
  113. package/Build/Cesium/Workers/GeometryAttribute-71155085.js +1 -0
  114. package/Build/Cesium/Workers/{GeometryAttribute-ad6fe63d.js → GeometryAttribute-77e36745.js} +1 -1
  115. package/Build/Cesium/Workers/GeometryAttribute-7a46074b.js +1 -0
  116. package/Build/Cesium/Workers/GeometryAttribute-a34d86d0.js +25 -0
  117. package/Build/Cesium/Workers/GeometryAttribute-d50ea0de.js +1 -0
  118. package/Build/Cesium/Workers/GeometryAttribute-fddcadfc.js +25 -0
  119. package/Build/Cesium/Workers/GeometryAttributes-d060f8b5.js +25 -0
  120. package/Build/Cesium/Workers/GeometryAttributes-dd9fd5f9.js +25 -0
  121. package/Build/Cesium/Workers/GeometryInstance-19ac39d5.js +1 -0
  122. package/Build/Cesium/Workers/GeometryInstance-77d97be6.js +25 -0
  123. package/Build/Cesium/Workers/GeometryInstance-86b030a6.js +1 -0
  124. package/Build/Cesium/Workers/GeometryInstance-9c4e19d7.js +25 -0
  125. package/Build/Cesium/Workers/GeometryOffsetAttribute-803b8911.js +25 -0
  126. package/Build/Cesium/Workers/GeometryOffsetAttribute-a17b96d9.js +25 -0
  127. package/Build/Cesium/Workers/{GeometryPipeline-58ed3258.js → GeometryPipeline-0d285494.js} +1 -1
  128. package/Build/Cesium/Workers/GeometryPipeline-11989082.js +25 -0
  129. package/Build/Cesium/Workers/GeometryPipeline-20b6a6da.js +1 -0
  130. package/Build/Cesium/Workers/GeometryPipeline-57ae8a09.js +1 -0
  131. package/Build/Cesium/Workers/GeometryPipeline-b15e7fd0.js +1 -0
  132. package/Build/Cesium/Workers/GeometryPipeline-f5483757.js +25 -0
  133. package/Build/Cesium/Workers/IndexDatatype-1cbc8622.js +1 -0
  134. package/Build/Cesium/Workers/IndexDatatype-88be9f5a.js +25 -0
  135. package/Build/Cesium/Workers/IndexDatatype-9e349063.js +25 -0
  136. package/Build/Cesium/Workers/{IntersectionTests-c9a542c8.js → IntersectionTests-4547e13f.js} +1 -1
  137. package/Build/Cesium/Workers/IntersectionTests-4db2368e.js +25 -0
  138. package/Build/Cesium/Workers/IntersectionTests-5ad6c953.js +25 -0
  139. package/Build/Cesium/Workers/IntersectionTests-93a038e3.js +1 -0
  140. package/Build/Cesium/Workers/IntersectionTests-aa65ad19.js +1 -0
  141. package/Build/Cesium/Workers/IntersectionTests-f15438d8.js +1 -0
  142. package/Build/Cesium/Workers/Matrix2-1509208a.js +1 -0
  143. package/Build/Cesium/Workers/Matrix2-6555478a.js +25 -0
  144. package/Build/Cesium/Workers/Matrix2-ce52759f.js +25 -0
  145. package/Build/Cesium/Workers/Matrix2-e6265fb0.js +1 -0
  146. package/Build/Cesium/Workers/OrientedBoundingBox-06b4fccc.js +1 -0
  147. package/Build/Cesium/Workers/OrientedBoundingBox-0713a042.js +25 -0
  148. package/Build/Cesium/Workers/{OrientedBoundingBox-87e36f5f.js → OrientedBoundingBox-966209b7.js} +1 -1
  149. package/Build/Cesium/Workers/OrientedBoundingBox-e7e81288.js +25 -0
  150. package/Build/Cesium/Workers/OrientedBoundingBox-fa9056b2.js +1 -0
  151. package/Build/Cesium/Workers/OrientedBoundingBox-fb79a2bd.js +1 -0
  152. package/Build/Cesium/Workers/Plane-042297c7.js +1 -0
  153. package/Build/Cesium/Workers/Plane-07368338.js +25 -0
  154. package/Build/Cesium/Workers/Plane-a0b66c27.js +25 -0
  155. package/Build/Cesium/Workers/Plane-e3daa19b.js +1 -0
  156. package/Build/Cesium/Workers/{PolygonGeometryLibrary-cc36562e.js → PolygonGeometryLibrary-2a7b65e7.js} +1 -1
  157. package/Build/Cesium/Workers/PolygonGeometryLibrary-6c1ecc39.js +1 -0
  158. package/Build/Cesium/Workers/PolygonGeometryLibrary-75437d2f.js +25 -0
  159. package/Build/Cesium/Workers/PolygonGeometryLibrary-829af033.js +1 -0
  160. package/Build/Cesium/Workers/PolygonGeometryLibrary-c5c437c2.js +25 -0
  161. package/Build/Cesium/Workers/PolygonGeometryLibrary-cb0bc5e9.js +1 -0
  162. package/Build/Cesium/Workers/PolygonPipeline-32699305.js +1 -0
  163. package/Build/Cesium/Workers/PolygonPipeline-3381b133.js +25 -0
  164. package/Build/Cesium/Workers/PolygonPipeline-666b269f.js +25 -0
  165. package/Build/Cesium/Workers/{PolygonPipeline-b1cbbe6f.js → PolygonPipeline-747e8ff6.js} +1 -1
  166. package/Build/Cesium/Workers/PolygonPipeline-968b19bd.js +1 -0
  167. package/Build/Cesium/Workers/PolygonPipeline-a182ab3c.js +1 -0
  168. package/Build/Cesium/Workers/PolylinePipeline-39d7619d.js +1 -0
  169. package/Build/Cesium/Workers/{PolylinePipeline-7325c7b6.js → PolylinePipeline-4f5c4291.js} +1 -1
  170. package/Build/Cesium/Workers/PolylinePipeline-5d154ff9.js +25 -0
  171. package/Build/Cesium/Workers/PolylinePipeline-5dfc440a.js +25 -0
  172. package/Build/Cesium/Workers/PolylinePipeline-9b252c2a.js +1 -0
  173. package/Build/Cesium/Workers/PolylinePipeline-b4491817.js +1 -0
  174. package/Build/Cesium/Workers/PolylineVolumeGeometryLibrary-62034f07.js +1 -0
  175. package/Build/Cesium/Workers/PolylineVolumeGeometryLibrary-682a5ee8.js +25 -0
  176. package/Build/Cesium/Workers/{PolylineVolumeGeometryLibrary-c43e3160.js → PolylineVolumeGeometryLibrary-974fa197.js} +1 -1
  177. package/Build/Cesium/Workers/PolylineVolumeGeometryLibrary-bd0bbdaf.js +1 -0
  178. package/Build/Cesium/Workers/PolylineVolumeGeometryLibrary-e9dd8941.js +1 -0
  179. package/Build/Cesium/Workers/PolylineVolumeGeometryLibrary-f2bf0782.js +25 -0
  180. package/Build/Cesium/Workers/PrimitivePipeline-4b589c04.js +25 -0
  181. package/Build/Cesium/Workers/PrimitivePipeline-4e5bdcd8.js +25 -0
  182. package/Build/Cesium/Workers/{PrimitivePipeline-7250dfa5.js → PrimitivePipeline-562b49b7.js} +1 -1
  183. package/Build/Cesium/Workers/PrimitivePipeline-7f75b0aa.js +1 -0
  184. package/Build/Cesium/Workers/PrimitivePipeline-8cf7c60b.js +1 -0
  185. package/Build/Cesium/Workers/PrimitivePipeline-e1f3eb3d.js +1 -0
  186. package/Build/Cesium/Workers/RectangleGeometryLibrary-12a48ca5.js +1 -0
  187. package/Build/Cesium/Workers/RectangleGeometryLibrary-18de78ad.js +1 -0
  188. package/Build/Cesium/Workers/RectangleGeometryLibrary-3c753379.js +25 -0
  189. package/Build/Cesium/Workers/{RectangleGeometryLibrary-3e108daf.js → RectangleGeometryLibrary-a2cce223.js} +1 -1
  190. package/Build/Cesium/Workers/RectangleGeometryLibrary-a44974f6.js +1 -0
  191. package/Build/Cesium/Workers/RectangleGeometryLibrary-c26f7636.js +25 -0
  192. package/Build/Cesium/Workers/RuntimeError-96a66650.js +25 -0
  193. package/Build/Cesium/Workers/RuntimeError-d45af186.js +25 -0
  194. package/Build/Cesium/Workers/TerrainEncoding-1706352f.js +25 -0
  195. package/Build/Cesium/Workers/TerrainEncoding-341cc7d2.js +1 -0
  196. package/Build/Cesium/Workers/{TerrainEncoding-96ae0eb9.js → TerrainEncoding-365ddcc9.js} +1 -1
  197. package/Build/Cesium/Workers/TerrainEncoding-9f3d813c.js +25 -0
  198. package/Build/Cesium/Workers/TerrainEncoding-aa1bedce.js +1 -0
  199. package/Build/Cesium/Workers/TerrainEncoding-d93e799b.js +1 -0
  200. package/Build/Cesium/Workers/Transforms-0d887b4e.js +39 -0
  201. package/Build/Cesium/Workers/Transforms-1b6c25a9.js +63 -0
  202. package/Build/Cesium/Workers/Transforms-6c4dd71f.js +63 -0
  203. package/Build/Cesium/Workers/Transforms-bf323bcf.js +39 -0
  204. package/Build/Cesium/Workers/Transforms-c84edde7.js +39 -0
  205. package/Build/Cesium/Workers/Transforms-fdc0a95d.js +39 -0
  206. package/Build/Cesium/Workers/VertexFormat-040029cd.js +25 -0
  207. package/Build/Cesium/Workers/VertexFormat-d53ce9da.js +25 -0
  208. package/Build/Cesium/Workers/WallGeometryLibrary-0cfe87c2.js +1 -0
  209. package/Build/Cesium/Workers/{WallGeometryLibrary-2fbfc076.js → WallGeometryLibrary-1c664ea1.js} +1 -1
  210. package/Build/Cesium/Workers/WallGeometryLibrary-2dcbfab3.js +25 -0
  211. package/Build/Cesium/Workers/WallGeometryLibrary-45fce2ce.js +25 -0
  212. package/Build/Cesium/Workers/WallGeometryLibrary-55f64681.js +1 -0
  213. package/Build/Cesium/Workers/WallGeometryLibrary-ff159f75.js +1 -0
  214. package/Build/Cesium/Workers/WebGLConstants-9d82ccef.js +25 -0
  215. package/Build/Cesium/Workers/WebGLConstants-e12cdc8a.js +25 -0
  216. package/Build/Cesium/Workers/WebMercatorProjection-2d827489.js +1 -0
  217. package/Build/Cesium/Workers/WebMercatorProjection-50f5da31.js +1 -0
  218. package/Build/Cesium/Workers/WebMercatorProjection-a6181c09.js +25 -0
  219. package/Build/Cesium/Workers/WebMercatorProjection-aebe77b6.js +25 -0
  220. package/Build/Cesium/Workers/_commonjsHelpers-3aae1032-a0270924.js +25 -0
  221. package/Build/Cesium/Workers/_commonjsHelpers-3aae1032-ac53d93e.js +25 -0
  222. package/Build/Cesium/Workers/arrayRemoveDuplicates-2d952a7c.js +25 -0
  223. package/Build/Cesium/Workers/arrayRemoveDuplicates-75feaa04.js +25 -0
  224. package/Build/Cesium/Workers/arrayRemoveDuplicates-fe254feb.js +1 -0
  225. package/Build/Cesium/Workers/combine-0dce9b0f.js +25 -0
  226. package/Build/Cesium/Workers/combine-cf4c21bb.js +25 -0
  227. package/Build/Cesium/Workers/combineGeometry.js +25 -1
  228. package/Build/Cesium/Workers/createBoxGeometry.js +25 -1
  229. package/Build/Cesium/Workers/createBoxOutlineGeometry.js +25 -1
  230. package/Build/Cesium/Workers/createCircleGeometry.js +25 -1
  231. package/Build/Cesium/Workers/createCircleOutlineGeometry.js +25 -1
  232. package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +25 -1
  233. package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +25 -1
  234. package/Build/Cesium/Workers/createCorridorGeometry.js +25 -1
  235. package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +25 -1
  236. package/Build/Cesium/Workers/createCylinderGeometry.js +25 -1
  237. package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +25 -1
  238. package/Build/Cesium/Workers/createEllipseGeometry.js +25 -1
  239. package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +25 -1
  240. package/Build/Cesium/Workers/createEllipsoidGeometry.js +25 -1
  241. package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +25 -1
  242. package/Build/Cesium/Workers/createFrustumGeometry.js +25 -1
  243. package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +25 -1
  244. package/Build/Cesium/Workers/createGeometry.js +25 -1
  245. package/Build/Cesium/Workers/createGroundPolylineGeometry.js +25 -1
  246. package/Build/Cesium/Workers/createPlaneGeometry.js +25 -1
  247. package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +25 -1
  248. package/Build/Cesium/Workers/createPolygonGeometry.js +25 -1
  249. package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +25 -1
  250. package/Build/Cesium/Workers/createPolylineGeometry.js +25 -1
  251. package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +25 -1
  252. package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +25 -1
  253. package/Build/Cesium/Workers/createRectangleGeometry.js +25 -1
  254. package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +25 -1
  255. package/Build/Cesium/Workers/createSimplePolylineGeometry.js +25 -1
  256. package/Build/Cesium/Workers/createSphereGeometry.js +25 -1
  257. package/Build/Cesium/Workers/createSphereOutlineGeometry.js +25 -1
  258. package/Build/Cesium/Workers/createTaskProcessorWorker.js +25 -1
  259. package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +25 -1
  260. package/Build/Cesium/Workers/createVectorTileGeometries.js +25 -1
  261. package/Build/Cesium/Workers/createVectorTilePoints.js +25 -1
  262. package/Build/Cesium/Workers/createVectorTilePolygons.js +25 -1
  263. package/Build/Cesium/Workers/createVectorTilePolylines.js +25 -1
  264. package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +25 -1
  265. package/Build/Cesium/Workers/createVerticesFromHeightmap.js +26 -2
  266. package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +25 -1
  267. package/Build/Cesium/Workers/createWallGeometry.js +25 -1
  268. package/Build/Cesium/Workers/createWallOutlineGeometry.js +25 -1
  269. package/Build/Cesium/Workers/decodeDraco.js +25 -1
  270. package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +25 -1
  271. package/Build/Cesium/Workers/defaultValue-a4a8b5d2.js +25 -0
  272. package/Build/Cesium/Workers/defaultValue-ac2201bb.js +25 -0
  273. package/Build/Cesium/Workers/transcodeKTX2.js +25 -1
  274. package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +25 -1
  275. package/package.json +2 -3
  276. package/Build/Cesium/Workers/Transforms-3afcc791.js +0 -39
@@ -2857,6 +2857,11 @@ export class CatmullRomSpline {
2857
2857
 
2858
2858
  /**
2859
2859
  * A {@link TerrainProvider} that accesses terrain data in a Cesium terrain format.
2860
+ Terrain formats can be one of the following:
2861
+ <ul>
2862
+ <li> {@link https://github.com/AnalyticalGraphicsInc/quantized-mesh Quantized Mesh} </li>
2863
+ <li> {@link https://github.com/AnalyticalGraphicsInc/cesium/wiki/heightmap-1.0 Height Map} </li>
2864
+ </ul>
2860
2865
  * @example
2861
2866
  * // Create Arctic DEM terrain with normals.
2862
2867
  const viewer = new Cesium.Viewer('cesiumContainer', {
@@ -7663,7 +7668,7 @@ export class GoogleEarthEnterpriseTerrainData {
7663
7668
  /**
7664
7669
  * Provides tiled terrain using the Google Earth Enterprise REST API.
7665
7670
  * @example
7666
- * const geeMetadata = new GoogleEarthEnterpriseMetadata('http://www.earthenterprise.org/3d');
7671
+ * const geeMetadata = new GoogleEarthEnterpriseMetadata('http://www.example.com');
7667
7672
  const gee = new Cesium.GoogleEarthEnterpriseTerrainProvider({
7668
7673
  metadata : geeMetadata
7669
7674
  });
@@ -22462,7 +22467,7 @@ export class ModelVisualizer {
22462
22467
  constructor(scene: Scene, entityCollection: EntityCollection);
22463
22468
  /**
22464
22469
  * Updates models created this visualizer to match their
22465
- Entity counterpart at the given time.
22470
+ * Entity counterpart at the given time.
22466
22471
  * @param time - The time to update to.
22467
22472
  * @returns This function always returns true.
22468
22473
  */
@@ -27315,11 +27320,11 @@ or picking using {@link Scene#pick}.
27315
27320
  handler.setInputAction(function(movement) {
27316
27321
  const feature = scene.pick(movement.endPosition);
27317
27322
  if (feature instanceof Cesium.Cesium3DTileFeature) {
27318
- const propertyNames = feature.getPropertyNames();
27319
- const length = propertyNames.length;
27323
+ const propertyIds = feature.getPropertyIds();
27324
+ const length = propertyIds.length;
27320
27325
  for (let i = 0; i < length; ++i) {
27321
- const propertyName = propertyNames[i];
27322
- console.log(`{propertyName}: ${feature.getProperty(propertyName)}`);
27326
+ const propertyId = propertyIds[i];
27327
+ console.log(`{propertyId}: ${feature.getProperty(propertyId)}`);
27323
27328
  }
27324
27329
  }
27325
27330
  }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
@@ -27372,16 +27377,23 @@ export class Cesium3DTileFeature {
27372
27377
  * @returns The names of the feature's properties.
27373
27378
  */
27374
27379
  getPropertyNames(results?: string[]): string[];
27380
+ /**
27381
+ * Returns an array of property IDs for the feature. This includes properties from this feature's
27382
+ class and inherited classes when using a batch table hierarchy.
27383
+ * @param [results] - An array into which to store the results.
27384
+ * @returns The IDs of the feature's properties.
27385
+ */
27386
+ getPropertyIds(results?: string[]): string[];
27375
27387
  /**
27376
27388
  * Returns a copy of the value of the feature's property with the given name. This includes properties from this feature's
27377
27389
  class and inherited classes when using a batch table hierarchy.
27378
27390
  * @example
27379
27391
  * // Display all the properties for a feature in the console log.
27380
- const propertyNames = feature.getPropertyNames();
27381
- const length = propertyNames.length;
27392
+ const propertyIds = feature.getPropertyIds();
27393
+ const length = propertyIds.length;
27382
27394
  for (let i = 0; i < length; ++i) {
27383
- const propertyName = propertyNames[i];
27384
- console.log(`{propertyName}: ${feature.getProperty(propertyName)}`);
27395
+ const propertyId = propertyIds[i];
27396
+ console.log(`{propertyId}: ${feature.getProperty(propertyId)}`);
27385
27397
  }
27386
27398
  * @param name - The case-sensitive name of the property.
27387
27399
  * @returns The value of the property or <code>undefined</code> if the feature does not have this property.
@@ -27463,11 +27475,11 @@ or picking using {@link Scene#pick} and {@link Scene#pickPosition}.
27463
27475
  handler.setInputAction(function(movement) {
27464
27476
  const feature = scene.pick(movement.endPosition);
27465
27477
  if (feature instanceof Cesium.Cesium3DTilePointFeature) {
27466
- const propertyNames = feature.getPropertyNames();
27467
- const length = propertyNames.length;
27478
+ const propertyIds = feature.getPropertyIds();
27479
+ const length = propertyIds.length;
27468
27480
  for (let i = 0; i < length; ++i) {
27469
- const propertyName = propertyNames[i];
27470
- console.log(`{propertyName}: ${feature.getProperty(propertyName)}`);
27481
+ const propertyId = propertyIds[i];
27482
+ console.log(`{propertyId}: ${feature.getProperty(propertyId)}`);
27471
27483
  }
27472
27484
  }
27473
27485
  }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
@@ -27648,16 +27660,23 @@ export class Cesium3DTilePointFeature {
27648
27660
  * @returns The names of the feature's properties.
27649
27661
  */
27650
27662
  getPropertyNames(results?: string[]): string[];
27663
+ /**
27664
+ * Returns an array of property IDs for the feature. This includes properties from this feature's
27665
+ class and inherited classes when using a batch table hierarchy.
27666
+ * @param [results] - An array into which to store the results.
27667
+ * @returns The IDs of the feature's properties.
27668
+ */
27669
+ getPropertyIds(results?: string[]): string[];
27651
27670
  /**
27652
27671
  * Returns a copy of the value of the feature's property with the given name. This includes properties from this feature's
27653
27672
  class and inherited classes when using a batch table hierarchy.
27654
27673
  * @example
27655
27674
  * // Display all the properties for a feature in the console log.
27656
- const propertyNames = feature.getPropertyNames();
27657
- const length = propertyNames.length;
27675
+ const propertyIds = feature.getPropertyIds();
27676
+ const length = propertyIds.length;
27658
27677
  for (let i = 0; i < length; ++i) {
27659
- const propertyName = propertyNames[i];
27660
- console.log(`{propertyName} : ${feature.getProperty(propertyName)}`);
27678
+ const propertyId = propertyIds[i];
27679
+ console.log(`{propertyId} : ${feature.getProperty(propertyId)}`);
27661
27680
  }
27662
27681
  * @param name - The case-sensitive name of the property.
27663
27682
  * @returns The value of the property or <code>undefined</code> if the feature does not have this property.
@@ -31359,7 +31378,7 @@ export namespace GoogleEarthEnterpriseImageryProvider {
31359
31378
  Notes: This provider is for use with the 3D Earth API of Google Earth Enterprise,
31360
31379
  {@link GoogleEarthEnterpriseMapsProvider} should be used with 2D Maps API.
31361
31380
  * @example
31362
- * const geeMetadata = new GoogleEarthEnterpriseMetadata('http://www.earthenterprise.org/3d');
31381
+ * const geeMetadata = new GoogleEarthEnterpriseMetadata('http://www.example.com');
31363
31382
  const gee = new Cesium.GoogleEarthEnterpriseImageryProvider({
31364
31383
  metadata : geeMetadata
31365
31384
  });
@@ -34822,7 +34841,7 @@ relative to a local origin.
34822
34841
  * @param [options.silhouetteColor = Color.RED] - The silhouette color. If more than 256 models have silhouettes enabled, there is a small chance that overlapping models will have minor artifacts.
34823
34842
  * @param [options.silhouetteSize = 0.0] - The size of the silhouette in pixels.
34824
34843
  * @param [options.clippingPlanes] - The {@link ClippingPlaneCollection} used to selectively disable rendering the model.
34825
- * @param [options.dequantizeInShader = true] - Determines if a {@link https://github.com/google/draco|Draco} encoded model is dequantized on the GPU. This decreases total memory usage for encoded models. Deprecated in CesiumJS 1.94, will be removed in CesiumJS 1.95.
34844
+ * @param [options.dequantizeInShader = true] - Determines if a {@link https://github.com/google/draco|Draco} encoded model is dequantized on the GPU. This decreases total memory usage for encoded models. Deprecated in CesiumJS 1.94, will be removed in CesiumJS 1.96.
34826
34845
  * @param [options.lightColor] - The light color when shading the model. When <code>undefined</code> the scene's light color is used instead.
34827
34846
  * @param [options.imageBasedLighting] - The properties for managing image-based lighting on this model.
34828
34847
  * @param [options.credit] - A credit for the data source, which is displayed on the canvas.
@@ -35160,7 +35179,7 @@ export class Model {
35160
35179
  * @param [options.silhouetteColor = Color.RED] - The silhouette color. If more than 256 models have silhouettes enabled, there is a small chance that overlapping models will have minor artifacts.
35161
35180
  * @param [options.silhouetteSize = 0.0] - The size of the silhouette in pixels.
35162
35181
  * @param [options.clippingPlanes] - The {@link ClippingPlaneCollection} used to selectively disable rendering the model.
35163
- * @param [options.dequantizeInShader = true] - Determines if a {@link https://github.com/google/draco|Draco} encoded model is dequantized on the GPU. This decreases total memory usage for encoded models. Deprecated in CesiumJS 1.94, will be removed in CesiumJS 1.95.
35182
+ * @param [options.dequantizeInShader = true] - Determines if a {@link https://github.com/google/draco|Draco} encoded model is dequantized on the GPU. This decreases total memory usage for encoded models. Deprecated in CesiumJS 1.94, will be removed in CesiumJS 1.96.
35164
35183
  * @param [options.lightColor] - The light color when shading the model. When <code>undefined</code> the scene's light color is used instead.
35165
35184
  * @param [options.imageBasedLighting] - The properties for managing image-based lighting for this tileset.
35166
35185
  * @param [options.credit] - A credit for the model, which is displayed on the canvas.
@@ -35768,31 +35787,36 @@ the Model from your source data type.
35768
35787
  * @param [options.scale = 1.0] - A uniform scale applied to this model.
35769
35788
  * @param [options.minimumPixelSize = 0.0] - The approximate minimum pixel size of the model regardless of zoom.
35770
35789
  * @param [options.maximumScale] - The maximum scale size of a model. An upper limit for minimumPixelSize.
35790
+ * @param [options.id] - A user-defined object to return when the model is picked with {@link Scene#pick}.
35791
+ * @param [options.allowPicking = true] - When <code>true</code>, each primitive is pickable with {@link Scene#pick}.
35771
35792
  * @param [options.clampAnimations = true] - Determines if the model's animations should hold a pose over frames where no keyframes are specified.
35793
+ * @param [options.shadows = ShadowMode.ENABLED] - Determines whether the model casts or receives shadows from light sources.
35772
35794
  * @param [options.debugShowBoundingVolume = false] - For debugging only. Draws the bounding sphere for each draw command in the model.
35773
35795
  * @param [options.enableDebugWireframe = false] - For debugging only. This must be set to true for debugWireframe to work in WebGL1. This cannot be set after the model has loaded.
35774
35796
  * @param [options.debugWireframe = false] - For debugging only. Draws the model in wireframe. Will only work for WebGL1 if enableDebugWireframe is set to true.
35775
35797
  * @param [options.cull = true] - Whether or not to cull the model using frustum/horizon culling. If the model is part of a 3D Tiles tileset, this property will always be false, since the 3D Tiles culling system is used.
35776
35798
  * @param [options.opaquePass = Pass.OPAQUE] - The pass to use in the {@link DrawCommand} for the opaque portions of the model.
35777
- * @param [options.allowPicking = true] - When <code>true</code>, each primitive is pickable with {@link Scene#pick}.
35778
35799
  * @param [options.customShader] - A custom shader. This will add user-defined GLSL code to the vertex and fragment shaders. Using custom shaders with a {@link Cesium3DTileStyle} may lead to undefined behavior.
35779
35800
  * @param [options.content] - The tile content this model belongs to. This property will be undefined if model is not loaded as part of a tileset.
35780
35801
  * @param [options.heightReference = HeightReference.NONE] - Determines how the model is drawn relative to terrain.
35781
35802
  * @param [options.scene] - Must be passed in for models that use the height reference property.
35803
+ * @param [options.distanceDisplayCondition] - The condition specifying at what distance from the camera that this model will be displayed.
35782
35804
  * @param [options.color] - A color that blends with the model's rendered color.
35783
35805
  * @param [options.colorBlendMode = ColorBlendMode.HIGHLIGHT] - Defines how the color blends with the model.
35784
35806
  * @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.
35785
- * @param [options.featureIdLabel = "featureId_0"] - Label of the feature ID set to use for picking and styling. For EXT_mesh_features, this is the feature ID's label property, or "featureId_N" (where N is the index in the featureIds array) when not specified. EXT_feature_metadata did not have a label field, so such feature ID sets are always labeled "featureId_N" where N is the index in the list of all feature Ids, where feature ID attributes are listed before feature ID textures. If featureIdLabel is an integer N, it is converted to the string "featureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
35786
- * @param [options.instanceFeatureIdLabel = "instanceFeatureId_0"] - Label of the instance feature ID set used for picking and styling. If instanceFeatureIdLabel is set to an integer N, it is converted to the string "instanceFeatureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
35787
- * @param [options.pointCloudShading] - Options for constructing a {@link PointCloudShading} object to control point attenuation based on geometric error and lighting.
35807
+ * @param [options.silhouetteColor = Color.RED] - The silhouette color. If more than 256 models have silhouettes enabled, there is a small chance that overlapping models will have minor artifacts.
35808
+ * @param [options.silhouetteSize = 0.0] - The size of the silhouette in pixels.
35788
35809
  * @param [options.clippingPlanes] - The {@link ClippingPlaneCollection} used to selectively disable rendering the model.
35789
35810
  * @param [options.lightColor] - The light color when shading the model. When <code>undefined</code> the scene's light color is used instead.
35790
35811
  * @param [options.imageBasedLighting] - The properties for managing image-based lighting on this model.
35791
35812
  * @param [options.backFaceCulling = true] - Whether to cull back-facing geometry. When true, back face culling is determined by the material's doubleSided property; when false, back face culling is disabled. Back faces are not culled if the model's color is translucent.
35792
- * @param [options.shadows = ShadowMode.ENABLED] - Determines whether the model casts or receives shadows from light sources.
35813
+ * @param [options.credit] - A credit for the data source, which is displayed on the canvas.
35793
35814
  * @param [options.showCreditsOnScreen = false] - Whether to display the credits of this model on screen.
35794
35815
  * @param [options.splitDirection = SplitDirection.NONE] - The {@link SplitDirection} split to apply to this model.
35795
35816
  * @param [options.projectTo2D = false] - Whether to accurately project the model's positions in 2D. If this is true, the model will be projected accurately to 2D, but it will use more memory to do so. If this is false, the model will use less memory and will still render in 2D / CV mode, but its positions may be inaccurate. This disables minimumPixelSize and prevents future modification to the model matrix. This also cannot be set after the model has loaded.
35817
+ * @param [options.featureIdLabel = "featureId_0"] - Label of the feature ID set to use for picking and styling. For EXT_mesh_features, this is the feature ID's label property, or "featureId_N" (where N is the index in the featureIds array) when not specified. EXT_feature_metadata did not have a label field, so such feature ID sets are always labeled "featureId_N" where N is the index in the list of all feature Ids, where feature ID attributes are listed before feature ID textures. If featureIdLabel is an integer N, it is converted to the string "featureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
35818
+ * @param [options.instanceFeatureIdLabel = "instanceFeatureId_0"] - Label of the instance feature ID set used for picking and styling. If instanceFeatureIdLabel is set to an integer N, it is converted to the string "instanceFeatureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
35819
+ * @param [options.pointCloudShading] - Options for constructing a {@link PointCloudShading} object to control point attenuation based on geometric error and lighting.
35796
35820
  */
35797
35821
  export class ModelExperimental {
35798
35822
  constructor(options: {
@@ -35802,31 +35826,36 @@ export class ModelExperimental {
35802
35826
  scale?: number;
35803
35827
  minimumPixelSize?: number;
35804
35828
  maximumScale?: number;
35829
+ id?: any;
35830
+ allowPicking?: boolean;
35805
35831
  clampAnimations?: boolean;
35832
+ shadows?: ShadowMode;
35806
35833
  debugShowBoundingVolume?: boolean;
35807
35834
  enableDebugWireframe?: boolean;
35808
35835
  debugWireframe?: boolean;
35809
35836
  cull?: boolean;
35810
35837
  opaquePass?: boolean;
35811
- allowPicking?: boolean;
35812
35838
  customShader?: CustomShader;
35813
35839
  content?: Cesium3DTileContent;
35814
35840
  heightReference?: HeightReference;
35815
35841
  scene?: Scene;
35842
+ distanceDisplayCondition?: DistanceDisplayCondition;
35816
35843
  color?: Color;
35817
35844
  colorBlendMode?: ColorBlendMode;
35818
35845
  colorBlendAmount?: number;
35819
- featureIdLabel?: string | number;
35820
- instanceFeatureIdLabel?: string | number;
35821
- pointCloudShading?: any;
35846
+ silhouetteColor?: Color;
35847
+ silhouetteSize?: number;
35822
35848
  clippingPlanes?: ClippingPlaneCollection;
35823
35849
  lightColor?: Cartesian3;
35824
35850
  imageBasedLighting?: ImageBasedLighting;
35825
35851
  backFaceCulling?: boolean;
35826
- shadows?: ShadowMode;
35852
+ credit?: Credit | string;
35827
35853
  showCreditsOnScreen?: boolean;
35828
35854
  splitDirection?: SplitDirection;
35829
35855
  projectTo2D?: boolean;
35856
+ featureIdLabel?: string | number;
35857
+ instanceFeatureIdLabel?: string | number;
35858
+ pointCloudShading?: any;
35830
35859
  });
35831
35860
  /**
35832
35861
  * When <code>true</code>, this model is ready to render, i.e., the external binary, image,
@@ -35866,6 +35895,15 @@ export class ModelExperimental {
35866
35895
  relative to terrain.
35867
35896
  */
35868
35897
  heightReference: HeightReference;
35898
+ /**
35899
+ * Gets or sets the distance display condition, which specifies at what distance
35900
+ from the camera this model will be displayed.
35901
+ */
35902
+ distanceDisplayCondition: DistanceDisplayCondition;
35903
+ /**
35904
+ * A user-defined object that is returned when the model is picked.
35905
+ */
35906
+ id: any;
35869
35907
  /**
35870
35908
  * The style to apply the to the features in the model. Cannot be applied if a {@link CustomShader} is also applied.
35871
35909
  */
@@ -35882,6 +35920,14 @@ export class ModelExperimental {
35882
35920
  * 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.
35883
35921
  */
35884
35922
  colorBlendAmount: number;
35923
+ /**
35924
+ * The silhouette color.
35925
+ */
35926
+ silhouetteColor: Color;
35927
+ /**
35928
+ * The size of the silhouette in pixels.
35929
+ */
35930
+ silhouetteSize: number;
35885
35931
  /**
35886
35932
  * Gets the model's bounding sphere in world space. This does not take into account
35887
35933
  glTF animations, skins, or morph targets. It also does not account for
@@ -35954,8 +36000,8 @@ export class ModelExperimental {
35954
36000
  /**
35955
36001
  * Whether to cull back-facing geometry. When true, back face culling is
35956
36002
  determined by the material's doubleSided property; when false, back face
35957
- culling is disabled. Back faces are not culled if the model's color is
35958
- translucent.
36003
+ culling is disabled. Back faces are not culled if {@link ModelExperimental#color}
36004
+ is translucent or {@link ModelExperimental#silhouetteSize} is greater than 0.0.
35959
36005
  */
35960
36006
  backFaceCulling: boolean;
35961
36007
  /**
@@ -35980,6 +36026,10 @@ export class ModelExperimental {
35980
36026
  * Determines whether the model casts or receives shadows from light sources.
35981
36027
  */
35982
36028
  shadows: ShadowMode;
36029
+ /**
36030
+ * Gets the credit that will be displayed for the model
36031
+ */
36032
+ readonly credit: Credit;
35983
36033
  /**
35984
36034
  * Gets or sets whether the credits of the model will be displayed on the screen
35985
36035
  */
@@ -35988,6 +36038,23 @@ export class ModelExperimental {
35988
36038
  * The {@link SplitDirection} to apply to this model.
35989
36039
  */
35990
36040
  splitDirection: SplitDirection;
36041
+ /**
36042
+ * Sets the current value of an articulation stage. After setting one or
36043
+ multiple stage values, call ModelExperimental.applyArticulations() to
36044
+ cause the node matrices to be recalculated.
36045
+ * @example
36046
+ * // Sets the value of the stage named "MoveX" belonging to the articulation named "SampleArticulation"
36047
+ model.setArticulationStage("SampleArticulation MoveX", 50.0);
36048
+ * @param articulationStageKey - The name of the articulation, a space, and the name of the stage.
36049
+ * @param value - The numeric value of this stage of the articulation.
36050
+ */
36051
+ setArticulationStage(articulationStageKey: string, value: number): void;
36052
+ /**
36053
+ * Applies any modified articulation stages to the matrix of each node that
36054
+ participates in any articulation. Note that this will overwrite any node
36055
+ transformations on participating nodes.
36056
+ */
36057
+ applyArticulations(): void;
35991
36058
  /**
35992
36059
  * Called when {@link Viewer} or {@link CesiumWidget} render the scene to
35993
36060
  get the draw commands needed to render this primitive.
@@ -36031,7 +36098,12 @@ export class ModelExperimental {
36031
36098
  * @param [options.scale = 1.0] - A uniform scale applied to this model.
36032
36099
  * @param [options.minimumPixelSize = 0.0] - The approximate minimum pixel size of the model regardless of zoom.
36033
36100
  * @param [options.maximumScale] - The maximum scale size of a model. An upper limit for minimumPixelSize.
36101
+ * @param [options.id] - A user-defined object to return when the model is picked with {@link Scene#pick}.
36102
+ * @param [options.allowPicking = true] - When <code>true</code>, each primitive is pickable with {@link Scene#pick}.
36034
36103
  * @param [options.incrementallyLoadTextures = true] - Determine if textures may continue to stream in after the model is loaded.
36104
+ * @param [options.asynchronous = true] - Determines if model WebGL resource creation will be spread out over several frames or block until completion once all glTF files are loaded.
36105
+ * @param [options.clampAnimations = true] - Determines if the model's animations should hold a pose over frames where no keyframes are specified.
36106
+ * @param [options.shadows = ShadowMode.ENABLED] - Determines whether the model casts or receives shadows from light sources.
36035
36107
  * @param [options.releaseGltfJson = false] - When true, the glTF JSON is released once the glTF is loaded. This is is especially useful for cases like 3D Tiles, where each .gltf model is unique and caching the glTF JSON is not effective.
36036
36108
  * @param [options.debugShowBoundingVolume = false] - For debugging only. Draws the bounding sphere for each draw command in the model.
36037
36109
  * @param [options.enableDebugWireframe = false] - For debugging only. This must be set to true for debugWireframe to work in WebGL1. This cannot be set after the model has loaded.
@@ -36040,25 +36112,27 @@ export class ModelExperimental {
36040
36112
  * @param [options.opaquePass = Pass.OPAQUE] - The pass to use in the {@link DrawCommand} for the opaque portions of the model.
36041
36113
  * @param [options.upAxis = Axis.Y] - The up-axis of the glTF model.
36042
36114
  * @param [options.forwardAxis = Axis.Z] - The forward-axis of the glTF model.
36043
- * @param [options.allowPicking = true] - When <code>true</code>, each primitive is pickable with {@link Scene#pick}.
36044
36115
  * @param [options.customShader] - A custom shader. This will add user-defined GLSL code to the vertex and fragment shaders. Using custom shaders with a {@link Cesium3DTileStyle} may lead to undefined behavior.
36045
36116
  * @param [options.content] - The tile content this model belongs to. This property will be undefined if model is not loaded as part of a tileset.
36046
36117
  * @param [options.heightReference = HeightReference.NONE] - Determines how the model is drawn relative to terrain.
36047
36118
  * @param [options.scene] - Must be passed in for models that use the height reference property.
36119
+ * @param [options.distanceDisplayCondition] - The condition specifying at what distance from the camera that this model will be displayed.
36048
36120
  * @param [options.color] - A color that blends with the model's rendered color.
36049
36121
  * @param [options.colorBlendMode = ColorBlendMode.HIGHLIGHT] - Defines how the color blends with the model.
36050
36122
  * @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.
36051
- * @param [options.featureIdLabel = "featureId_0"] - Label of the feature ID set to use for picking and styling. For EXT_mesh_features, this is the feature ID's label property, or "featureId_N" (where N is the index in the featureIds array) when not specified. EXT_feature_metadata did not have a label field, so such feature ID sets are always labeled "featureId_N" where N is the index in the list of all feature Ids, where feature ID attributes are listed before feature ID textures. If featureIdLabel is an integer N, it is converted to the string "featureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
36052
- * @param [options.instanceFeatureIdLabel = "instanceFeatureId_0"] - Label of the instance feature ID set used for picking and styling. If instanceFeatureIdLabel is set to an integer N, it is converted to the string "instanceFeatureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
36053
- * @param [options.pointCloudShading] - Options for constructing a {@link PointCloudShading} object to control point attenuation and lighting.
36123
+ * @param [options.silhouetteColor = Color.RED] - The silhouette color. If more than 256 models have silhouettes enabled, there is a small chance that overlapping models will have minor artifacts.
36124
+ * @param [options.silhouetteSize = 0.0] - The size of the silhouette in pixels.
36054
36125
  * @param [options.clippingPlanes] - The {@link ClippingPlaneCollection} used to selectively disable rendering the model.
36055
36126
  * @param [options.lightColor] - The light color when shading the model. When <code>undefined</code> the scene's light color is used instead.
36056
36127
  * @param [options.imageBasedLighting] - The properties for managing image-based lighting on this model.
36057
36128
  * @param [options.backFaceCulling = true] - Whether to cull back-facing geometry. When true, back face culling is determined by the material's doubleSided property; when false, back face culling is disabled. Back faces are not culled if the model's color is translucent.
36058
- * @param [options.shadows = ShadowMode.ENABLED] - Determines whether the model casts or receives shadows from light sources.
36129
+ * @param [options.credit] - A credit for the data source, which is displayed on the canvas.
36059
36130
  * @param [options.showCreditsOnScreen = false] - Whether to display the credits of this model on screen.
36060
36131
  * @param [options.splitDirection = SplitDirection.NONE] - The {@link SplitDirection} split to apply to this model.
36061
36132
  * @param [options.projectTo2D = false] - Whether to accurately project the model's positions in 2D. If this is true, the model will be projected accurately to 2D, but it will use more memory to do so. If this is false, the model will use less memory and will still render in 2D / CV mode, but its positions may be inaccurate. This disables minimumPixelSize and prevents future modification to the model matrix. This also cannot be set after the model has loaded.
36133
+ * @param [options.featureIdLabel = "featureId_0"] - Label of the feature ID set to use for picking and styling. For EXT_mesh_features, this is the feature ID's label property, or "featureId_N" (where N is the index in the featureIds array) when not specified. EXT_feature_metadata did not have a label field, so such feature ID sets are always labeled "featureId_N" where N is the index in the list of all feature Ids, where feature ID attributes are listed before feature ID textures. If featureIdLabel is an integer N, it is converted to the string "featureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
36134
+ * @param [options.instanceFeatureIdLabel = "instanceFeatureId_0"] - Label of the instance feature ID set used for picking and styling. If instanceFeatureIdLabel is set to an integer N, it is converted to the string "instanceFeatureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
36135
+ * @param [options.pointCloudShading] - Options for constructing a {@link PointCloudShading} object to control point attenuation and lighting.
36062
36136
  * @returns The newly created model.
36063
36137
  */
36064
36138
  static fromGltf(options: {
@@ -36069,7 +36143,12 @@ export class ModelExperimental {
36069
36143
  scale?: number;
36070
36144
  minimumPixelSize?: number;
36071
36145
  maximumScale?: number;
36146
+ id?: any;
36147
+ allowPicking?: boolean;
36072
36148
  incrementallyLoadTextures?: boolean;
36149
+ asynchronous?: boolean;
36150
+ clampAnimations?: boolean;
36151
+ shadows?: ShadowMode;
36073
36152
  releaseGltfJson?: boolean;
36074
36153
  debugShowBoundingVolume?: boolean;
36075
36154
  enableDebugWireframe?: boolean;
@@ -36078,25 +36157,27 @@ export class ModelExperimental {
36078
36157
  opaquePass?: boolean;
36079
36158
  upAxis?: Axis;
36080
36159
  forwardAxis?: Axis;
36081
- allowPicking?: boolean;
36082
36160
  customShader?: CustomShader;
36083
36161
  content?: Cesium3DTileContent;
36084
36162
  heightReference?: HeightReference;
36085
36163
  scene?: Scene;
36164
+ distanceDisplayCondition?: DistanceDisplayCondition;
36086
36165
  color?: Color;
36087
36166
  colorBlendMode?: ColorBlendMode;
36088
36167
  colorBlendAmount?: number;
36089
- featureIdLabel?: string | number;
36090
- instanceFeatureIdLabel?: string | number;
36091
- pointCloudShading?: any;
36168
+ silhouetteColor?: Color;
36169
+ silhouetteSize?: number;
36092
36170
  clippingPlanes?: ClippingPlaneCollection;
36093
36171
  lightColor?: Cartesian3;
36094
36172
  imageBasedLighting?: ImageBasedLighting;
36095
36173
  backFaceCulling?: boolean;
36096
- shadows?: ShadowMode;
36174
+ credit?: Credit | string;
36097
36175
  showCreditsOnScreen?: boolean;
36098
36176
  splitDirection?: SplitDirection;
36099
36177
  projectTo2D?: boolean;
36178
+ featureIdLabel?: string | number;
36179
+ instanceFeatureIdLabel?: string | number;
36180
+ pointCloudShading?: any;
36100
36181
  }): ModelExperimental;
36101
36182
  }
36102
36183
 
@@ -36472,11 +36553,11 @@ export class ModelFeature {
36472
36553
  * Returns a copy of the value of the feature's property with the given name.
36473
36554
  * @example
36474
36555
  * // Display all the properties for a feature in the console log.
36475
- const propertyNames = feature.getPropertyNames();
36476
- const length = propertyNames.length;
36556
+ const propertyIds = feature.getPropertyIds();
36557
+ const length = propertyIds.length;
36477
36558
  for (let i = 0; i < length; ++i) {
36478
- const propertyName = propertyNames[i];
36479
- console.log(propertyName + ': ' + feature.getProperty(propertyName));
36559
+ const propertyId = propertyIds[i];
36560
+ console.log(propertyId + ': ' + feature.getProperty(propertyId));
36480
36561
  }
36481
36562
  * @param name - The case-sensitive name of the property.
36482
36563
  * @returns The value of the property or <code>undefined</code> if the feature does not have this property.
@@ -36505,6 +36586,12 @@ export class ModelFeature {
36505
36586
  * @returns The names of the feature's properties.
36506
36587
  */
36507
36588
  getPropertyNames(results?: string[]): string[];
36589
+ /**
36590
+ * Returns an array of property IDs for the feature.
36591
+ * @param [results] - An array into which to store the results.
36592
+ * @returns The IDs of the feature's properties.
36593
+ */
36594
+ getPropertyIds(results?: string[]): string[];
36508
36595
  /**
36509
36596
  * Sets the value of the feature's property with the given name.
36510
36597
  * @example
@@ -38727,88 +38814,88 @@ export enum PostProcessStageSampleMode {
38727
38814
 
38728
38815
  /**
38729
38816
  * A primitive represents geometry in the {@link Scene}. The geometry can be from a single {@link GeometryInstance}
38730
- as shown in example 1 below, or from an array of instances, even if the geometry is from different
38731
- geometry types, e.g., an {@link RectangleGeometry} and an {@link EllipsoidGeometry} as shown in Code Example 2.
38732
- <p>
38733
- A primitive combines geometry instances with an {@link Appearance} that describes the full shading, including
38734
- {@link Material} and {@link RenderState}. Roughly, the geometry instance defines the structure and placement,
38735
- and the appearance defines the visual characteristics. Decoupling geometry and appearance allows us to mix
38736
- and match most of them and add a new geometry or appearance independently of each other.
38737
- </p>
38738
- <p>
38739
- Combining multiple instances into one primitive is called batching, and significantly improves performance for static data.
38740
- Instances can be individually picked; {@link Scene#pick} returns their {@link GeometryInstance#id}. Using
38741
- per-instance appearances like {@link PerInstanceColorAppearance}, each instance can also have a unique color.
38742
- </p>
38743
- <p>
38744
- {@link Geometry} can either be created and batched on a web worker or the main thread. The first two examples
38745
- show geometry that will be created on a web worker by using the descriptions of the geometry. The third example
38746
- shows how to create the geometry on the main thread by explicitly calling the <code>createGeometry</code> method.
38747
- </p>
38817
+ * as shown in example 1 below, or from an array of instances, even if the geometry is from different
38818
+ * geometry types, e.g., an {@link RectangleGeometry} and an {@link EllipsoidGeometry} as shown in Code Example 2.
38819
+ * <p>
38820
+ * A primitive combines geometry instances with an {@link Appearance} that describes the full shading, including
38821
+ * {@link Material} and {@link RenderState}. Roughly, the geometry instance defines the structure and placement,
38822
+ * and the appearance defines the visual characteristics. Decoupling geometry and appearance allows us to mix
38823
+ * and match most of them and add a new geometry or appearance independently of each other.
38824
+ * </p>
38825
+ * <p>
38826
+ * Combining multiple instances into one primitive is called batching, and significantly improves performance for static data.
38827
+ * Instances can be individually picked; {@link Scene#pick} returns their {@link GeometryInstance#id}. Using
38828
+ * per-instance appearances like {@link PerInstanceColorAppearance}, each instance can also have a unique color.
38829
+ * </p>
38830
+ * <p>
38831
+ * {@link Geometry} can either be created and batched on a web worker or the main thread. The first two examples
38832
+ * show geometry that will be created on a web worker by using the descriptions of the geometry. The third example
38833
+ * shows how to create the geometry on the main thread by explicitly calling the <code>createGeometry</code> method.
38834
+ * </p>
38748
38835
  * @example
38749
38836
  * // 1. Draw a translucent ellipse on the surface with a checkerboard pattern
38750
- const instance = new Cesium.GeometryInstance({
38751
- geometry : new Cesium.EllipseGeometry({
38752
- center : Cesium.Cartesian3.fromDegrees(-100.0, 20.0),
38753
- semiMinorAxis : 500000.0,
38754
- semiMajorAxis : 1000000.0,
38755
- rotation : Cesium.Math.PI_OVER_FOUR,
38756
- vertexFormat : Cesium.VertexFormat.POSITION_AND_ST
38757
- }),
38758
- id : 'object returned when this instance is picked and to get/set per-instance attributes'
38759
- });
38760
- scene.primitives.add(new Cesium.Primitive({
38761
- geometryInstances : instance,
38762
- appearance : new Cesium.EllipsoidSurfaceAppearance({
38763
- material : Cesium.Material.fromType('Checkerboard')
38764
- })
38765
- }));
38837
+ * const instance = new Cesium.GeometryInstance({
38838
+ * geometry : new Cesium.EllipseGeometry({
38839
+ * center : Cesium.Cartesian3.fromDegrees(-100.0, 20.0),
38840
+ * semiMinorAxis : 500000.0,
38841
+ * semiMajorAxis : 1000000.0,
38842
+ * rotation : Cesium.Math.PI_OVER_FOUR,
38843
+ * vertexFormat : Cesium.VertexFormat.POSITION_AND_ST
38844
+ * }),
38845
+ * id : 'object returned when this instance is picked and to get/set per-instance attributes'
38846
+ * });
38847
+ * scene.primitives.add(new Cesium.Primitive({
38848
+ * geometryInstances : instance,
38849
+ * appearance : new Cesium.EllipsoidSurfaceAppearance({
38850
+ * material : Cesium.Material.fromType('Checkerboard')
38851
+ * })
38852
+ * }));
38766
38853
  * @example
38767
38854
  * // 2. Draw different instances each with a unique color
38768
- const rectangleInstance = new Cesium.GeometryInstance({
38769
- geometry : new Cesium.RectangleGeometry({
38770
- rectangle : Cesium.Rectangle.fromDegrees(-140.0, 30.0, -100.0, 40.0),
38771
- vertexFormat : Cesium.PerInstanceColorAppearance.VERTEX_FORMAT
38772
- }),
38773
- id : 'rectangle',
38774
- attributes : {
38775
- color : new Cesium.ColorGeometryInstanceAttribute(0.0, 1.0, 1.0, 0.5)
38776
- }
38777
- });
38778
- const ellipsoidInstance = new Cesium.GeometryInstance({
38779
- geometry : new Cesium.EllipsoidGeometry({
38780
- radii : new Cesium.Cartesian3(500000.0, 500000.0, 1000000.0),
38781
- vertexFormat : Cesium.VertexFormat.POSITION_AND_NORMAL
38782
- }),
38783
- modelMatrix : Cesium.Matrix4.multiplyByTranslation(Cesium.Transforms.eastNorthUpToFixedFrame(
38784
- Cesium.Cartesian3.fromDegrees(-95.59777, 40.03883)), new Cesium.Cartesian3(0.0, 0.0, 500000.0), new Cesium.Matrix4()),
38785
- id : 'ellipsoid',
38786
- attributes : {
38787
- color : Cesium.ColorGeometryInstanceAttribute.fromColor(Cesium.Color.AQUA)
38788
- }
38789
- });
38790
- scene.primitives.add(new Cesium.Primitive({
38791
- geometryInstances : [rectangleInstance, ellipsoidInstance],
38792
- appearance : new Cesium.PerInstanceColorAppearance()
38793
- }));
38855
+ * const rectangleInstance = new Cesium.GeometryInstance({
38856
+ * geometry : new Cesium.RectangleGeometry({
38857
+ * rectangle : Cesium.Rectangle.fromDegrees(-140.0, 30.0, -100.0, 40.0),
38858
+ * vertexFormat : Cesium.PerInstanceColorAppearance.VERTEX_FORMAT
38859
+ * }),
38860
+ * id : 'rectangle',
38861
+ * attributes : {
38862
+ * color : new Cesium.ColorGeometryInstanceAttribute(0.0, 1.0, 1.0, 0.5)
38863
+ * }
38864
+ * });
38865
+ * const ellipsoidInstance = new Cesium.GeometryInstance({
38866
+ * geometry : new Cesium.EllipsoidGeometry({
38867
+ * radii : new Cesium.Cartesian3(500000.0, 500000.0, 1000000.0),
38868
+ * vertexFormat : Cesium.VertexFormat.POSITION_AND_NORMAL
38869
+ * }),
38870
+ * modelMatrix : Cesium.Matrix4.multiplyByTranslation(Cesium.Transforms.eastNorthUpToFixedFrame(
38871
+ * Cesium.Cartesian3.fromDegrees(-95.59777, 40.03883)), new Cesium.Cartesian3(0.0, 0.0, 500000.0), new Cesium.Matrix4()),
38872
+ * id : 'ellipsoid',
38873
+ * attributes : {
38874
+ * color : Cesium.ColorGeometryInstanceAttribute.fromColor(Cesium.Color.AQUA)
38875
+ * }
38876
+ * });
38877
+ * scene.primitives.add(new Cesium.Primitive({
38878
+ * geometryInstances : [rectangleInstance, ellipsoidInstance],
38879
+ * appearance : new Cesium.PerInstanceColorAppearance()
38880
+ * }));
38794
38881
  * @example
38795
38882
  * // 3. Create the geometry on the main thread.
38796
- scene.primitives.add(new Cesium.Primitive({
38797
- geometryInstances : new Cesium.GeometryInstance({
38798
- geometry : Cesium.EllipsoidGeometry.createGeometry(new Cesium.EllipsoidGeometry({
38799
- radii : new Cesium.Cartesian3(500000.0, 500000.0, 1000000.0),
38800
- vertexFormat : Cesium.VertexFormat.POSITION_AND_NORMAL
38801
- })),
38802
- modelMatrix : Cesium.Matrix4.multiplyByTranslation(Cesium.Transforms.eastNorthUpToFixedFrame(
38803
- Cesium.Cartesian3.fromDegrees(-95.59777, 40.03883)), new Cesium.Cartesian3(0.0, 0.0, 500000.0), new Cesium.Matrix4()),
38804
- id : 'ellipsoid',
38805
- attributes : {
38806
- color : Cesium.ColorGeometryInstanceAttribute.fromColor(Cesium.Color.AQUA)
38807
- }
38808
- }),
38809
- appearance : new Cesium.PerInstanceColorAppearance(),
38810
- asynchronous : false
38811
- }));
38883
+ * scene.primitives.add(new Cesium.Primitive({
38884
+ * geometryInstances : new Cesium.GeometryInstance({
38885
+ * geometry : Cesium.EllipsoidGeometry.createGeometry(new Cesium.EllipsoidGeometry({
38886
+ * radii : new Cesium.Cartesian3(500000.0, 500000.0, 1000000.0),
38887
+ * vertexFormat : Cesium.VertexFormat.POSITION_AND_NORMAL
38888
+ * })),
38889
+ * modelMatrix : Cesium.Matrix4.multiplyByTranslation(Cesium.Transforms.eastNorthUpToFixedFrame(
38890
+ * Cesium.Cartesian3.fromDegrees(-95.59777, 40.03883)), new Cesium.Cartesian3(0.0, 0.0, 500000.0), new Cesium.Matrix4()),
38891
+ * id : 'ellipsoid',
38892
+ * attributes : {
38893
+ * color : Cesium.ColorGeometryInstanceAttribute.fromColor(Cesium.Color.AQUA)
38894
+ * }
38895
+ * }),
38896
+ * appearance : new Cesium.PerInstanceColorAppearance(),
38897
+ * asynchronous : false
38898
+ * }));
38812
38899
  * @param [options] - Object with the following properties:
38813
38900
  * @param [options.geometryInstances] - The geometry instances - or a single geometry instance - to render.
38814
38901
  * @param [options.appearance] - The appearance used to render the primitive.
@@ -38844,67 +38931,67 @@ export class Primitive {
38844
38931
  });
38845
38932
  /**
38846
38933
  * The geometry instances rendered with this primitive. This may
38847
- be <code>undefined</code> if <code>options.releaseGeometryInstances</code>
38848
- is <code>true</code> when the primitive is constructed.
38849
- <p>
38850
- Changing this property after the primitive is rendered has no effect.
38851
- </p>
38934
+ * be <code>undefined</code> if <code>options.releaseGeometryInstances</code>
38935
+ * is <code>true</code> when the primitive is constructed.
38936
+ * <p>
38937
+ * Changing this property after the primitive is rendered has no effect.
38938
+ * </p>
38852
38939
  */
38853
38940
  readonly geometryInstances: GeometryInstance[] | GeometryInstance;
38854
38941
  /**
38855
38942
  * The {@link Appearance} used to shade this primitive. Each geometry
38856
- instance is shaded with the same appearance. Some appearances, like
38857
- {@link PerInstanceColorAppearance} allow giving each instance unique
38858
- properties.
38943
+ * instance is shaded with the same appearance. Some appearances, like
38944
+ * {@link PerInstanceColorAppearance} allow giving each instance unique
38945
+ * properties.
38859
38946
  */
38860
38947
  appearance: Appearance;
38861
38948
  /**
38862
38949
  * The {@link Appearance} used to shade this primitive when it fails the depth test. Each geometry
38863
- instance is shaded with the same appearance. Some appearances, like
38864
- {@link PerInstanceColorAppearance} allow giving each instance unique
38865
- properties.
38866
-
38867
- <p>
38868
- When using an appearance that requires a color attribute, like PerInstanceColorAppearance,
38869
- add a depthFailColor per-instance attribute instead.
38870
- </p>
38871
-
38872
- <p>
38873
- Requires the EXT_frag_depth WebGL extension to render properly. If the extension is not supported,
38874
- there may be artifacts.
38875
- </p>
38950
+ * instance is shaded with the same appearance. Some appearances, like
38951
+ * {@link PerInstanceColorAppearance} allow giving each instance unique
38952
+ * properties.
38953
+ *
38954
+ * <p>
38955
+ * When using an appearance that requires a color attribute, like PerInstanceColorAppearance,
38956
+ * add a depthFailColor per-instance attribute instead.
38957
+ * </p>
38958
+ *
38959
+ * <p>
38960
+ * Requires the EXT_frag_depth WebGL extension to render properly. If the extension is not supported,
38961
+ * there may be artifacts.
38962
+ * </p>
38876
38963
  */
38877
38964
  depthFailAppearance: Appearance;
38878
38965
  /**
38879
38966
  * The 4x4 transformation matrix that transforms the primitive (all geometry instances) from model to world coordinates.
38880
- When this is the identity matrix, the primitive is drawn in world coordinates, i.e., Earth's WGS84 coordinates.
38881
- Local reference frames can be used by providing a different transformation matrix, like that returned
38882
- by {@link Transforms.eastNorthUpToFixedFrame}.
38883
-
38884
- <p>
38885
- This property is only supported in 3D mode.
38886
- </p>
38967
+ * When this is the identity matrix, the primitive is drawn in world coordinates, i.e., Earth's WGS84 coordinates.
38968
+ * Local reference frames can be used by providing a different transformation matrix, like that returned
38969
+ * by {@link Transforms.eastNorthUpToFixedFrame}.
38970
+ *
38971
+ * <p>
38972
+ * This property is only supported in 3D mode.
38973
+ * </p>
38887
38974
  * @example
38888
38975
  * const origin = Cesium.Cartesian3.fromDegrees(-95.0, 40.0, 200000.0);
38889
- p.modelMatrix = Cesium.Transforms.eastNorthUpToFixedFrame(origin);
38976
+ * p.modelMatrix = Cesium.Transforms.eastNorthUpToFixedFrame(origin);
38890
38977
  */
38891
38978
  modelMatrix: Matrix4;
38892
38979
  /**
38893
38980
  * Determines if the primitive will be shown. This affects all geometry
38894
- instances in the primitive.
38981
+ * instances in the primitive.
38895
38982
  */
38896
38983
  show: boolean;
38897
38984
  /**
38898
38985
  * When <code>true</code>, the renderer frustum culls and horizon culls the primitive's commands
38899
- based on their bounding volume. Set this to <code>false</code> for a small performance gain
38900
- if you are manually culling the primitive.
38986
+ * based on their bounding volume. Set this to <code>false</code> for a small performance gain
38987
+ * if you are manually culling the primitive.
38901
38988
  */
38902
38989
  cull: boolean;
38903
38990
  /**
38904
38991
  * This property is for debugging only; it is not for production use nor is it optimized.
38905
- <p>
38906
- Draws the bounding sphere for each draw command in the primitive.
38907
- </p>
38992
+ * <p>
38993
+ * Draws the bounding sphere for each draw command in the primitive.
38994
+ * </p>
38908
38995
  */
38909
38996
  debugShowBoundingVolume: boolean;
38910
38997
  /**
@@ -38937,8 +39024,8 @@ export class Primitive {
38937
39024
  readonly compressVertices: boolean;
38938
39025
  /**
38939
39026
  * Determines if the primitive is complete and ready to render. If this property is
38940
- true, the primitive will be rendered the next time that {@link Primitive#update}
38941
- is called.
39027
+ * true, the primitive will be rendered the next time that {@link Primitive#update}
39028
+ * is called.
38942
39029
  */
38943
39030
  readonly ready: boolean;
38944
39031
  /**
@@ -38947,42 +39034,42 @@ export class Primitive {
38947
39034
  readonly readyPromise: Promise<Primitive>;
38948
39035
  /**
38949
39036
  * Called when {@link Viewer} or {@link CesiumWidget} render the scene to
38950
- get the draw commands needed to render this primitive.
38951
- <p>
38952
- Do not call this function directly. This is documented just to
38953
- list the exceptions that may be propagated when the scene is rendered:
38954
- </p>
39037
+ * get the draw commands needed to render this primitive.
39038
+ * <p>
39039
+ * Do not call this function directly. This is documented just to
39040
+ * list the exceptions that may be propagated when the scene is rendered:
39041
+ * </p>
38955
39042
  */
38956
39043
  update(): void;
38957
39044
  /**
38958
39045
  * Returns the modifiable per-instance attributes for a {@link GeometryInstance}.
38959
39046
  * @example
38960
39047
  * const attributes = primitive.getGeometryInstanceAttributes('an id');
38961
- attributes.color = Cesium.ColorGeometryInstanceAttribute.toValue(Cesium.Color.AQUA);
38962
- attributes.show = Cesium.ShowGeometryInstanceAttribute.toValue(true);
38963
- attributes.distanceDisplayCondition = Cesium.DistanceDisplayConditionGeometryInstanceAttribute.toValue(100.0, 10000.0);
38964
- attributes.offset = Cesium.OffsetGeometryInstanceAttribute.toValue(Cartesian3.IDENTITY);
39048
+ * attributes.color = Cesium.ColorGeometryInstanceAttribute.toValue(Cesium.Color.AQUA);
39049
+ * attributes.show = Cesium.ShowGeometryInstanceAttribute.toValue(true);
39050
+ * attributes.distanceDisplayCondition = Cesium.DistanceDisplayConditionGeometryInstanceAttribute.toValue(100.0, 10000.0);
39051
+ * attributes.offset = Cesium.OffsetGeometryInstanceAttribute.toValue(Cartesian3.IDENTITY);
38965
39052
  * @param id - The id of the {@link GeometryInstance}.
38966
39053
  * @returns The typed array in the attribute's format or undefined if the is no instance with id.
38967
39054
  */
38968
39055
  getGeometryInstanceAttributes(id: any): any;
38969
39056
  /**
38970
39057
  * Returns true if this object was destroyed; otherwise, false.
38971
- <p>
38972
- If this object was destroyed, it should not be used; calling any function other than
38973
- <code>isDestroyed</code> will result in a {@link DeveloperError} exception.
38974
- </p>
39058
+ * <p>
39059
+ * If this object was destroyed, it should not be used; calling any function other than
39060
+ * <code>isDestroyed</code> will result in a {@link DeveloperError} exception.
39061
+ * </p>
38975
39062
  * @returns <code>true</code> if this object was destroyed; otherwise, <code>false</code>.
38976
39063
  */
38977
39064
  isDestroyed(): boolean;
38978
39065
  /**
38979
39066
  * Destroys the WebGL resources held by this object. Destroying an object allows for deterministic
38980
- release of WebGL resources, instead of relying on the garbage collector to destroy this object.
38981
- <p>
38982
- Once an object is destroyed, it should not be used; calling any function other than
38983
- <code>isDestroyed</code> will result in a {@link DeveloperError} exception. Therefore,
38984
- assign the return value (<code>undefined</code>) to the object as done in the example.
38985
- </p>
39067
+ * release of WebGL resources, instead of relying on the garbage collector to destroy this object.
39068
+ * <p>
39069
+ * Once an object is destroyed, it should not be used; calling any function other than
39070
+ * <code>isDestroyed</code> will result in a {@link DeveloperError} exception. Therefore,
39071
+ * assign the return value (<code>undefined</code>) to the object as done in the example.
39072
+ * </p>
38986
39073
  * @example
38987
39074
  * e = e && e.destroy();
38988
39075
  */