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,279 @@
1
+ using Reinterop;
2
+ using UnityEngine;
3
+ using System;
4
+
5
+ namespace CesiumForUnity
6
+ {
7
+ /// <summary>
8
+ /// Identifies the type of a property.
9
+ /// </summary>
10
+ public enum MetadataType
11
+ {
12
+ None,
13
+ Int8,
14
+ UInt8,
15
+ Int16,
16
+ UInt16,
17
+ Int32,
18
+ UInt32,
19
+ Int64,
20
+ UInt64,
21
+ Float,
22
+ Double,
23
+ Boolean,
24
+ String,
25
+ Array
26
+ }
27
+
28
+ /// <summary>
29
+ /// Allows access to a particular feature of <see cref="CesiumMetadata"/>.
30
+ /// </summary>
31
+ [ReinteropNativeImplementation("CesiumForUnityNative::CesiumFeatureImpl", "CesiumFeatureImpl.h")]
32
+ [Obsolete("Retrieve feature IDs from the CesiumPrimitiveFeatures component attached to a mesh primitive instead. For metadata, use the CesiumModelMetadata component attached to its parent game object.")]
33
+ public partial class CesiumFeature
34
+ {
35
+ /// <summary>
36
+ /// The name of the class that this CesiumFeature conforms to.
37
+ /// </summary>
38
+ public string className { get; internal set; }
39
+
40
+ /// <summary>
41
+ /// The name of the feature table containing the values of this CesiumFeature's properties.
42
+ /// </summary>
43
+ public string featureTableName { get; internal set; }
44
+
45
+ /// <summary>
46
+ /// The names of the properties that exist in this CesiumFeature.
47
+ /// </summary>
48
+ public string[] properties { get; internal set; }
49
+
50
+ /// <summary>
51
+ /// Gets the value of the specified property as a signed byte. Returns the default
52
+ /// value if the property value cannot be converted to that type.
53
+ /// </summary>
54
+ /// <param name="property">The name of the property.</param>
55
+ /// <param name="defaultValue">The default value.</param>
56
+ public partial sbyte GetInt8(string property, sbyte defaultValue);
57
+
58
+ /// <summary>
59
+ /// Gets the value of the specified property as a byte. Returns the default value
60
+ /// if the property value cannot be converted to that type.
61
+ /// </summary>
62
+ /// <param name="property">The name of the property.</param>
63
+ /// <param name="defaultValue">The default value.</param>
64
+ public partial byte GetUInt8(string property, byte defaultValue);
65
+
66
+ /// <summary>
67
+ /// Gets the value of the specified property as a signed 16-bit integer. Returns
68
+ /// the default value if the property value cannot be converted to that type.
69
+ /// </summary>
70
+ /// <param name="property">The name of the property.</param>
71
+ /// <param name="defaultValue">The default value.</param>
72
+ public partial Int16 GetInt16(string property, Int16 defaultValue);
73
+
74
+ /// <summary>
75
+ /// Gets the value of the specified property as an unsigned 16-bit integer. Returns
76
+ /// the default value if the property value cannot be converted to that type.
77
+ /// </summary>
78
+ /// <param name="property">The name of the property.</param>
79
+ /// <param name="defaultValue">The default value.</param>
80
+ public partial UInt16 GetUInt16(string property, UInt16 defaultValue);
81
+
82
+ /// <summary>
83
+ /// Gets the value of the specified property as a signed 32-bit integer. Returns
84
+ /// the default value if the property value cannot be converted to that type.
85
+ /// </summary>
86
+ /// <param name="property">The name of the property.</param>
87
+ /// <param name="defaultValue">The default value.</param>
88
+ public partial Int32 GetInt32(string property, Int32 defaultValue);
89
+
90
+ /// <summary>
91
+ /// Gets the value of the specified property as an unsigned 32-bit integer.
92
+ /// Returns the default value if the property value cannot be converted to that type.
93
+ /// </summary>
94
+ /// <param name="property">The name of the property.</param>
95
+ /// <param name="defaultValue">The default value.</param>
96
+ public partial UInt32 GetUInt32(string property, UInt32 defaultValue);
97
+
98
+ /// <summary>
99
+ /// Gets the value of the specified property as a signed 64-bit integer. Returns
100
+ /// the default value if the property value cannot be converted to that type.
101
+ /// </summary>
102
+ /// <param name="property">The name of the property.</param>
103
+ /// <param name="defaultValue">The default value.</param>
104
+ public partial Int64 GetInt64(string property, Int64 defaultValue);
105
+
106
+ /// <summary>
107
+ /// Gets the value of the specified property as an unsigned 64-bit integer. Returns
108
+ /// the default value if the property value cannot be converted to that type.
109
+ /// </summary>
110
+ /// <param name="property">The name of the property.</param>
111
+ /// <param name="defaultValue">The default value.</param>
112
+ public partial UInt64 GetUInt64(string property, UInt64 defaultValue);
113
+
114
+ /// <summary>
115
+ /// Gets the value of the specified property as a 32-bit floating-point number.
116
+ /// Returns the default value if the property value cannot be converted to that type.
117
+ /// </summary>
118
+ /// <param name="property">The name of the property.</param>
119
+ /// <param name="defaultValue">The default value.</param>
120
+ public partial float GetFloat32(string property, float defaultValue);
121
+
122
+ /// <summary>
123
+ /// Gets the value of the specified property as a 64-bit floating-point number.
124
+ /// Returns the default value if the property value cannot be converted to that type.
125
+ /// </summary>
126
+ /// <param name="property">The name of the property.</param>
127
+ /// <param name="defaultValue">The default value.</param>
128
+ public partial double GetFloat64(string property, double defaultValue);
129
+
130
+ /// <summary>
131
+ /// Gets the value of the specified property as a boolean value. Returns the default
132
+ /// value if the property value cannot be converted to that type.
133
+ /// </summary>
134
+ /// <param name="property">The name of the property.</param>
135
+ /// <param name="defaultValue">The default value.</param>
136
+ public partial Boolean GetBoolean(string property, Boolean defaultValue);
137
+
138
+ /// <summary>
139
+ /// Gets the value of the specified property as a string. Returns the default value if
140
+ /// the property value cannot be converted to that type.
141
+ /// </summary>
142
+ /// <param name="property">The name of the property.</param>
143
+ /// <param name="defaultValue">The default value.</param>
144
+ public partial String GetString(string property, String defaultValue);
145
+
146
+ /// <summary>
147
+ /// Gets the value of the specified property from an array as a signed byte.
148
+ /// Returns the default value if the property value cannot be converted to that type.
149
+ /// </summary>
150
+ /// <param name="property">The name of the property.</param>
151
+ /// <param name="index">The index of the component.</param>
152
+ /// <param name="defaultValue">The default value.</param>
153
+ public partial sbyte GetComponentInt8(string property, int index, sbyte defaultValue);
154
+
155
+ /// <summary>
156
+ /// Gets the value of the specified property from an array as a byte.
157
+ /// Returns the default value if the property value cannot be converted to that type.
158
+ /// </summary>
159
+ /// <param name="property">The name of the property.</param>
160
+ /// <param name="index">The index of the component.</param>
161
+ /// <param name="defaultValue">The default value.</param>
162
+ public partial byte GetComponentUInt8(string property, int index, byte defaultValue);
163
+
164
+ /// <summary>
165
+ /// Gets the value of the specified property from an array as a signed 16-bit integer.
166
+ /// Returns the default value if the property value cannot be converted to that type.
167
+ /// </summary>
168
+ /// <param name="property">The name of the property.</param>
169
+ /// <param name="index">The index of the component.</param>
170
+ /// <param name="defaultValue">The default value.</param>
171
+ public partial Int16 GetComponentInt16(string property, int index, Int16 defaultValue);
172
+
173
+ /// <summary>
174
+ /// Gets the value of the specified property from an array as an unsigned 16-bit integer.
175
+ /// Returns the default value if the property value cannot be converted to that type.
176
+ /// </summary>
177
+ /// <param name="property">The name of the property.</param>
178
+ /// <param name="index">The index of the component.</param>
179
+ /// <param name="defaultValue">The default value.</param>
180
+ public partial UInt16 GetComponentUInt16(string property, int index, UInt16 defaultValue);
181
+
182
+ /// <summary>
183
+ /// Gets the value of the specified property from an array as a signed 32-bit integer.
184
+ /// Returns the default value if the property value cannot be converted to that type.
185
+ /// </summary>
186
+ /// <param name="property">The name of the property.</param>
187
+ /// <param name="index">The index of the component.</param>
188
+ /// <param name="defaultValue">The default value.</param>
189
+ public partial Int32 GetComponentInt32(string property, int index, Int32 defaultValue);
190
+
191
+ /// <summary>
192
+ /// Gets the value of the specified property from an array as an unsigned 32-bit integer.
193
+ /// Returns the default value if the property value cannot be converted to that type.
194
+ /// </summary>
195
+ /// <param name="property">The name of the property.</param>
196
+ /// <param name="index">The index of the component.</param>
197
+ /// <param name="defaultValue">The default value.</param>
198
+ public partial UInt32 GetComponentUInt32(string property, int index, UInt32 defaultValue);
199
+
200
+ /// <summary>
201
+ /// Gets the value of the specified property from an array as a signed 64-bit integer.
202
+ /// Returns the default value if the property value cannot be converted to that type.
203
+ /// </summary>
204
+ /// <param name="property">The name of the property.</param>
205
+ /// <param name="index">The index of the component.</param>
206
+ /// <param name="defaultValue">The default value.</param>
207
+ public partial Int64 GetComponentInt64(string property, int index, Int64 defaultValue);
208
+
209
+ /// <summary>
210
+ /// Gets the value of the specified property from an array as an unsigned 64-bit integer.
211
+ /// Returns the default value if the property value cannot be converted to that type.
212
+ /// </summary>
213
+ /// <param name="property">The name of the property.</param>
214
+ /// <param name="index">The index of the component.</param>
215
+ /// <param name="defaultValue">The default value.</param>
216
+ public partial UInt64 GetComponentUInt64(string property, int index, UInt64 defaultValue);
217
+
218
+ /// <summary>
219
+ /// Gets the value of the specified property from an array as a 32-bit floating-point number.
220
+ /// Returns the default value if the property value cannot be converted to that type.
221
+ /// </summary>
222
+ /// <param name="property">The name of the property.</param>
223
+ /// <param name="index">The index of the component.</param>
224
+ /// <param name="defaultValue">The default value.</param>
225
+ public partial float GetComponentFloat32(string property, int index, float defaultValue);
226
+
227
+ /// <summary>
228
+ /// Gets the value of the specified property property from an array as a 64-bit
229
+ /// floating-point number. Returns the default value if the property value cannot
230
+ /// be converted to that type.
231
+ /// </summary>
232
+ /// <param name="property">The name of the property.</param>
233
+ /// <param name="index">The index of the component.</param>
234
+ /// <param name="defaultValue">The default value.</param>
235
+ public partial double GetComponentFloat64(string property, int index, double defaultValue);
236
+
237
+ /// <summary>
238
+ /// Gets the value of the specified property property from an array as a boolean value.
239
+ /// Returns the default value if the property value cannot be converted to that type.
240
+ /// </summary>
241
+ /// <param name="property">The name of the property.</param>
242
+ /// <param name="index">The index of the component.</param>
243
+ /// <param name="defaultValue">The default value.</param>
244
+ public partial Boolean GetComponentBoolean(string property, int index, Boolean defaultValue);
245
+
246
+ /// <summary>
247
+ /// Gets the value of the specified property from an array as a string. Returns
248
+ /// the default value if the property value cannot be converted to that type.
249
+ /// </summary>
250
+ /// <param name="property">The name of the property.</param>
251
+ /// <param name="index">The index of the component.</param>
252
+ /// <param name="defaultValue">The default value.</param>
253
+ public partial String GetComponentString(string property, int index, String defaultValue);
254
+
255
+ /// <summary>
256
+ /// Gets the number of components in the array.
257
+ /// <param name="property">The name of the property.</param>
258
+ /// </summary>
259
+ public partial int GetComponentCount(string property);
260
+
261
+ /// <summary>
262
+ /// Gets the type of component array.
263
+ /// <param name="property">The name of the property.</param>
264
+ /// </summary>
265
+ public partial MetadataType GetComponentType(string property);
266
+
267
+ /// <summary>
268
+ /// Gets the type of the specified property.
269
+ /// <param name="property">The name of the property.</param>
270
+ /// </summary>
271
+ public partial MetadataType GetMetadataType(string property);
272
+
273
+ /// <summary>
274
+ /// Determines if the specified property's value is normalized.
275
+ /// </summary>
276
+ /// <param name="property">The name of the property.</param>
277
+ public partial bool IsNormalized(string property);
278
+ }
279
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 7819f1c56f6c4284295780d3157719cb
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,61 @@
1
+ using Reinterop;
2
+ using System;
3
+ using UnityEngine;
4
+
5
+ namespace CesiumForUnity
6
+ {
7
+ /// <summary>
8
+ /// Reports the status of a CesiumFeatureIdAttribute. If the feature ID
9
+ /// attribute cannot be accessed, this briefly indicates why.
10
+ /// </summary>
11
+ public enum CesiumFeatureIdAttributeStatus
12
+ {
13
+ /// <summary>
14
+ /// The feature ID attribute is valid.
15
+ /// </summary>
16
+ Valid,
17
+ /// <summary>
18
+ /// The feature ID attribute does not exist in the glTF primitive.
19
+ /// </summary>
20
+ ErrorInvalidAttribute,
21
+ /// <summary>
22
+ /// The feature ID attribute uses an invalid accessor in the glTF.
23
+ /// </summary>
24
+ ErrorInvalidAccessor
25
+ }
26
+
27
+ /// <summary>
28
+ /// Represents a feature ID attribute from a glTF primitive. Provides
29
+ /// access to per-vertex feature IDs which can be used with the
30
+ /// corresponding <see cref="CesiumPropertyTable"/> to access per-vertex
31
+ /// metadata.
32
+ /// </summary>
33
+ [ReinteropNativeImplementation("CesiumForUnityNative::CesiumFeatureIdAttributeImpl", "CesiumFeatureIdAttributeImpl.h")]
34
+ public partial class CesiumFeatureIdAttribute : CesiumFeatureIdSet
35
+ {
36
+ /// <summary>
37
+ /// The status of this feature ID attribute.
38
+ /// </summary>
39
+ public CesiumFeatureIdAttributeStatus status
40
+ {
41
+ get; internal set;
42
+ }
43
+
44
+ internal CesiumFeatureIdAttribute()
45
+ {
46
+ this.type = CesiumFeatureIdSetType.Attribute;
47
+ this.status = CesiumFeatureIdAttributeStatus.ErrorInvalidAttribute;
48
+ this.CreateImplementation();
49
+ }
50
+
51
+ /// <inheritdoc />
52
+ public override partial Int64 GetFeatureIdForVertex(Int64 vertexIndex);
53
+
54
+ /// <inheritdoc />
55
+ public override Int64 GetFeatureIdFromRaycastHit(RaycastHit hitInfo)
56
+ {
57
+ int vertex = CesiumPrimitiveFeatures.GetFirstVertexFromHitTriangle(hitInfo);
58
+ return this.GetFeatureIdForVertex(vertex);
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 00523d00828a17948815bd0e493bca45
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,165 @@
1
+ using System;
2
+ using System.Collections.Generic;
3
+ using UnityEngine;
4
+
5
+ namespace CesiumForUnity
6
+ {
7
+ /// <summary>
8
+ /// The type of a feature ID set.
9
+ /// </summary>
10
+ public enum CesiumFeatureIdSetType
11
+ {
12
+ None,
13
+ Attribute,
14
+ Texture,
15
+ Implicit
16
+ }
17
+
18
+ /// <summary>
19
+ /// Represents a feature ID set from a glTF primitive. A feature ID can be defined
20
+ /// as a per-vertex attribute, as a feature ID texture, or implicitly via vertex ID.
21
+ /// These can be used with the corresponding <see cref="CesiumPropertyTable"/> to
22
+ /// access per-feature metadata.
23
+ /// </summary>
24
+ public class CesiumFeatureIdSet : IDisposable
25
+ {
26
+ #region Getters
27
+
28
+ /// <summary>
29
+ /// The type of this feature ID set.
30
+ /// </summary>
31
+ public CesiumFeatureIdSetType type
32
+ {
33
+ get; protected set;
34
+ }
35
+
36
+ /// <summary>
37
+ /// The label assigned to this feature ID set. If no label was present in
38
+ /// the glTF feature ID set, this returns an empty string.
39
+ /// </summary>
40
+ public String label
41
+ {
42
+ get; internal set;
43
+ }
44
+
45
+ /// <summary>
46
+ /// The number of features this primitive has.
47
+ /// </summary>
48
+ public Int64 featureCount
49
+ {
50
+ get; internal set;
51
+ }
52
+
53
+ /// <summary>
54
+ /// The null feature ID, i.e., the value that indicates no feature is
55
+ /// associated with the owner.In other words, if a vertex or texel returns
56
+ /// this value, then it is not associated with any feature.
57
+ /// </summary>
58
+ /// <remarks>
59
+ /// If this value was not defined in the glTF feature ID set, this returns -1.
60
+ /// </remarks>
61
+ public Int64 nullFeatureId
62
+ {
63
+ get; internal set;
64
+ }
65
+
66
+ /// <summary>
67
+ /// The index of the property table corresponding to this feature ID set.
68
+ /// The index can be used to fetch the appropriate <see cref="CesiumPropertyTable"/>
69
+ /// from the <see cref="CesiumModelMetadata"/>.
70
+ /// <remarks>
71
+ /// If the feature ID set does not specify a property table, this returns -1.
72
+ /// </remarks>
73
+ /// </summary>
74
+ public Int64 propertyTableIndex
75
+ {
76
+ get; internal set;
77
+ }
78
+
79
+ #endregion
80
+
81
+ #region Constructors
82
+
83
+ internal CesiumFeatureIdSet() : this(0)
84
+ { }
85
+
86
+ internal CesiumFeatureIdSet(Int64 featureCount)
87
+ {
88
+ this.type = featureCount > 0 ? CesiumFeatureIdSetType.Implicit : CesiumFeatureIdSetType.None;
89
+ this.featureCount = featureCount;
90
+ this.label = "";
91
+ this.nullFeatureId = -1;
92
+ this.propertyTableIndex = -1;
93
+ }
94
+
95
+ #endregion
96
+
97
+ #region Public methods
98
+ /// <summary>
99
+ /// Gets the feature ID associated with a given vertex. The feature ID can be
100
+ /// used with a <see cref="CesiumPropertyTable"/> to retrieve the corresponding
101
+ /// metadata.
102
+ /// </summary>
103
+ /// <remarks>
104
+ /// This returns -1 if the given vertex is out-of-bounds, or if the feature ID
105
+ /// set is invalid.
106
+ /// </remarks>
107
+ /// <param name="vertexIndex">The index of the target vertex.</param>
108
+ /// <returns>The feature ID associated with the given vertex, or -1 for an
109
+ /// invalid feature ID set or invalid input.</returns>
110
+ public virtual Int64 GetFeatureIdForVertex(Int64 vertexIndex)
111
+ {
112
+ if (this.type != CesiumFeatureIdSetType.Implicit)
113
+ {
114
+ // Other methods should be handled by CesiumFeatureIdAttribute and
115
+ // CesiumFeatureIdTexture respectively.
116
+ return -1;
117
+ }
118
+
119
+ if (vertexIndex < 0 || vertexIndex >= this.featureCount)
120
+ {
121
+ return -1;
122
+ }
123
+
124
+ return vertexIndex;
125
+ }
126
+
127
+ /// <summary>
128
+ /// Gets the feature ID from the feature ID set using the given raycast hit.
129
+ /// This returns a more accurate value for feature ID textures, since they
130
+ /// define feature IDs per-texel instead of per-vertex. The feature ID can
131
+ /// be used with a <see cref="CesiumPropertyTable"/> to retrieve the
132
+ /// corresponding metadata.
133
+ /// </summary>
134
+ /// <remarks>
135
+ /// This can still retrieve the feature IDs for non-texture feature ID sets.
136
+ /// For attribute or implicit feature IDs, the first feature ID associated
137
+ /// with the first vertex of the intersected face is returned.<br/><br/>
138
+ ///
139
+ /// This returns -1 if the feature ID set is invalid.
140
+ /// </remarks>
141
+ /// <param name="hitInfo">The raycast hit info.</param>
142
+ /// <returns>The feature ID associated with the given vertex, or -1 for an
143
+ /// invalid feature ID set.</returns>
144
+ public virtual Int64 GetFeatureIdFromRaycastHit(RaycastHit hitInfo)
145
+ {
146
+ if (this.type != CesiumFeatureIdSetType.Implicit)
147
+ {
148
+ // Other methods should be handled by CesiumFeatureIdAttribute and
149
+ // CesiumFeatureIdTexture respectively.
150
+ return -1;
151
+ }
152
+
153
+
154
+ return CesiumPrimitiveFeatures.GetFirstVertexFromHitTriangle(hitInfo);
155
+ }
156
+
157
+ #endregion
158
+
159
+ // Cache the list of indices to prevent the allocation of a new array every time
160
+ // GetFirstVertexFromHitTriangle is called.
161
+ List<int> _indices;
162
+
163
+ public virtual void Dispose() { }
164
+ }
165
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 9831e7ff1f043494aa682f8d2f20be98
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,68 @@
1
+ using Reinterop;
2
+ using System;
3
+ using UnityEngine;
4
+
5
+ namespace CesiumForUnity
6
+ {
7
+ /// <summary>
8
+ /// Reports the status of a CesiumFeatureIdTexture. If the feature ID
9
+ /// texture cannot be accessed, this briefly indicates why.
10
+ /// </summary>
11
+ public enum CesiumFeatureIdTextureStatus
12
+ {
13
+ /// <summary>
14
+ /// The feature ID texture is valid.
15
+ /// </summary>
16
+ Valid,
17
+ /// <summary>
18
+ /// The feature ID texture cannot be found in the glTF, or the texture
19
+ /// itself has errors.
20
+ /// </summary>
21
+ ErrorInvalidTexture,
22
+ /// <summary>
23
+ /// The feature ID texture is being read in an invalid way -- for
24
+ /// example, trying to read nonexistent image channels.
25
+ /// </summary>
26
+ ErrorInvalidTextureAccess
27
+ }
28
+
29
+ /// <summary>
30
+ /// Represents a feature ID texture from a glTF primitive. Provides
31
+ /// access to per-texel feature IDs which can be used with the
32
+ /// corresponding <see cref="CesiumPropertyTable"/> to access per-texel
33
+ /// metadata.
34
+ /// </summary>
35
+ [ReinteropNativeImplementation("CesiumForUnityNative::CesiumFeatureIdTextureImpl", "CesiumFeatureIdTextureImpl.h")]
36
+ public partial class CesiumFeatureIdTexture : CesiumFeatureIdSet
37
+ {
38
+ /// <summary>
39
+ /// The status of this feature ID texture.
40
+ /// </summary>
41
+ public CesiumFeatureIdTextureStatus status
42
+ {
43
+ get; internal set;
44
+ }
45
+
46
+ internal CesiumFeatureIdTexture()
47
+ {
48
+ this.type = CesiumFeatureIdSetType.Texture;
49
+ this.status = CesiumFeatureIdTextureStatus.ErrorInvalidTexture;
50
+ this.CreateImplementation();
51
+ }
52
+
53
+ /// <summary>
54
+ /// Gets the feature ID corresponding to the pixel specified by the UV texture
55
+ /// coordinates. The feature ID can be used with a <see cref="CesiumPropertyTable"/>
56
+ /// to retrieve the per-texel metadata.
57
+ /// </summary>
58
+ /// <param name="uv">The texture coordinates.</param>
59
+ /// <returns>The feature ID at the given texture coordinates, or -1 if the feature ID texture is invalid.</returns>
60
+ public partial Int64 GetFeatureIdForUV(Vector2 uv);
61
+
62
+ /// <inheritdoc />
63
+ public override partial Int64 GetFeatureIdForVertex(Int64 vertexIndex);
64
+
65
+ /// <inheritdoc />
66
+ public override partial Int64 GetFeatureIdFromRaycastHit(RaycastHit hitInfo);
67
+ }
68
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: b8d52d6db92283f45b49c6c030c8f31f
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant: