org.outernet.cesium-unity 1.15.3-linux.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 (315) hide show
  1. package/CHANGES.md +420 -0
  2. package/CHANGES.md.meta +7 -0
  3. package/Editor/BuildCesiumForUnity.cs +186 -0
  4. package/Editor/BuildCesiumForUnity.cs.meta +11 -0
  5. package/Editor/Cesium3DTilesetEditor.cs +542 -0
  6. package/Editor/Cesium3DTilesetEditor.cs.meta +11 -0
  7. package/Editor/CesiumBingMapsRasterOverlayEditor.cs +66 -0
  8. package/Editor/CesiumBingMapsRasterOverlayEditor.cs.meta +11 -0
  9. package/Editor/CesiumCameraControllerEditor.cs +174 -0
  10. package/Editor/CesiumCameraControllerEditor.cs.meta +11 -0
  11. package/Editor/CesiumCameraManagerEditor.cs +65 -0
  12. package/Editor/CesiumCameraManagerEditor.cs.meta +11 -0
  13. package/Editor/CesiumCartographicPolygonEditor.cs +23 -0
  14. package/Editor/CesiumCartographicPolygonEditor.cs.meta +11 -0
  15. package/Editor/CesiumDebugColorizeTilesRasterOverlayEditor.cs +41 -0
  16. package/Editor/CesiumDebugColorizeTilesRasterOverlayEditor.cs.meta +11 -0
  17. package/Editor/CesiumEditor.asmdef +26 -0
  18. package/Editor/CesiumEditor.asmdef.meta +7 -0
  19. package/Editor/CesiumEditorStyle.cs +188 -0
  20. package/Editor/CesiumEditorStyle.cs.meta +11 -0
  21. package/Editor/CesiumEditorUtility.cs +394 -0
  22. package/Editor/CesiumEditorUtility.cs.meta +11 -0
  23. package/Editor/CesiumEditorWindow.cs +447 -0
  24. package/Editor/CesiumEditorWindow.cs.meta +11 -0
  25. package/Editor/CesiumFlyToControllerEditor.cs +76 -0
  26. package/Editor/CesiumFlyToControllerEditor.cs.meta +11 -0
  27. package/Editor/CesiumGeoreferenceEditor.cs +277 -0
  28. package/Editor/CesiumGeoreferenceEditor.cs.meta +11 -0
  29. package/Editor/CesiumGlobeAnchorEditor.cs +202 -0
  30. package/Editor/CesiumGlobeAnchorEditor.cs.meta +11 -0
  31. package/Editor/CesiumInspectorGUI.cs +187 -0
  32. package/Editor/CesiumInspectorGUI.cs.meta +11 -0
  33. package/Editor/CesiumIonAsset.cs +192 -0
  34. package/Editor/CesiumIonAsset.cs.meta +11 -0
  35. package/Editor/CesiumIonAssetsWindow.cs +257 -0
  36. package/Editor/CesiumIonAssetsWindow.cs.meta +11 -0
  37. package/Editor/CesiumIonRasterOverlayEditor.cs +87 -0
  38. package/Editor/CesiumIonRasterOverlayEditor.cs.meta +11 -0
  39. package/Editor/CesiumIonServerManager.cs +153 -0
  40. package/Editor/CesiumIonServerManager.cs.meta +11 -0
  41. package/Editor/CesiumIonServerSelector.cs +127 -0
  42. package/Editor/CesiumIonServerSelector.cs.meta +11 -0
  43. package/Editor/CesiumIonSession.cs +102 -0
  44. package/Editor/CesiumIonSession.cs.meta +11 -0
  45. package/Editor/CesiumPolygonRasterOverlayEditor.cs +102 -0
  46. package/Editor/CesiumPolygonRasterOverlayEditor.cs.meta +11 -0
  47. package/Editor/CesiumRasterOverlayEditor.cs +230 -0
  48. package/Editor/CesiumRasterOverlayEditor.cs.meta +11 -0
  49. package/Editor/CesiumSubSceneEditor.cs +201 -0
  50. package/Editor/CesiumSubSceneEditor.cs.meta +11 -0
  51. package/Editor/CesiumTileMapServiceRasterOverlayEditor.cs +88 -0
  52. package/Editor/CesiumTileMapServiceRasterOverlayEditor.cs.meta +11 -0
  53. package/Editor/CesiumWebMapServiceRasterOverlayEditor.cs +111 -0
  54. package/Editor/CesiumWebMapServiceRasterOverlayEditor.cs.meta +11 -0
  55. package/Editor/CesiumWebMapTileServiceRasterOverlayEditor.cs +277 -0
  56. package/Editor/CesiumWebMapTileServiceRasterOverlayEditor.cs.meta +3 -0
  57. package/Editor/CompileCesiumForUnityNative.cs +581 -0
  58. package/Editor/CompileCesiumForUnityNative.cs.meta +11 -0
  59. package/Editor/ConfigureReinterop.cs +255 -0
  60. package/Editor/ConfigureReinterop.cs.meta +11 -0
  61. package/Editor/Helpers.cs +102 -0
  62. package/Editor/Helpers.cs.meta +11 -0
  63. package/Editor/IonAssetsMultiColumnHeader.cs +45 -0
  64. package/Editor/IonAssetsMultiColumnHeader.cs.meta +11 -0
  65. package/Editor/IonAssetsTreeView.cs +214 -0
  66. package/Editor/IonAssetsTreeView.cs.meta +11 -0
  67. package/Editor/IonMissingAssetWindow.cs +65 -0
  68. package/Editor/IonMissingAssetWindow.cs.meta +11 -0
  69. package/Editor/IonTokenTroubleshootingWindow.cs +615 -0
  70. package/Editor/IonTokenTroubleshootingWindow.cs.meta +11 -0
  71. package/Editor/NativeDownloadHandler.cs +35 -0
  72. package/Editor/NativeDownloadHandler.cs.meta +11 -0
  73. package/Editor/QuickAddItem.cs +43 -0
  74. package/Editor/QuickAddItem.cs.meta +11 -0
  75. package/Editor/Resources/Cesium-128x128.png +0 -0
  76. package/Editor/Resources/Cesium-128x128.png.meta +98 -0
  77. package/Editor/Resources/Cesium-24x24.png +0 -0
  78. package/Editor/Resources/Cesium-24x24.png.meta +123 -0
  79. package/Editor/Resources/Cesium-64x64.png +0 -0
  80. package/Editor/Resources/Cesium-64x64.png.meta +98 -0
  81. package/Editor/Resources/Cesium-for-Unity-dark.png +0 -0
  82. package/Editor/Resources/Cesium-for-Unity-dark.png.meta +123 -0
  83. package/Editor/Resources/Cesium-for-Unity-light.png +0 -0
  84. package/Editor/Resources/Cesium-for-Unity-light.png.meta +123 -0
  85. package/Editor/Resources/Cesium-icon-16x16.png +0 -0
  86. package/Editor/Resources/Cesium-icon-16x16.png.meta +98 -0
  87. package/Editor/Resources/FontAwesome/attribution.txt +9 -0
  88. package/Editor/Resources/FontAwesome/attribution.txt.meta +7 -0
  89. package/Editor/Resources/FontAwesome/book-reader-solid.png +0 -0
  90. package/Editor/Resources/FontAwesome/book-reader-solid.png.meta +98 -0
  91. package/Editor/Resources/FontAwesome/book-reader-solid.svg +1 -0
  92. package/Editor/Resources/FontAwesome/book-reader-solid.svg.meta +7 -0
  93. package/Editor/Resources/FontAwesome/check-solid.png +0 -0
  94. package/Editor/Resources/FontAwesome/check-solid.png.meta +98 -0
  95. package/Editor/Resources/FontAwesome/check-solid.svg +1 -0
  96. package/Editor/Resources/FontAwesome/check-solid.svg.meta +7 -0
  97. package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.png +0 -0
  98. package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.png.meta +98 -0
  99. package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.svg +1 -0
  100. package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.svg.meta +7 -0
  101. package/Editor/Resources/FontAwesome/folder.png +0 -0
  102. package/Editor/Resources/FontAwesome/folder.png.meta +147 -0
  103. package/Editor/Resources/FontAwesome/folder.svg +5 -0
  104. package/Editor/Resources/FontAwesome/folder.svg.meta +7 -0
  105. package/Editor/Resources/FontAwesome/hands-helping-solid.png +0 -0
  106. package/Editor/Resources/FontAwesome/hands-helping-solid.png.meta +98 -0
  107. package/Editor/Resources/FontAwesome/hands-helping-solid.svg +1 -0
  108. package/Editor/Resources/FontAwesome/hands-helping-solid.svg.meta +7 -0
  109. package/Editor/Resources/FontAwesome/key-solid.png +0 -0
  110. package/Editor/Resources/FontAwesome/key-solid.png.meta +98 -0
  111. package/Editor/Resources/FontAwesome/key-solid.svg +1 -0
  112. package/Editor/Resources/FontAwesome/key-solid.svg.meta +7 -0
  113. package/Editor/Resources/FontAwesome/plus-solid.png +0 -0
  114. package/Editor/Resources/FontAwesome/plus-solid.png.meta +98 -0
  115. package/Editor/Resources/FontAwesome/plus-solid.svg +1 -0
  116. package/Editor/Resources/FontAwesome/plus-solid.svg.meta +7 -0
  117. package/Editor/Resources/FontAwesome/sign-out-alt-solid.png +0 -0
  118. package/Editor/Resources/FontAwesome/sign-out-alt-solid.png.meta +98 -0
  119. package/Editor/Resources/FontAwesome/sign-out-alt-solid.svg +1 -0
  120. package/Editor/Resources/FontAwesome/sign-out-alt-solid.svg.meta +7 -0
  121. package/Editor/Resources/FontAwesome/sync-alt-solid.png +0 -0
  122. package/Editor/Resources/FontAwesome/sync-alt-solid.png.meta +98 -0
  123. package/Editor/Resources/FontAwesome/sync-alt-solid.svg +1 -0
  124. package/Editor/Resources/FontAwesome/sync-alt-solid.svg.meta +7 -0
  125. package/Editor/Resources/FontAwesome/times-solid.png +0 -0
  126. package/Editor/Resources/FontAwesome/times-solid.png.meta +98 -0
  127. package/Editor/Resources/FontAwesome/times-solid.svg +1 -0
  128. package/Editor/Resources/FontAwesome/times-solid.svg.meta +7 -0
  129. package/Editor/Resources/FontAwesome.meta +8 -0
  130. package/Editor/Resources.meta +8 -0
  131. package/Editor/SelectIonTokenWindow.cs +249 -0
  132. package/Editor/SelectIonTokenWindow.cs.meta +11 -0
  133. package/Editor/arm64.meta +8 -0
  134. package/Editor/csc.rsp +1 -0
  135. package/Editor/csc.rsp.meta +7 -0
  136. package/Editor/libCesiumForUnityNative-Editor.so +0 -0
  137. package/Editor/libCesiumForUnityNative-Editor.so.meta +2 -0
  138. package/Editor/libCesiumForUnityNative-Runtime.so +0 -0
  139. package/Editor/libCesiumForUnityNative-Runtime.so.meta +2 -0
  140. package/Editor/x86_64.meta +8 -0
  141. package/Editor.meta +8 -0
  142. package/LICENSE +201 -0
  143. package/LICENSE.meta +7 -0
  144. package/Plugins/Standalone/libCesiumForUnityNative-Runtime.so +0 -0
  145. package/Plugins/Standalone/libCesiumForUnityNative-Runtime.so.meta +2 -0
  146. package/Plugins/Standalone.meta +8 -0
  147. package/Plugins.meta +8 -0
  148. package/README.md +39 -0
  149. package/README.md.meta +7 -0
  150. package/Reinterop.deps.json +172 -0
  151. package/Reinterop.deps.json.meta +7 -0
  152. package/Reinterop.dll +0 -0
  153. package/Reinterop.dll.meta +79 -0
  154. package/Runtime/Cesium3DTile.cs +37 -0
  155. package/Runtime/Cesium3DTile.cs.meta +11 -0
  156. package/Runtime/Cesium3DTileset.cs +788 -0
  157. package/Runtime/Cesium3DTileset.cs.meta +11 -0
  158. package/Runtime/Cesium3DTilesetLoadFailureDetails.cs +65 -0
  159. package/Runtime/Cesium3DTilesetLoadFailureDetails.cs.meta +11 -0
  160. package/Runtime/CesiumBackwardCompatibility.cs +163 -0
  161. package/Runtime/CesiumBackwardCompatibility.cs.meta +11 -0
  162. package/Runtime/CesiumBingMapsRasterOverlay.cs +72 -0
  163. package/Runtime/CesiumBingMapsRasterOverlay.cs.meta +11 -0
  164. package/Runtime/CesiumCameraController.cs +827 -0
  165. package/Runtime/CesiumCameraController.cs.meta +11 -0
  166. package/Runtime/CesiumCameraManager.cs +105 -0
  167. package/Runtime/CesiumCameraManager.cs.meta +11 -0
  168. package/Runtime/CesiumCartographicPolygon.cs +152 -0
  169. package/Runtime/CesiumCartographicPolygon.cs.meta +11 -0
  170. package/Runtime/CesiumCreditSystem.cs +343 -0
  171. package/Runtime/CesiumCreditSystem.cs.meta +11 -0
  172. package/Runtime/CesiumCreditSystemUI.cs +402 -0
  173. package/Runtime/CesiumCreditSystemUI.cs.meta +11 -0
  174. package/Runtime/CesiumDebugColorizeTilesRasterOverlay.cs +21 -0
  175. package/Runtime/CesiumDebugColorizeTilesRasterOverlay.cs.meta +11 -0
  176. package/Runtime/CesiumEllipsoid.cs +107 -0
  177. package/Runtime/CesiumEllipsoid.cs.meta +11 -0
  178. package/Runtime/CesiumFeature.cs +279 -0
  179. package/Runtime/CesiumFeature.cs.meta +11 -0
  180. package/Runtime/CesiumFeatureIdAttribute.cs +61 -0
  181. package/Runtime/CesiumFeatureIdAttribute.cs.meta +11 -0
  182. package/Runtime/CesiumFeatureIdSet.cs +165 -0
  183. package/Runtime/CesiumFeatureIdSet.cs.meta +11 -0
  184. package/Runtime/CesiumFeatureIdTexture.cs +68 -0
  185. package/Runtime/CesiumFeatureIdTexture.cs.meta +11 -0
  186. package/Runtime/CesiumFlyToController.cs +539 -0
  187. package/Runtime/CesiumFlyToController.cs.meta +11 -0
  188. package/Runtime/CesiumGeoreference.cs +628 -0
  189. package/Runtime/CesiumGeoreference.cs.meta +11 -0
  190. package/Runtime/CesiumGlobeAnchor.cs +664 -0
  191. package/Runtime/CesiumGlobeAnchor.cs.meta +11 -0
  192. package/Runtime/CesiumGlobeAnchorBackwardCompatibility0dot2dot0.cs +105 -0
  193. package/Runtime/CesiumGlobeAnchorBackwardCompatibility0dot2dot0.cs.meta +11 -0
  194. package/Runtime/CesiumIntMatN.cs +398 -0
  195. package/Runtime/CesiumIntMatN.cs.meta +11 -0
  196. package/Runtime/CesiumIntVecN.cs +525 -0
  197. package/Runtime/CesiumIntVecN.cs.meta +11 -0
  198. package/Runtime/CesiumIonRasterOverlay.cs +110 -0
  199. package/Runtime/CesiumIonRasterOverlay.cs.meta +11 -0
  200. package/Runtime/CesiumIonServer.cs +137 -0
  201. package/Runtime/CesiumIonServer.cs.meta +11 -0
  202. package/Runtime/CesiumMetadata.cs +33 -0
  203. package/Runtime/CesiumMetadata.cs.meta +11 -0
  204. package/Runtime/CesiumMetadataValue.cs +1764 -0
  205. package/Runtime/CesiumMetadataValue.cs.meta +11 -0
  206. package/Runtime/CesiumMetadataValueType.cs +203 -0
  207. package/Runtime/CesiumMetadataValueType.cs.meta +11 -0
  208. package/Runtime/CesiumModelMetadata.cs +26 -0
  209. package/Runtime/CesiumModelMetadata.cs.meta +11 -0
  210. package/Runtime/CesiumObjectPool.cs +74 -0
  211. package/Runtime/CesiumObjectPool.cs.meta +11 -0
  212. package/Runtime/CesiumObjectPools.cs +39 -0
  213. package/Runtime/CesiumObjectPools.cs.meta +11 -0
  214. package/Runtime/CesiumOriginShift.cs +146 -0
  215. package/Runtime/CesiumOriginShift.cs.meta +11 -0
  216. package/Runtime/CesiumPointCloudRenderer.cs +246 -0
  217. package/Runtime/CesiumPointCloudRenderer.cs.meta +11 -0
  218. package/Runtime/CesiumPointCloudShading.cs +76 -0
  219. package/Runtime/CesiumPointCloudShading.cs.meta +11 -0
  220. package/Runtime/CesiumPolygonRasterOverlay.cs +109 -0
  221. package/Runtime/CesiumPolygonRasterOverlay.cs.meta +11 -0
  222. package/Runtime/CesiumPrimitiveFeatures.cs +130 -0
  223. package/Runtime/CesiumPrimitiveFeatures.cs.meta +11 -0
  224. package/Runtime/CesiumPropertyArray.cs +64 -0
  225. package/Runtime/CesiumPropertyArray.cs.meta +11 -0
  226. package/Runtime/CesiumPropertyTable.cs +126 -0
  227. package/Runtime/CesiumPropertyTable.cs.meta +11 -0
  228. package/Runtime/CesiumPropertyTableProperty.cs +1734 -0
  229. package/Runtime/CesiumPropertyTableProperty.cs.meta +11 -0
  230. package/Runtime/CesiumRasterOverlay.cs +239 -0
  231. package/Runtime/CesiumRasterOverlay.cs.meta +11 -0
  232. package/Runtime/CesiumRasterOverlayLoadFailureDetails.cs +65 -0
  233. package/Runtime/CesiumRasterOverlayLoadFailureDetails.cs.meta +11 -0
  234. package/Runtime/CesiumRuntime.asmdef +32 -0
  235. package/Runtime/CesiumRuntime.asmdef.meta +7 -0
  236. package/Runtime/CesiumRuntime.cs +3 -0
  237. package/Runtime/CesiumRuntime.cs.meta +11 -0
  238. package/Runtime/CesiumRuntimeSettings.cs +188 -0
  239. package/Runtime/CesiumRuntimeSettings.cs.meta +11 -0
  240. package/Runtime/CesiumSampleHeightResult.cs +47 -0
  241. package/Runtime/CesiumSampleHeightResult.cs.meta +11 -0
  242. package/Runtime/CesiumSimplePlanarEllipsoidCurve.cs +93 -0
  243. package/Runtime/CesiumSimplePlanarEllipsoidCurve.cs.meta +11 -0
  244. package/Runtime/CesiumSubScene.cs +473 -0
  245. package/Runtime/CesiumSubScene.cs.meta +11 -0
  246. package/Runtime/CesiumTileExcluder.cs +47 -0
  247. package/Runtime/CesiumTileExcluder.cs.meta +11 -0
  248. package/Runtime/CesiumTileMapServiceRasterOverlay.cs +93 -0
  249. package/Runtime/CesiumTileMapServiceRasterOverlay.cs.meta +11 -0
  250. package/Runtime/CesiumWebMapServiceRasterOverlay.cs +129 -0
  251. package/Runtime/CesiumWebMapServiceRasterOverlay.cs.meta +11 -0
  252. package/Runtime/CesiumWebMapTileServiceRasterOverlay.cs +414 -0
  253. package/Runtime/CesiumWebMapTileServiceRasterOverlay.cs.meta +3 -0
  254. package/Runtime/CesiumWgs84Ellipsoid.cs +75 -0
  255. package/Runtime/CesiumWgs84Ellipsoid.cs.meta +11 -0
  256. package/Runtime/ConfigureReinterop.cs +926 -0
  257. package/Runtime/ConfigureReinterop.cs.meta +11 -0
  258. package/Runtime/Helpers.cs +122 -0
  259. package/Runtime/Helpers.cs.meta +11 -0
  260. package/Runtime/ICesiumRestartable.cs +17 -0
  261. package/Runtime/ICesiumRestartable.cs.meta +11 -0
  262. package/Runtime/NativeCoroutine.cs +28 -0
  263. package/Runtime/NativeCoroutine.cs.meta +11 -0
  264. package/Runtime/NativeDownloadHandler.cs +29 -0
  265. package/Runtime/NativeDownloadHandler.cs.meta +11 -0
  266. package/Runtime/Resources/CesiumCreditSystem.prefab +78 -0
  267. package/Runtime/Resources/CesiumCreditSystem.prefab.meta +7 -0
  268. package/Runtime/Resources/CesiumCreditSystemRuntimeTheme.tss +2 -0
  269. package/Runtime/Resources/CesiumCreditSystemRuntimeTheme.tss.meta +11 -0
  270. package/Runtime/Resources/CesiumCreditSystemUI.uxml +4 -0
  271. package/Runtime/Resources/CesiumCreditSystemUI.uxml.meta +10 -0
  272. package/Runtime/Resources/CesiumCreditSystemUIPanelSettings.asset +38 -0
  273. package/Runtime/Resources/CesiumCreditSystemUIPanelSettings.asset.meta +8 -0
  274. package/Runtime/Resources/CesiumDefaultTilesetMaterial.mat +232 -0
  275. package/Runtime/Resources/CesiumDefaultTilesetMaterial.mat.meta +8 -0
  276. package/Runtime/Resources/CesiumDefaultTilesetShader.shadergraph +14271 -0
  277. package/Runtime/Resources/CesiumDefaultTilesetShader.shadergraph.meta +10 -0
  278. package/Runtime/Resources/CesiumPointCloudShading.hlsl +156 -0
  279. package/Runtime/Resources/CesiumPointCloudShading.hlsl.meta +7 -0
  280. package/Runtime/Resources/CesiumPointCloudShadingMaterial.mat +125 -0
  281. package/Runtime/Resources/CesiumPointCloudShadingMaterial.mat.meta +8 -0
  282. package/Runtime/Resources/CesiumPointCloudShadingShader.shader +73 -0
  283. package/Runtime/Resources/CesiumPointCloudShadingShader.shader.meta +10 -0
  284. package/Runtime/Resources/CesiumRasterOverlay.shadersubgraph +2207 -0
  285. package/Runtime/Resources/CesiumRasterOverlay.shadersubgraph.meta +10 -0
  286. package/Runtime/Resources/CesiumSelectTexCoords.shadersubgraph +722 -0
  287. package/Runtime/Resources/CesiumSelectTexCoords.shadersubgraph.meta +10 -0
  288. package/Runtime/Resources/CesiumUnlitTilesetMaterial.mat +261 -0
  289. package/Runtime/Resources/CesiumUnlitTilesetMaterial.mat.meta +8 -0
  290. package/Runtime/Resources/CesiumUnlitTilesetShader.shadergraph +5873 -0
  291. package/Runtime/Resources/CesiumUnlitTilesetShader.shadergraph.meta +10 -0
  292. package/Runtime/Resources/DynamicCamera.prefab +253 -0
  293. package/Runtime/Resources/DynamicCamera.prefab.meta +7 -0
  294. package/Runtime/Resources/TransformTextureCoordinates.shadersubgraph +2171 -0
  295. package/Runtime/Resources/TransformTextureCoordinates.shadersubgraph.meta +10 -0
  296. package/Runtime/Resources/green1x1.png +0 -0
  297. package/Runtime/Resources/green1x1.png.meta +123 -0
  298. package/Runtime/Resources.meta +8 -0
  299. package/Runtime/TestGltfModel.cs +56 -0
  300. package/Runtime/TestGltfModel.cs.meta +11 -0
  301. package/Runtime/TestReinterop.cs +21 -0
  302. package/Runtime/TestReinterop.cs.meta +11 -0
  303. package/Runtime/UnityLifetime.cs +27 -0
  304. package/Runtime/UnityLifetime.cs.meta +11 -0
  305. package/Runtime/WaitForTask.cs +25 -0
  306. package/Runtime/WaitForTask.cs.meta +11 -0
  307. package/Runtime/csc.rsp +1 -0
  308. package/Runtime/csc.rsp.meta +7 -0
  309. package/Runtime.meta +8 -0
  310. package/ThirdParty.json +27 -0
  311. package/ThirdParty.json.meta +7 -0
  312. package/WGS84.asset +18 -0
  313. package/WGS84.asset.meta +8 -0
  314. package/package.json +29 -0
  315. package/package.json.meta +7 -0
@@ -0,0 +1,10 @@
1
+ fileFormatVersion: 2
2
+ guid: 407c0cff68611ac46a65eec87a5203f5
3
+ ScriptedImporter:
4
+ internalIDToNameTable: []
5
+ externalObjects: {}
6
+ serializedVersion: 2
7
+ userData:
8
+ assetBundleName:
9
+ assetBundleVariant:
10
+ script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
@@ -0,0 +1,156 @@
1
+ #ifndef CESIUM_POINT_CLOUD_SHADING
2
+ #define CESIUM_POINT_CLOUD_SHADING
3
+
4
+ #include "UnityCG.cginc"
5
+ #include "UnityInstancing.cginc"
6
+ #include "UnityLightingCommon.cginc"
7
+
8
+ struct Point
9
+ {
10
+ float3 position;
11
+ #ifdef HAS_POINT_NORMALS
12
+ float3 normal;
13
+ #endif
14
+ #ifdef HAS_POINT_COLORS
15
+ uint packedColor;
16
+ #endif
17
+ };
18
+
19
+ StructuredBuffer<Point> _inPoints;
20
+
21
+ float4x4 _worldTransform;
22
+ float4 _attenuationParameters;
23
+ float4 _constantColor;
24
+
25
+ struct VertexInput
26
+ {
27
+ uint vertexID : SV_VertexID;
28
+ UNITY_VERTEX_INPUT_INSTANCE_ID // Needed for single-pass instanced VR.
29
+ UNITY_VERTEX_OUTPUT_STEREO // Needed for VR.
30
+ };
31
+
32
+ struct VertexOutput
33
+ {
34
+ float4 positionClip : SV_POSITION; // Position in clip space
35
+ #ifdef HAS_POINT_NORMALS
36
+ float3 normalWC : TEXCOORD0; // Normal in world space. Using TEXCOORD0 because there's no 'NORMAL' semantic.
37
+ #endif
38
+ #ifdef HAS_POINT_COLORS
39
+ uint packedColor : COLOR_0; // Packed vertex color
40
+ #endif
41
+ UNITY_VERTEX_INPUT_INSTANCE_ID // Needed for single-pass instanced VR.
42
+ UNITY_VERTEX_OUTPUT_STEREO // Needed for VR.
43
+ };
44
+
45
+ VertexOutput Vertex(VertexInput input) {
46
+ VertexOutput output;
47
+
48
+ #ifdef INSTANCING_ON
49
+ UNITY_SETUP_INSTANCE_ID(input);
50
+ UNITY_TRANSFER_INSTANCE_ID(input, output);
51
+ #endif
52
+
53
+ UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(input);
54
+ UNITY_TRANSFER_VERTEX_OUTPUT_STEREO(input, output);
55
+
56
+ uint vertexID = input.vertexID;
57
+ uint pointIndex = vertexID / 6;
58
+ uint vertexIndex = vertexID - (pointIndex * 6); // Modulo
59
+
60
+ Point inPoint = _inPoints[pointIndex];
61
+
62
+ float3 position = inPoint.position;
63
+
64
+ // Using the vertex ID saves us from creating extra attribute buffers
65
+ // for the corners. We can hardcode the corners of the quad as follows.
66
+ // (Unity uses clockwise vertex winding.)
67
+ // 1 ----- 2,4
68
+ // | / |
69
+ // | / |
70
+ // | / |
71
+ // 0,3 ---- 5
72
+ float2 offset;
73
+
74
+ if (vertexIndex == 0 || vertexIndex == 3)
75
+ {
76
+ offset = float2(-0.5, -0.5);
77
+ }
78
+ else if (vertexIndex == 1)
79
+ {
80
+ offset = float2(-0.5, 0.5);
81
+ }
82
+ else if (vertexIndex == 2 || vertexIndex == 4)
83
+ {
84
+ offset = float2(0.5, 0.5);
85
+ }
86
+ else
87
+ {
88
+ offset = float2(0.5, -0.5);
89
+ }
90
+
91
+ float4 positionWC = mul(_worldTransform, float4(position, 1.0));
92
+ float4 positionEC = mul(unity_MatrixV, positionWC);
93
+ float4 positionClip = mul(unity_MatrixVP, positionWC);
94
+ float maximumPointSize = _attenuationParameters.x;
95
+ float geometricError = _attenuationParameters.y;
96
+ float depthMultiplier = _attenuationParameters.z;
97
+ float depth = -positionEC.z;
98
+
99
+ float pointSize = min((geometricError / depth) * depthMultiplier, maximumPointSize);
100
+ float2 pixelOffset = (pointSize * offset);
101
+ // Platforms can have different conventions of clip space (y-top vs. y-bottom).
102
+ // ProjectionParams.x will adjust the y-coordinate for clip space so that the output
103
+ // is the same across different platforms.
104
+ float2 screenOffset =
105
+ pixelOffset / float2(_ScreenParams.x, _ScreenParams.y * _ProjectionParams.x);
106
+ // The clip space position xy in Unity is in [-w, w] where w is the w-coordinate.
107
+ // Perspective divide with w is done between the vertex and fragment shaders.
108
+ positionClip.xy += screenOffset * positionClip.w;
109
+ output.positionClip = positionClip;
110
+
111
+ #ifdef HAS_POINT_COLORS
112
+ output.packedColor = inPoint.packedColor;
113
+ #endif
114
+
115
+ #ifdef HAS_POINT_NORMALS
116
+ float4 normalWC = mul(_worldTransform, float4(inPoint.normal, 0));
117
+ output.normalWC = normalWC;
118
+ #endif
119
+
120
+ return output;
121
+ }
122
+
123
+ float4 Fragment(VertexOutput input) : SV_TARGET{
124
+ // The shadow caster pass renders to a shadow map, so we can ignore
125
+ // the color logic here.
126
+ #ifdef SHADOW_CASTER_PASS
127
+ return float4(1, 1, 1, 1);
128
+ #else
129
+ float4 color;
130
+
131
+ #ifdef HAS_POINT_COLORS
132
+ uint packedColor = input.packedColor;
133
+ uint r = packedColor & 255;
134
+ uint g = (packedColor >> 8) & 255;
135
+ uint b = (packedColor >> 16) & 255;
136
+ uint a = packedColor >> 24;
137
+ color = float4(r, g, b, a) / 255;
138
+ #else
139
+ color = _constantColor;
140
+ #endif
141
+
142
+ #ifdef HAS_POINT_NORMALS
143
+ float3 lightWC = _WorldSpaceLightPos0.xyz;
144
+ float3 lightColor = _LightColor0.rgb;
145
+
146
+ float3 normalWC = input.normalWC;
147
+ float NdotL = clamp(dot(normalWC, lightWC), 0.01, 1);
148
+
149
+ color.xyz *= lightColor * NdotL;
150
+ #endif
151
+
152
+ return color;
153
+ #endif
154
+ }
155
+
156
+ #endif
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 2c388534a2d2de74da9f43b834d68897
3
+ ShaderIncludeImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,125 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!114 &-1954887611747806050
4
+ MonoBehaviour:
5
+ m_ObjectHideFlags: 11
6
+ m_CorrespondingSourceObject: {fileID: 0}
7
+ m_PrefabInstance: {fileID: 0}
8
+ m_PrefabAsset: {fileID: 0}
9
+ m_GameObject: {fileID: 0}
10
+ m_Enabled: 1
11
+ m_EditorHideFlags: 0
12
+ m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
13
+ m_Name:
14
+ m_EditorClassIdentifier:
15
+ version: 5
16
+ --- !u!21 &2100000
17
+ Material:
18
+ serializedVersion: 8
19
+ m_ObjectHideFlags: 0
20
+ m_CorrespondingSourceObject: {fileID: 0}
21
+ m_PrefabInstance: {fileID: 0}
22
+ m_PrefabAsset: {fileID: 0}
23
+ m_Name: CesiumPointCloudShadingMaterial
24
+ m_Shader: {fileID: 4800000, guid: d45df2810b1301947b13f832049434ee, type: 3}
25
+ m_ValidKeywords: []
26
+ m_InvalidKeywords: []
27
+ m_LightmapFlags: 4
28
+ m_EnableInstancingVariants: 1
29
+ m_DoubleSidedGI: 0
30
+ m_CustomRenderQueue: -1
31
+ stringTagMap: {}
32
+ disabledShaderPasses: []
33
+ m_SavedProperties:
34
+ serializedVersion: 3
35
+ m_TexEnvs:
36
+ - _BaseMap:
37
+ m_Texture: {fileID: 0}
38
+ m_Scale: {x: 1, y: 1}
39
+ m_Offset: {x: 0, y: 0}
40
+ - _BumpMap:
41
+ m_Texture: {fileID: 0}
42
+ m_Scale: {x: 1, y: 1}
43
+ m_Offset: {x: 0, y: 0}
44
+ - _DetailAlbedoMap:
45
+ m_Texture: {fileID: 0}
46
+ m_Scale: {x: 1, y: 1}
47
+ m_Offset: {x: 0, y: 0}
48
+ - _DetailMask:
49
+ m_Texture: {fileID: 0}
50
+ m_Scale: {x: 1, y: 1}
51
+ m_Offset: {x: 0, y: 0}
52
+ - _DetailNormalMap:
53
+ m_Texture: {fileID: 0}
54
+ m_Scale: {x: 1, y: 1}
55
+ m_Offset: {x: 0, y: 0}
56
+ - _EmissionMap:
57
+ m_Texture: {fileID: 0}
58
+ m_Scale: {x: 1, y: 1}
59
+ m_Offset: {x: 0, y: 0}
60
+ - _MainTex:
61
+ m_Texture: {fileID: 0}
62
+ m_Scale: {x: 1, y: 1}
63
+ m_Offset: {x: 0, y: 0}
64
+ - _MetallicGlossMap:
65
+ m_Texture: {fileID: 0}
66
+ m_Scale: {x: 1, y: 1}
67
+ m_Offset: {x: 0, y: 0}
68
+ - _OcclusionMap:
69
+ m_Texture: {fileID: 0}
70
+ m_Scale: {x: 1, y: 1}
71
+ m_Offset: {x: 0, y: 0}
72
+ - _ParallaxMap:
73
+ m_Texture: {fileID: 0}
74
+ m_Scale: {x: 1, y: 1}
75
+ m_Offset: {x: 0, y: 0}
76
+ - _SpecGlossMap:
77
+ m_Texture: {fileID: 0}
78
+ m_Scale: {x: 1, y: 1}
79
+ m_Offset: {x: 0, y: 0}
80
+ - unity_Lightmaps:
81
+ m_Texture: {fileID: 0}
82
+ m_Scale: {x: 1, y: 1}
83
+ m_Offset: {x: 0, y: 0}
84
+ - unity_LightmapsInd:
85
+ m_Texture: {fileID: 0}
86
+ m_Scale: {x: 1, y: 1}
87
+ m_Offset: {x: 0, y: 0}
88
+ - unity_ShadowMasks:
89
+ m_Texture: {fileID: 0}
90
+ m_Scale: {x: 1, y: 1}
91
+ m_Offset: {x: 0, y: 0}
92
+ m_Ints: []
93
+ m_Floats:
94
+ - _AlphaClip: 0
95
+ - _Blend: 0
96
+ - _BumpScale: 1
97
+ - _ClearCoatMask: 0
98
+ - _ClearCoatSmoothness: 0
99
+ - _Cull: 2
100
+ - _Cutoff: 0.5
101
+ - _DetailAlbedoMapScale: 1
102
+ - _DetailNormalMapScale: 1
103
+ - _DstBlend: 0
104
+ - _EnvironmentReflections: 1
105
+ - _GlossMapScale: 0
106
+ - _Glossiness: 0
107
+ - _GlossyReflections: 0
108
+ - _Metallic: 0
109
+ - _OcclusionStrength: 1
110
+ - _Parallax: 0.005
111
+ - _QueueOffset: 0
112
+ - _ReceiveShadows: 1
113
+ - _Smoothness: 0.5
114
+ - _SmoothnessTextureChannel: 0
115
+ - _SpecularHighlights: 1
116
+ - _SrcBlend: 1
117
+ - _Surface: 0
118
+ - _WorkflowMode: 1
119
+ - _ZWrite: 1
120
+ m_Colors:
121
+ - _BaseColor: {r: 1, g: 1, b: 1, a: 1}
122
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
123
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
124
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
125
+ m_BuildTextureStacks: []
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 3b7ad16b93a21b24989688278d90e52d
3
+ NativeFormatImporter:
4
+ externalObjects: {}
5
+ mainObjectFileID: 2100000
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,73 @@
1
+ Shader "Hidden/Cesium/CesiumPointCloudShading"
2
+ {
3
+ Properties
4
+ {
5
+ }
6
+
7
+ SubShader
8
+ {
9
+ Tags {
10
+ "Queue" = "Geometry"
11
+ "RenderType" = "Opaque"
12
+ "RenderPipeline" = "UniversalPipeline"
13
+ }
14
+
15
+ Blend [_SrcBlend] [_DstBlend]
16
+
17
+ Pass
18
+ {
19
+ Name "Lighting Pass"
20
+ Tags { "LightMode" = "UniversalForward"}
21
+
22
+ HLSLPROGRAM
23
+
24
+ #pragma target 4.5
25
+
26
+ #pragma multi_compile __ HAS_POINT_COLORS
27
+ #pragma multi_compile __ HAS_POINT_NORMALS
28
+
29
+ #pragma multi_compile _ _MAIN_LIGHT_SHADOWS
30
+ #pragma multi_compile _ _MAIN_LIGHT_SHADOWS_CASCADE
31
+ #pragma multi_compile _ _ADDITIONAL_LIGHTS
32
+ #pragma multi_compile _ _ADDITIONAL_LIGHTS_SHADOWS
33
+ #pragma multi_compile _ _SHADOWS_SOFT
34
+
35
+ #pragma multi_compile_instancing // Needed for single-pass instanced VR.
36
+
37
+ #pragma vertex Vertex
38
+ #pragma fragment Fragment
39
+
40
+ #include "CesiumPointCloudShading.hlsl"
41
+
42
+ ENDHLSL
43
+ }
44
+
45
+ Pass
46
+ {
47
+
48
+ Name "Shadow Pass"
49
+ Tags { "LightMode" = "ShadowCaster" }
50
+
51
+ HLSLPROGRAM
52
+
53
+ #pragma target 4.5
54
+
55
+ #pragma multi_compile __ HAS_POINT_COLORS
56
+ #pragma multi_compile __ HAS_POINT_NORMALS
57
+
58
+ // This sets up various keywords for different light types and shadow settings.
59
+ #pragma multi_compile_shadowcaster
60
+
61
+ #pragma multi_compile_instancing // Needed for single-pass instanced VR.
62
+
63
+ #pragma vertex Vertex
64
+ #pragma fragment Fragment
65
+
66
+ #define SHADOW_CASTER_PASS
67
+
68
+ #include "CesiumPointCloudShading.hlsl"
69
+
70
+ ENDHLSL
71
+ }
72
+ }
73
+ }
@@ -0,0 +1,10 @@
1
+ fileFormatVersion: 2
2
+ guid: d45df2810b1301947b13f832049434ee
3
+ ShaderImporter:
4
+ externalObjects: {}
5
+ defaultTextures: []
6
+ nonModifiableTextures: []
7
+ preprocessorOverride: 0
8
+ userData:
9
+ assetBundleName:
10
+ assetBundleVariant: