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.
- package/CHANGES.md +420 -0
- package/CHANGES.md.meta +7 -0
- package/Editor/BuildCesiumForUnity.cs +186 -0
- package/Editor/BuildCesiumForUnity.cs.meta +11 -0
- package/Editor/Cesium3DTilesetEditor.cs +542 -0
- package/Editor/Cesium3DTilesetEditor.cs.meta +11 -0
- package/Editor/CesiumBingMapsRasterOverlayEditor.cs +66 -0
- package/Editor/CesiumBingMapsRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumCameraControllerEditor.cs +174 -0
- package/Editor/CesiumCameraControllerEditor.cs.meta +11 -0
- package/Editor/CesiumCameraManagerEditor.cs +65 -0
- package/Editor/CesiumCameraManagerEditor.cs.meta +11 -0
- package/Editor/CesiumCartographicPolygonEditor.cs +23 -0
- package/Editor/CesiumCartographicPolygonEditor.cs.meta +11 -0
- package/Editor/CesiumDebugColorizeTilesRasterOverlayEditor.cs +41 -0
- package/Editor/CesiumDebugColorizeTilesRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumEditor.asmdef +26 -0
- package/Editor/CesiumEditor.asmdef.meta +7 -0
- package/Editor/CesiumEditorStyle.cs +188 -0
- package/Editor/CesiumEditorStyle.cs.meta +11 -0
- package/Editor/CesiumEditorUtility.cs +394 -0
- package/Editor/CesiumEditorUtility.cs.meta +11 -0
- package/Editor/CesiumEditorWindow.cs +447 -0
- package/Editor/CesiumEditorWindow.cs.meta +11 -0
- package/Editor/CesiumFlyToControllerEditor.cs +76 -0
- package/Editor/CesiumFlyToControllerEditor.cs.meta +11 -0
- package/Editor/CesiumGeoreferenceEditor.cs +277 -0
- package/Editor/CesiumGeoreferenceEditor.cs.meta +11 -0
- package/Editor/CesiumGlobeAnchorEditor.cs +202 -0
- package/Editor/CesiumGlobeAnchorEditor.cs.meta +11 -0
- package/Editor/CesiumInspectorGUI.cs +187 -0
- package/Editor/CesiumInspectorGUI.cs.meta +11 -0
- package/Editor/CesiumIonAsset.cs +192 -0
- package/Editor/CesiumIonAsset.cs.meta +11 -0
- package/Editor/CesiumIonAssetsWindow.cs +257 -0
- package/Editor/CesiumIonAssetsWindow.cs.meta +11 -0
- package/Editor/CesiumIonRasterOverlayEditor.cs +87 -0
- package/Editor/CesiumIonRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumIonServerManager.cs +153 -0
- package/Editor/CesiumIonServerManager.cs.meta +11 -0
- package/Editor/CesiumIonServerSelector.cs +127 -0
- package/Editor/CesiumIonServerSelector.cs.meta +11 -0
- package/Editor/CesiumIonSession.cs +102 -0
- package/Editor/CesiumIonSession.cs.meta +11 -0
- package/Editor/CesiumPolygonRasterOverlayEditor.cs +102 -0
- package/Editor/CesiumPolygonRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumRasterOverlayEditor.cs +230 -0
- package/Editor/CesiumRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumSubSceneEditor.cs +201 -0
- package/Editor/CesiumSubSceneEditor.cs.meta +11 -0
- package/Editor/CesiumTileMapServiceRasterOverlayEditor.cs +88 -0
- package/Editor/CesiumTileMapServiceRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumWebMapServiceRasterOverlayEditor.cs +111 -0
- package/Editor/CesiumWebMapServiceRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumWebMapTileServiceRasterOverlayEditor.cs +277 -0
- package/Editor/CesiumWebMapTileServiceRasterOverlayEditor.cs.meta +3 -0
- package/Editor/CompileCesiumForUnityNative.cs +581 -0
- package/Editor/CompileCesiumForUnityNative.cs.meta +11 -0
- package/Editor/ConfigureReinterop.cs +255 -0
- package/Editor/ConfigureReinterop.cs.meta +11 -0
- package/Editor/Helpers.cs +102 -0
- package/Editor/Helpers.cs.meta +11 -0
- package/Editor/IonAssetsMultiColumnHeader.cs +45 -0
- package/Editor/IonAssetsMultiColumnHeader.cs.meta +11 -0
- package/Editor/IonAssetsTreeView.cs +214 -0
- package/Editor/IonAssetsTreeView.cs.meta +11 -0
- package/Editor/IonMissingAssetWindow.cs +65 -0
- package/Editor/IonMissingAssetWindow.cs.meta +11 -0
- package/Editor/IonTokenTroubleshootingWindow.cs +615 -0
- package/Editor/IonTokenTroubleshootingWindow.cs.meta +11 -0
- package/Editor/NativeDownloadHandler.cs +35 -0
- package/Editor/NativeDownloadHandler.cs.meta +11 -0
- package/Editor/QuickAddItem.cs +43 -0
- package/Editor/QuickAddItem.cs.meta +11 -0
- package/Editor/Resources/Cesium-128x128.png +0 -0
- package/Editor/Resources/Cesium-128x128.png.meta +98 -0
- package/Editor/Resources/Cesium-24x24.png +0 -0
- package/Editor/Resources/Cesium-24x24.png.meta +123 -0
- package/Editor/Resources/Cesium-64x64.png +0 -0
- package/Editor/Resources/Cesium-64x64.png.meta +98 -0
- package/Editor/Resources/Cesium-for-Unity-dark.png +0 -0
- package/Editor/Resources/Cesium-for-Unity-dark.png.meta +123 -0
- package/Editor/Resources/Cesium-for-Unity-light.png +0 -0
- package/Editor/Resources/Cesium-for-Unity-light.png.meta +123 -0
- package/Editor/Resources/Cesium-icon-16x16.png +0 -0
- package/Editor/Resources/Cesium-icon-16x16.png.meta +98 -0
- package/Editor/Resources/FontAwesome/attribution.txt +9 -0
- package/Editor/Resources/FontAwesome/attribution.txt.meta +7 -0
- package/Editor/Resources/FontAwesome/book-reader-solid.png +0 -0
- package/Editor/Resources/FontAwesome/book-reader-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/book-reader-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/book-reader-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/check-solid.png +0 -0
- package/Editor/Resources/FontAwesome/check-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/check-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/check-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.png +0 -0
- package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/folder.png +0 -0
- package/Editor/Resources/FontAwesome/folder.png.meta +147 -0
- package/Editor/Resources/FontAwesome/folder.svg +5 -0
- package/Editor/Resources/FontAwesome/folder.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/hands-helping-solid.png +0 -0
- package/Editor/Resources/FontAwesome/hands-helping-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/hands-helping-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/hands-helping-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/key-solid.png +0 -0
- package/Editor/Resources/FontAwesome/key-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/key-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/key-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/plus-solid.png +0 -0
- package/Editor/Resources/FontAwesome/plus-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/plus-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/plus-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/sign-out-alt-solid.png +0 -0
- package/Editor/Resources/FontAwesome/sign-out-alt-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/sign-out-alt-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/sign-out-alt-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/sync-alt-solid.png +0 -0
- package/Editor/Resources/FontAwesome/sync-alt-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/sync-alt-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/sync-alt-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/times-solid.png +0 -0
- package/Editor/Resources/FontAwesome/times-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/times-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/times-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome.meta +8 -0
- package/Editor/Resources.meta +8 -0
- package/Editor/SelectIonTokenWindow.cs +249 -0
- package/Editor/SelectIonTokenWindow.cs.meta +11 -0
- package/Editor/arm64.meta +8 -0
- package/Editor/csc.rsp +1 -0
- package/Editor/csc.rsp.meta +7 -0
- package/Editor/libCesiumForUnityNative-Editor.so +0 -0
- package/Editor/libCesiumForUnityNative-Editor.so.meta +2 -0
- package/Editor/libCesiumForUnityNative-Runtime.so +0 -0
- package/Editor/libCesiumForUnityNative-Runtime.so.meta +2 -0
- package/Editor/x86_64.meta +8 -0
- package/Editor.meta +8 -0
- package/LICENSE +201 -0
- package/LICENSE.meta +7 -0
- package/Plugins/Standalone/libCesiumForUnityNative-Runtime.so +0 -0
- package/Plugins/Standalone/libCesiumForUnityNative-Runtime.so.meta +2 -0
- package/Plugins/Standalone.meta +8 -0
- package/Plugins.meta +8 -0
- package/README.md +39 -0
- package/README.md.meta +7 -0
- package/Reinterop.deps.json +172 -0
- package/Reinterop.deps.json.meta +7 -0
- package/Reinterop.dll +0 -0
- package/Reinterop.dll.meta +79 -0
- package/Runtime/Cesium3DTile.cs +37 -0
- package/Runtime/Cesium3DTile.cs.meta +11 -0
- package/Runtime/Cesium3DTileset.cs +788 -0
- package/Runtime/Cesium3DTileset.cs.meta +11 -0
- package/Runtime/Cesium3DTilesetLoadFailureDetails.cs +65 -0
- package/Runtime/Cesium3DTilesetLoadFailureDetails.cs.meta +11 -0
- package/Runtime/CesiumBackwardCompatibility.cs +163 -0
- package/Runtime/CesiumBackwardCompatibility.cs.meta +11 -0
- package/Runtime/CesiumBingMapsRasterOverlay.cs +72 -0
- package/Runtime/CesiumBingMapsRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumCameraController.cs +827 -0
- package/Runtime/CesiumCameraController.cs.meta +11 -0
- package/Runtime/CesiumCameraManager.cs +105 -0
- package/Runtime/CesiumCameraManager.cs.meta +11 -0
- package/Runtime/CesiumCartographicPolygon.cs +152 -0
- package/Runtime/CesiumCartographicPolygon.cs.meta +11 -0
- package/Runtime/CesiumCreditSystem.cs +343 -0
- package/Runtime/CesiumCreditSystem.cs.meta +11 -0
- package/Runtime/CesiumCreditSystemUI.cs +402 -0
- package/Runtime/CesiumCreditSystemUI.cs.meta +11 -0
- package/Runtime/CesiumDebugColorizeTilesRasterOverlay.cs +21 -0
- package/Runtime/CesiumDebugColorizeTilesRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumEllipsoid.cs +107 -0
- package/Runtime/CesiumEllipsoid.cs.meta +11 -0
- package/Runtime/CesiumFeature.cs +279 -0
- package/Runtime/CesiumFeature.cs.meta +11 -0
- package/Runtime/CesiumFeatureIdAttribute.cs +61 -0
- package/Runtime/CesiumFeatureIdAttribute.cs.meta +11 -0
- package/Runtime/CesiumFeatureIdSet.cs +165 -0
- package/Runtime/CesiumFeatureIdSet.cs.meta +11 -0
- package/Runtime/CesiumFeatureIdTexture.cs +68 -0
- package/Runtime/CesiumFeatureIdTexture.cs.meta +11 -0
- package/Runtime/CesiumFlyToController.cs +539 -0
- package/Runtime/CesiumFlyToController.cs.meta +11 -0
- package/Runtime/CesiumGeoreference.cs +628 -0
- package/Runtime/CesiumGeoreference.cs.meta +11 -0
- package/Runtime/CesiumGlobeAnchor.cs +664 -0
- package/Runtime/CesiumGlobeAnchor.cs.meta +11 -0
- package/Runtime/CesiumGlobeAnchorBackwardCompatibility0dot2dot0.cs +105 -0
- package/Runtime/CesiumGlobeAnchorBackwardCompatibility0dot2dot0.cs.meta +11 -0
- package/Runtime/CesiumIntMatN.cs +398 -0
- package/Runtime/CesiumIntMatN.cs.meta +11 -0
- package/Runtime/CesiumIntVecN.cs +525 -0
- package/Runtime/CesiumIntVecN.cs.meta +11 -0
- package/Runtime/CesiumIonRasterOverlay.cs +110 -0
- package/Runtime/CesiumIonRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumIonServer.cs +137 -0
- package/Runtime/CesiumIonServer.cs.meta +11 -0
- package/Runtime/CesiumMetadata.cs +33 -0
- package/Runtime/CesiumMetadata.cs.meta +11 -0
- package/Runtime/CesiumMetadataValue.cs +1764 -0
- package/Runtime/CesiumMetadataValue.cs.meta +11 -0
- package/Runtime/CesiumMetadataValueType.cs +203 -0
- package/Runtime/CesiumMetadataValueType.cs.meta +11 -0
- package/Runtime/CesiumModelMetadata.cs +26 -0
- package/Runtime/CesiumModelMetadata.cs.meta +11 -0
- package/Runtime/CesiumObjectPool.cs +74 -0
- package/Runtime/CesiumObjectPool.cs.meta +11 -0
- package/Runtime/CesiumObjectPools.cs +39 -0
- package/Runtime/CesiumObjectPools.cs.meta +11 -0
- package/Runtime/CesiumOriginShift.cs +146 -0
- package/Runtime/CesiumOriginShift.cs.meta +11 -0
- package/Runtime/CesiumPointCloudRenderer.cs +246 -0
- package/Runtime/CesiumPointCloudRenderer.cs.meta +11 -0
- package/Runtime/CesiumPointCloudShading.cs +76 -0
- package/Runtime/CesiumPointCloudShading.cs.meta +11 -0
- package/Runtime/CesiumPolygonRasterOverlay.cs +109 -0
- package/Runtime/CesiumPolygonRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumPrimitiveFeatures.cs +130 -0
- package/Runtime/CesiumPrimitiveFeatures.cs.meta +11 -0
- package/Runtime/CesiumPropertyArray.cs +64 -0
- package/Runtime/CesiumPropertyArray.cs.meta +11 -0
- package/Runtime/CesiumPropertyTable.cs +126 -0
- package/Runtime/CesiumPropertyTable.cs.meta +11 -0
- package/Runtime/CesiumPropertyTableProperty.cs +1734 -0
- package/Runtime/CesiumPropertyTableProperty.cs.meta +11 -0
- package/Runtime/CesiumRasterOverlay.cs +239 -0
- package/Runtime/CesiumRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumRasterOverlayLoadFailureDetails.cs +65 -0
- package/Runtime/CesiumRasterOverlayLoadFailureDetails.cs.meta +11 -0
- package/Runtime/CesiumRuntime.asmdef +32 -0
- package/Runtime/CesiumRuntime.asmdef.meta +7 -0
- package/Runtime/CesiumRuntime.cs +3 -0
- package/Runtime/CesiumRuntime.cs.meta +11 -0
- package/Runtime/CesiumRuntimeSettings.cs +188 -0
- package/Runtime/CesiumRuntimeSettings.cs.meta +11 -0
- package/Runtime/CesiumSampleHeightResult.cs +47 -0
- package/Runtime/CesiumSampleHeightResult.cs.meta +11 -0
- package/Runtime/CesiumSimplePlanarEllipsoidCurve.cs +93 -0
- package/Runtime/CesiumSimplePlanarEllipsoidCurve.cs.meta +11 -0
- package/Runtime/CesiumSubScene.cs +473 -0
- package/Runtime/CesiumSubScene.cs.meta +11 -0
- package/Runtime/CesiumTileExcluder.cs +47 -0
- package/Runtime/CesiumTileExcluder.cs.meta +11 -0
- package/Runtime/CesiumTileMapServiceRasterOverlay.cs +93 -0
- package/Runtime/CesiumTileMapServiceRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumWebMapServiceRasterOverlay.cs +129 -0
- package/Runtime/CesiumWebMapServiceRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumWebMapTileServiceRasterOverlay.cs +414 -0
- package/Runtime/CesiumWebMapTileServiceRasterOverlay.cs.meta +3 -0
- package/Runtime/CesiumWgs84Ellipsoid.cs +75 -0
- package/Runtime/CesiumWgs84Ellipsoid.cs.meta +11 -0
- package/Runtime/ConfigureReinterop.cs +926 -0
- package/Runtime/ConfigureReinterop.cs.meta +11 -0
- package/Runtime/Helpers.cs +122 -0
- package/Runtime/Helpers.cs.meta +11 -0
- package/Runtime/ICesiumRestartable.cs +17 -0
- package/Runtime/ICesiumRestartable.cs.meta +11 -0
- package/Runtime/NativeCoroutine.cs +28 -0
- package/Runtime/NativeCoroutine.cs.meta +11 -0
- package/Runtime/NativeDownloadHandler.cs +29 -0
- package/Runtime/NativeDownloadHandler.cs.meta +11 -0
- package/Runtime/Resources/CesiumCreditSystem.prefab +78 -0
- package/Runtime/Resources/CesiumCreditSystem.prefab.meta +7 -0
- package/Runtime/Resources/CesiumCreditSystemRuntimeTheme.tss +2 -0
- package/Runtime/Resources/CesiumCreditSystemRuntimeTheme.tss.meta +11 -0
- package/Runtime/Resources/CesiumCreditSystemUI.uxml +4 -0
- package/Runtime/Resources/CesiumCreditSystemUI.uxml.meta +10 -0
- package/Runtime/Resources/CesiumCreditSystemUIPanelSettings.asset +38 -0
- package/Runtime/Resources/CesiumCreditSystemUIPanelSettings.asset.meta +8 -0
- package/Runtime/Resources/CesiumDefaultTilesetMaterial.mat +232 -0
- package/Runtime/Resources/CesiumDefaultTilesetMaterial.mat.meta +8 -0
- package/Runtime/Resources/CesiumDefaultTilesetShader.shadergraph +14271 -0
- package/Runtime/Resources/CesiumDefaultTilesetShader.shadergraph.meta +10 -0
- package/Runtime/Resources/CesiumPointCloudShading.hlsl +156 -0
- package/Runtime/Resources/CesiumPointCloudShading.hlsl.meta +7 -0
- package/Runtime/Resources/CesiumPointCloudShadingMaterial.mat +125 -0
- package/Runtime/Resources/CesiumPointCloudShadingMaterial.mat.meta +8 -0
- package/Runtime/Resources/CesiumPointCloudShadingShader.shader +73 -0
- package/Runtime/Resources/CesiumPointCloudShadingShader.shader.meta +10 -0
- package/Runtime/Resources/CesiumRasterOverlay.shadersubgraph +2207 -0
- package/Runtime/Resources/CesiumRasterOverlay.shadersubgraph.meta +10 -0
- package/Runtime/Resources/CesiumSelectTexCoords.shadersubgraph +722 -0
- package/Runtime/Resources/CesiumSelectTexCoords.shadersubgraph.meta +10 -0
- package/Runtime/Resources/CesiumUnlitTilesetMaterial.mat +261 -0
- package/Runtime/Resources/CesiumUnlitTilesetMaterial.mat.meta +8 -0
- package/Runtime/Resources/CesiumUnlitTilesetShader.shadergraph +5873 -0
- package/Runtime/Resources/CesiumUnlitTilesetShader.shadergraph.meta +10 -0
- package/Runtime/Resources/DynamicCamera.prefab +253 -0
- package/Runtime/Resources/DynamicCamera.prefab.meta +7 -0
- package/Runtime/Resources/TransformTextureCoordinates.shadersubgraph +2171 -0
- package/Runtime/Resources/TransformTextureCoordinates.shadersubgraph.meta +10 -0
- package/Runtime/Resources/green1x1.png +0 -0
- package/Runtime/Resources/green1x1.png.meta +123 -0
- package/Runtime/Resources.meta +8 -0
- package/Runtime/TestGltfModel.cs +56 -0
- package/Runtime/TestGltfModel.cs.meta +11 -0
- package/Runtime/TestReinterop.cs +21 -0
- package/Runtime/TestReinterop.cs.meta +11 -0
- package/Runtime/UnityLifetime.cs +27 -0
- package/Runtime/UnityLifetime.cs.meta +11 -0
- package/Runtime/WaitForTask.cs +25 -0
- package/Runtime/WaitForTask.cs.meta +11 -0
- package/Runtime/csc.rsp +1 -0
- package/Runtime/csc.rsp.meta +7 -0
- package/Runtime.meta +8 -0
- package/ThirdParty.json +27 -0
- package/ThirdParty.json.meta +7 -0
- package/WGS84.asset +18 -0
- package/WGS84.asset.meta +8 -0
- package/package.json +29 -0
- package/package.json.meta +7 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
using Reinterop;
|
|
2
|
+
using UnityEngine;
|
|
3
|
+
|
|
4
|
+
namespace CesiumForUnity
|
|
5
|
+
{
|
|
6
|
+
/// <summary>
|
|
7
|
+
/// A raster overlay that directly accesses a Tile Map Service (TMS) server. If you're using TMS
|
|
8
|
+
/// via Cesium ion, use the <see cref="CesiumIonRasterOverlay"/> component instead.
|
|
9
|
+
/// </summary>
|
|
10
|
+
[ReinteropNativeImplementation(
|
|
11
|
+
"CesiumForUnityNative::CesiumTileMapServiceRasterOverlayImpl",
|
|
12
|
+
"CesiumTileMapServiceRasterOverlayImpl.h")]
|
|
13
|
+
[AddComponentMenu("Cesium/Cesium Tile Map Service Raster Overlay")]
|
|
14
|
+
[IconAttribute("Packages/com.cesium.unity/Editor/Resources/Cesium-24x24.png")]
|
|
15
|
+
public partial class CesiumTileMapServiceRasterOverlay : CesiumRasterOverlay
|
|
16
|
+
{
|
|
17
|
+
[SerializeField]
|
|
18
|
+
private string _url = "";
|
|
19
|
+
|
|
20
|
+
/// <summary>
|
|
21
|
+
/// The base URL of the Tile Map Service (TMS).
|
|
22
|
+
/// </summary>
|
|
23
|
+
/// <remarks>
|
|
24
|
+
/// This will often, but not always, end in <code>tilemapresource.xml</code>.
|
|
25
|
+
/// </remarks>
|
|
26
|
+
public string url
|
|
27
|
+
{
|
|
28
|
+
get => this._url;
|
|
29
|
+
set
|
|
30
|
+
{
|
|
31
|
+
this._url = value;
|
|
32
|
+
this.Refresh();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[SerializeField]
|
|
37
|
+
private bool _specifyZoomLevels = false;
|
|
38
|
+
|
|
39
|
+
/// <summary>
|
|
40
|
+
/// True to directly specify minum and maximum zoom levels available from the
|
|
41
|
+
/// server, or false to automatically determine the minimum and maximum zoom
|
|
42
|
+
/// levels from the server's <code>tilemapresource.xml</code> file.
|
|
43
|
+
/// </summary>
|
|
44
|
+
public bool specifyZoomLevels
|
|
45
|
+
{
|
|
46
|
+
get => this._specifyZoomLevels;
|
|
47
|
+
set
|
|
48
|
+
{
|
|
49
|
+
this._specifyZoomLevels = value;
|
|
50
|
+
this.Refresh();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[SerializeField]
|
|
55
|
+
[Min(0)]
|
|
56
|
+
private int _minimumLevel = 0;
|
|
57
|
+
|
|
58
|
+
/// <summary>
|
|
59
|
+
/// The minimum zoom level.
|
|
60
|
+
/// </summary>
|
|
61
|
+
public int minimumLevel
|
|
62
|
+
{
|
|
63
|
+
get => this._minimumLevel;
|
|
64
|
+
set
|
|
65
|
+
{
|
|
66
|
+
this._minimumLevel = value;
|
|
67
|
+
this.Refresh();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[SerializeField]
|
|
72
|
+
[Min(0)]
|
|
73
|
+
private int _maximumLevel = 10;
|
|
74
|
+
|
|
75
|
+
/// <summary>
|
|
76
|
+
/// The maximum zoom level.
|
|
77
|
+
/// </summary>
|
|
78
|
+
public int maximumLevel
|
|
79
|
+
{
|
|
80
|
+
get => this._maximumLevel;
|
|
81
|
+
set
|
|
82
|
+
{
|
|
83
|
+
this._maximumLevel = value;
|
|
84
|
+
this.Refresh();
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/// <inheritdoc/>
|
|
89
|
+
protected override partial void AddToTileset(Cesium3DTileset tileset);
|
|
90
|
+
/// <inheritdoc/>
|
|
91
|
+
protected override partial void RemoveFromTileset(Cesium3DTileset tileset);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
using Reinterop;
|
|
2
|
+
using UnityEngine;
|
|
3
|
+
|
|
4
|
+
namespace CesiumForUnity
|
|
5
|
+
{
|
|
6
|
+
/// <summary>
|
|
7
|
+
/// A raster overlay that directly accesses a Web Map Service (WMS) server.
|
|
8
|
+
/// https://www.ogc.org/standards/wms
|
|
9
|
+
/// </summary>
|
|
10
|
+
[ReinteropNativeImplementation(
|
|
11
|
+
"CesiumForUnityNative::CesiumWebMapServiceRasterOverlayImpl",
|
|
12
|
+
"CesiumWebMapServiceRasterOverlayImpl.h")]
|
|
13
|
+
[AddComponentMenu("Cesium/Cesium Web Map Service Raster Overlay")]
|
|
14
|
+
[IconAttribute("Packages/com.cesium.unity/Editor/Resources/Cesium-24x24.png")]
|
|
15
|
+
public partial class CesiumWebMapServiceRasterOverlay : CesiumRasterOverlay
|
|
16
|
+
{
|
|
17
|
+
[SerializeField]
|
|
18
|
+
private string _baseUrl = "";
|
|
19
|
+
|
|
20
|
+
/// <summary>
|
|
21
|
+
/// The base URL of the Web Map Service (WMS).
|
|
22
|
+
/// </summary>
|
|
23
|
+
/// <remarks>
|
|
24
|
+
/// This URL should not include query parameters. For example:
|
|
25
|
+
/// https://services.ga.gov.au/gis/services/NM_Culture_and_Infrastructure/MapServer/WMSServer
|
|
26
|
+
/// </remarks>
|
|
27
|
+
public string baseUrl
|
|
28
|
+
{
|
|
29
|
+
get => this._baseUrl;
|
|
30
|
+
set
|
|
31
|
+
{
|
|
32
|
+
this._baseUrl = value;
|
|
33
|
+
this.Refresh();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[SerializeField]
|
|
38
|
+
private string _layers = "";
|
|
39
|
+
|
|
40
|
+
/// <summary>
|
|
41
|
+
/// Comma-separated layer names to request from the server.
|
|
42
|
+
/// </summary>
|
|
43
|
+
public string layers
|
|
44
|
+
{
|
|
45
|
+
get => this._layers;
|
|
46
|
+
set
|
|
47
|
+
{
|
|
48
|
+
this._layers = value;
|
|
49
|
+
this.Refresh();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[SerializeField]
|
|
54
|
+
private int _tileWidth = 256;
|
|
55
|
+
|
|
56
|
+
/// <summary>
|
|
57
|
+
/// Image width
|
|
58
|
+
/// </summary>
|
|
59
|
+
public int tileWidth
|
|
60
|
+
{
|
|
61
|
+
get => this._tileWidth;
|
|
62
|
+
set
|
|
63
|
+
{
|
|
64
|
+
this._tileWidth = value;
|
|
65
|
+
this.Refresh();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[SerializeField]
|
|
70
|
+
private int _tileHeight = 256;
|
|
71
|
+
|
|
72
|
+
/// <summary>
|
|
73
|
+
/// Image height
|
|
74
|
+
/// </summary>
|
|
75
|
+
public int tileHeight
|
|
76
|
+
{
|
|
77
|
+
get => this._tileHeight;
|
|
78
|
+
set
|
|
79
|
+
{
|
|
80
|
+
this._tileHeight = value;
|
|
81
|
+
this.Refresh();
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[SerializeField]
|
|
86
|
+
[Min(0)]
|
|
87
|
+
private int _minimumLevel = 0;
|
|
88
|
+
|
|
89
|
+
/// <summary>
|
|
90
|
+
/// The minimum zoom level.
|
|
91
|
+
/// </summary>
|
|
92
|
+
/// <remarks>
|
|
93
|
+
/// Take care when specifying this that the number of tiles at the minimum
|
|
94
|
+
/// level is small, such as four or less. A larger number is likely to
|
|
95
|
+
/// result in rendering problems.
|
|
96
|
+
/// </remarks>
|
|
97
|
+
public int minimumLevel
|
|
98
|
+
{
|
|
99
|
+
get => this._minimumLevel;
|
|
100
|
+
set
|
|
101
|
+
{
|
|
102
|
+
this._minimumLevel = value;
|
|
103
|
+
this.Refresh();
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
[SerializeField]
|
|
108
|
+
[Min(0)]
|
|
109
|
+
private int _maximumLevel = 14;
|
|
110
|
+
|
|
111
|
+
/// <summary>
|
|
112
|
+
/// The maximum zoom level.
|
|
113
|
+
/// </summary>
|
|
114
|
+
public int maximumLevel
|
|
115
|
+
{
|
|
116
|
+
get => this._maximumLevel;
|
|
117
|
+
set
|
|
118
|
+
{
|
|
119
|
+
this._maximumLevel = value;
|
|
120
|
+
this.Refresh();
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/// <inheritdoc/>
|
|
125
|
+
protected override partial void AddToTileset(Cesium3DTileset tileset);
|
|
126
|
+
/// <inheritdoc/>
|
|
127
|
+
protected override partial void RemoveFromTileset(Cesium3DTileset tileset);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
using Reinterop;
|
|
2
|
+
using System.Collections.Generic;
|
|
3
|
+
using System;
|
|
4
|
+
using UnityEngine;
|
|
5
|
+
|
|
6
|
+
namespace CesiumForUnity
|
|
7
|
+
{
|
|
8
|
+
/// <summary>
|
|
9
|
+
/// Specifies the type of projection used for projecting a Web Map Tile Service raster overlay.
|
|
10
|
+
/// </summary>
|
|
11
|
+
public enum CesiumWebMapTileServiceRasterOverlayProjection
|
|
12
|
+
{
|
|
13
|
+
/// <summary>
|
|
14
|
+
/// The raster overlay is projected using Web Mercator.
|
|
15
|
+
/// </summary>
|
|
16
|
+
WebMercator,
|
|
17
|
+
|
|
18
|
+
/// <summary>
|
|
19
|
+
/// The raster overlay is projected using a geographic projection.
|
|
20
|
+
/// </summary>
|
|
21
|
+
Geographic
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/// <summary>
|
|
25
|
+
/// A raster overlay that directly accesses a Web Map Tile Service (WMTS) server.
|
|
26
|
+
/// https://www.ogc.org/standards/wmts
|
|
27
|
+
/// </summary>
|
|
28
|
+
[ReinteropNativeImplementation(
|
|
29
|
+
"CesiumForUnityNative::CesiumWebMapTileServiceRasterOverlayImpl",
|
|
30
|
+
"CesiumWebMapTileServiceRasterOverlayImpl.h")]
|
|
31
|
+
[AddComponentMenu("Cesium/Cesium Web Map Tile Service Raster Overlay")]
|
|
32
|
+
[IconAttribute("Packages/com.cesium.unity/Editor/Resources/Cesium-24x24.png")]
|
|
33
|
+
public partial class CesiumWebMapTileServiceRasterOverlay : CesiumRasterOverlay
|
|
34
|
+
{
|
|
35
|
+
#region Fields
|
|
36
|
+
|
|
37
|
+
[SerializeField]
|
|
38
|
+
private string _baseUrl = "";
|
|
39
|
+
|
|
40
|
+
/// <summary>
|
|
41
|
+
/// The base URL of the Web Map Tile Service (WMTS).
|
|
42
|
+
/// </summary>
|
|
43
|
+
/// <remarks>
|
|
44
|
+
/// This URL should not include query parameters. For example:
|
|
45
|
+
/// https://tile.openstreetmap.org/{TileMatrix}/{TileCol}/{TileRow}.png
|
|
46
|
+
/// </remarks>
|
|
47
|
+
public string baseUrl
|
|
48
|
+
{
|
|
49
|
+
get => this._baseUrl;
|
|
50
|
+
set
|
|
51
|
+
{
|
|
52
|
+
this._baseUrl = value;
|
|
53
|
+
this.Refresh();
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[SerializeField]
|
|
58
|
+
private string _layer = "";
|
|
59
|
+
|
|
60
|
+
/// <summary>
|
|
61
|
+
/// The layer name to use for WMTS requests.
|
|
62
|
+
/// </summary>
|
|
63
|
+
public string layer
|
|
64
|
+
{
|
|
65
|
+
get => this._layer;
|
|
66
|
+
set
|
|
67
|
+
{
|
|
68
|
+
this._layer = value;
|
|
69
|
+
this.Refresh();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[SerializeField]
|
|
74
|
+
private string _style = "";
|
|
75
|
+
|
|
76
|
+
/// <summary>
|
|
77
|
+
/// The style name to use for WMTS requests.
|
|
78
|
+
/// </summary>
|
|
79
|
+
public string style
|
|
80
|
+
{
|
|
81
|
+
get => this._style;
|
|
82
|
+
set
|
|
83
|
+
{
|
|
84
|
+
this._style = value;
|
|
85
|
+
this.Refresh();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
[SerializeField]
|
|
90
|
+
private string _format = "image/jpeg";
|
|
91
|
+
|
|
92
|
+
/// <summary>
|
|
93
|
+
/// The MIME type for images to retrieve from the server. The default value is "image/jpeg".
|
|
94
|
+
/// </summary>
|
|
95
|
+
public string format
|
|
96
|
+
{
|
|
97
|
+
get => this._format;
|
|
98
|
+
set
|
|
99
|
+
{
|
|
100
|
+
this._format = value;
|
|
101
|
+
this.Refresh();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
[SerializeField]
|
|
106
|
+
private string _tileMatrixSetID = "";
|
|
107
|
+
|
|
108
|
+
/// <summary>
|
|
109
|
+
/// The identifier of the TileMatrixSet to use for WMTS requests.
|
|
110
|
+
/// </summary>
|
|
111
|
+
public string tileMatrixSetID
|
|
112
|
+
{
|
|
113
|
+
get => this._tileMatrixSetID;
|
|
114
|
+
set
|
|
115
|
+
{
|
|
116
|
+
this._tileMatrixSetID = value;
|
|
117
|
+
this.Refresh();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
[SerializeField]
|
|
122
|
+
private string _tileMatrixSetLabelPrefix;
|
|
123
|
+
|
|
124
|
+
/// <summary>
|
|
125
|
+
/// The prefix to use for the tile matrix set labels. For instance, setting
|
|
126
|
+
/// "EPSG:4326:" as the prefix generates the list ["EPSG:4326:0", "EPSG:4326:1",
|
|
127
|
+
/// "EPSG:4326:2", ...].
|
|
128
|
+
/// Only applicable when <see cref="specifyTileMatrixSetLabels"/> is false.
|
|
129
|
+
/// </summary>
|
|
130
|
+
public string tileMatrixSetLabelPrefix
|
|
131
|
+
{
|
|
132
|
+
get => this._tileMatrixSetLabelPrefix;
|
|
133
|
+
set
|
|
134
|
+
{
|
|
135
|
+
this._tileMatrixSetLabelPrefix = value;
|
|
136
|
+
this.Refresh();
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
[SerializeField]
|
|
142
|
+
private bool _specifyTileMatrixSetLabels = false;
|
|
143
|
+
|
|
144
|
+
/// <summary>
|
|
145
|
+
/// Set this to true to manually specify the tile matrix set labels. If false,
|
|
146
|
+
/// the labels will be constructed from the specified levels and prefix (if one is specified).
|
|
147
|
+
/// </summary>
|
|
148
|
+
public bool specifyTileMatrixSetLabels
|
|
149
|
+
{
|
|
150
|
+
get => this._specifyTileMatrixSetLabels;
|
|
151
|
+
set
|
|
152
|
+
{
|
|
153
|
+
this._specifyTileMatrixSetLabels = value;
|
|
154
|
+
this.Refresh();
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
[SerializeField]
|
|
159
|
+
private List<string> _tileMatrixSetLabels;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* The manually specified tile matrix set labels. Only applicable when
|
|
163
|
+
* <see cref="specifyTileMatrixSetLabels"/> is true.
|
|
164
|
+
*/
|
|
165
|
+
public List<string> tileMatrixSetLabels
|
|
166
|
+
{
|
|
167
|
+
get => this._tileMatrixSetLabels;
|
|
168
|
+
set
|
|
169
|
+
{
|
|
170
|
+
this._tileMatrixSetLabels = value;
|
|
171
|
+
this.Refresh();
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
[SerializeField]
|
|
176
|
+
private CesiumWebMapTileServiceRasterOverlayProjection _projection = CesiumWebMapTileServiceRasterOverlayProjection.WebMercator;
|
|
177
|
+
|
|
178
|
+
/// <summary>
|
|
179
|
+
/// The type of projection used to project the WMTS imagery onto the globe.
|
|
180
|
+
/// For instance, EPSG:4326 uses geographic projection and EPSG:3857 uses Web Mercator.
|
|
181
|
+
/// </summary>
|
|
182
|
+
public CesiumWebMapTileServiceRasterOverlayProjection projection
|
|
183
|
+
{
|
|
184
|
+
get => this._projection;
|
|
185
|
+
set
|
|
186
|
+
{
|
|
187
|
+
this._projection = value;
|
|
188
|
+
this.Refresh();
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
[SerializeField]
|
|
193
|
+
bool _specifyTilingScheme = false;
|
|
194
|
+
|
|
195
|
+
/// <summary>
|
|
196
|
+
/// Set this to true to specify the quadtree tiling scheme according to the
|
|
197
|
+
/// specified projection, root tile numbers, and bounding rectangle.
|
|
198
|
+
/// If false, the tiling scheme will be deduced from the projection.
|
|
199
|
+
/// </summary>
|
|
200
|
+
public bool specifyTilingScheme
|
|
201
|
+
{
|
|
202
|
+
get => this._specifyTilingScheme;
|
|
203
|
+
set
|
|
204
|
+
{
|
|
205
|
+
this._specifyTilingScheme = value;
|
|
206
|
+
this.Refresh();
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
[SerializeField]
|
|
211
|
+
[Min(1)]
|
|
212
|
+
private int _rootTilesX = 1;
|
|
213
|
+
|
|
214
|
+
/// <summary>
|
|
215
|
+
/// The number of tiles corresponding to TileCol, also known as TileMatrixWidth. If specified,
|
|
216
|
+
/// this determines the number of tiles at the root of the quadtree tiling scheme in the X
|
|
217
|
+
/// direction.
|
|
218
|
+
/// Only applicable if <see cref="specifyTilingScheme"/> is set to true.
|
|
219
|
+
/// </summary>
|
|
220
|
+
public int rootTilesX
|
|
221
|
+
{
|
|
222
|
+
get => this._rootTilesX;
|
|
223
|
+
set
|
|
224
|
+
{
|
|
225
|
+
this._rootTilesX = value;
|
|
226
|
+
this.Refresh();
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
[SerializeField]
|
|
231
|
+
[Min(1)]
|
|
232
|
+
private int _rootTilesY = 1;
|
|
233
|
+
|
|
234
|
+
/// <summary>
|
|
235
|
+
/// The number of tiles corresponding to TileRow, also known as TileMatrixHeight. If specified,
|
|
236
|
+
/// this determines the number of tiles at the root of the quadtree tiling scheme in the Y
|
|
237
|
+
/// direction.
|
|
238
|
+
/// Only applicable if <see cref="specifyTilingScheme"/> is set to true.
|
|
239
|
+
/// </summary>
|
|
240
|
+
public int rootTilesY
|
|
241
|
+
{
|
|
242
|
+
get => this._rootTilesY;
|
|
243
|
+
set
|
|
244
|
+
{
|
|
245
|
+
this._rootTilesY = value;
|
|
246
|
+
this.Refresh();
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
[SerializeField]
|
|
251
|
+
private double _rectangleWest = -180;
|
|
252
|
+
|
|
253
|
+
/// <summary>
|
|
254
|
+
/// The west boundary of the bounding rectangle used for the quadtree tiling scheme.
|
|
255
|
+
/// Specified in longitude degrees in the range [-180, 180].
|
|
256
|
+
/// Only applicable if <see cref="specifyTilingScheme"/> is set to true.
|
|
257
|
+
/// </summary>
|
|
258
|
+
public double rectangleWest
|
|
259
|
+
{
|
|
260
|
+
get => this._rectangleWest;
|
|
261
|
+
set
|
|
262
|
+
{
|
|
263
|
+
this._rectangleWest = Math.Clamp(value, -180, 180);
|
|
264
|
+
this.Refresh();
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
[SerializeField]
|
|
269
|
+
private double _rectangleSouth = -90;
|
|
270
|
+
|
|
271
|
+
/// <summary>
|
|
272
|
+
/// The south boundary of the bounding rectangle used for the quadtree tiling scheme.
|
|
273
|
+
/// Specified in latitude degrees in the range [-90, 90].
|
|
274
|
+
/// Only applicable if <see cref="specifyTilingScheme"/> is set to true.
|
|
275
|
+
/// </summary>
|
|
276
|
+
public double rectangleSouth
|
|
277
|
+
{
|
|
278
|
+
get => this._rectangleSouth;
|
|
279
|
+
set
|
|
280
|
+
{
|
|
281
|
+
this._rectangleSouth = Math.Clamp(value, -90, 90);
|
|
282
|
+
this.Refresh();
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
[SerializeField]
|
|
287
|
+
private double _rectangleEast = 180;
|
|
288
|
+
|
|
289
|
+
/// <summary>
|
|
290
|
+
/// The east boundary of the bounding rectangle used for the quadtree tiling scheme.
|
|
291
|
+
/// Specified in longitude degrees in the range [-180, 180].
|
|
292
|
+
/// Only applicable if <see cref="specifyTilingScheme"/> is set to true.
|
|
293
|
+
/// </summary>
|
|
294
|
+
public double rectangleEast
|
|
295
|
+
{
|
|
296
|
+
get => this._rectangleEast;
|
|
297
|
+
set
|
|
298
|
+
{
|
|
299
|
+
this._rectangleEast = Math.Clamp(value, -180, 180);
|
|
300
|
+
this.Refresh();
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
[SerializeField]
|
|
305
|
+
private double _rectangleNorth = 90;
|
|
306
|
+
|
|
307
|
+
/// <summary>
|
|
308
|
+
/// The north boundary of the bounding rectangle used for the quadtree tiling scheme.
|
|
309
|
+
/// Specified in latitude degrees in the range [-90, 90].
|
|
310
|
+
/// Only applicable if <see cref="specifyTilingScheme"/> is set to true.
|
|
311
|
+
/// </summary>
|
|
312
|
+
public double rectangleNorth
|
|
313
|
+
{
|
|
314
|
+
get => this._rectangleNorth;
|
|
315
|
+
set
|
|
316
|
+
{
|
|
317
|
+
this._rectangleNorth = Math.Clamp(value, -90, 90);
|
|
318
|
+
this.Refresh();
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
[SerializeField]
|
|
323
|
+
private bool _specifyZoomLevels = false;
|
|
324
|
+
|
|
325
|
+
/// <summary>
|
|
326
|
+
/// Set this to true to directly specify the minimum and maximum zoom levels available
|
|
327
|
+
/// from the server. If false, the minimum and maximum zoom levels will be retrieved
|
|
328
|
+
/// from the server's tilemapresource.xml file.
|
|
329
|
+
/// </summary>
|
|
330
|
+
public bool specifyZoomLevels
|
|
331
|
+
{
|
|
332
|
+
get => this._specifyZoomLevels;
|
|
333
|
+
set
|
|
334
|
+
{
|
|
335
|
+
this._specifyZoomLevels = value;
|
|
336
|
+
this.Refresh();
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
[SerializeField]
|
|
341
|
+
private int _minimumLevel = 0;
|
|
342
|
+
|
|
343
|
+
/// <summary>
|
|
344
|
+
/// The minimum level-of-detail supported by the imagery provider.
|
|
345
|
+
/// Only applicable if <see cref="specifyZoomLevels"/> is set to true.
|
|
346
|
+
/// </summary>
|
|
347
|
+
public int minimumLevel
|
|
348
|
+
{
|
|
349
|
+
get => this._minimumLevel;
|
|
350
|
+
set
|
|
351
|
+
{
|
|
352
|
+
this._minimumLevel = value;
|
|
353
|
+
this.Refresh();
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
[SerializeField]
|
|
358
|
+
private int _maximumLevel = 25;
|
|
359
|
+
|
|
360
|
+
/// <summary>
|
|
361
|
+
/// The maximum level-of-detail supported by the imagery provider.
|
|
362
|
+
/// Only applicable if <see cref="specifyZoomLevels"/> is set to true.
|
|
363
|
+
/// </summary>
|
|
364
|
+
public int maximumLevel
|
|
365
|
+
{
|
|
366
|
+
get => this._maximumLevel;
|
|
367
|
+
set
|
|
368
|
+
{
|
|
369
|
+
this._maximumLevel = value;
|
|
370
|
+
this.Refresh();
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
[SerializeField]
|
|
375
|
+
private int _tileWidth = 256;
|
|
376
|
+
|
|
377
|
+
/// <summary>
|
|
378
|
+
/// The pixel width of the image tiles.
|
|
379
|
+
/// </summary>
|
|
380
|
+
public int tileWidth
|
|
381
|
+
{
|
|
382
|
+
get => this._tileWidth;
|
|
383
|
+
set
|
|
384
|
+
{
|
|
385
|
+
this._tileWidth = value;
|
|
386
|
+
this.Refresh();
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
[SerializeField]
|
|
391
|
+
private int _tileHeight = 256;
|
|
392
|
+
|
|
393
|
+
/// <summary>
|
|
394
|
+
/// The pixel height of the image tiles.
|
|
395
|
+
/// </summary>
|
|
396
|
+
public int tileHeight
|
|
397
|
+
{
|
|
398
|
+
get => this._tileHeight;
|
|
399
|
+
set
|
|
400
|
+
{
|
|
401
|
+
this._tileHeight = value;
|
|
402
|
+
this.Refresh();
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
#endregion
|
|
407
|
+
|
|
408
|
+
/// <inheritdoc/>
|
|
409
|
+
protected override partial void AddToTileset(Cesium3DTileset tileset);
|
|
410
|
+
|
|
411
|
+
/// <inheritdoc/>
|
|
412
|
+
protected override partial void RemoveFromTileset(Cesium3DTileset tileset);
|
|
413
|
+
}
|
|
414
|
+
}
|