2using System.Collections.Generic;
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")]
38 private string _baseUrl =
"";
52 this._baseUrl = value;
58 private string _layer =
"";
74 private string _style =
"";
90 private string _format =
"image/jpeg";
100 this._format = value;
106 private string _tileMatrixSetID =
"";
113 get => this._tileMatrixSetID;
116 this._tileMatrixSetID = value;
122 private string _tileMatrixSetLabelPrefix;
132 get => this._tileMatrixSetLabelPrefix;
135 this._tileMatrixSetLabelPrefix = value;
142 private bool _specifyTileMatrixSetLabels =
false;
150 get => this._specifyTileMatrixSetLabels;
153 this._specifyTileMatrixSetLabels = value;
159 private List<string> _tileMatrixSetLabels;
167 get => this._tileMatrixSetLabels;
170 this._tileMatrixSetLabels = value;
184 get => this._projection;
187 this._projection = value;
193 bool _specifyTilingScheme =
false;
202 get => this._specifyTilingScheme;
205 this._specifyTilingScheme = value;
212 private int _rootTilesX = 1;
222 get => this._rootTilesX;
225 this._rootTilesX = value;
232 private int _rootTilesY = 1;
242 get => this._rootTilesY;
245 this._rootTilesY = value;
251 private double _rectangleWest = -180;
260 get => this._rectangleWest;
263 this._rectangleWest = Math.Clamp(value, -180, 180);
269 private double _rectangleSouth = -90;
278 get => this._rectangleSouth;
281 this._rectangleSouth = Math.Clamp(value, -90, 90);
287 private double _rectangleEast = 180;
296 get => this._rectangleEast;
299 this._rectangleEast = Math.Clamp(value, -180, 180);
305 private double _rectangleNorth = 90;
314 get => this._rectangleNorth;
317 this._rectangleNorth = Math.Clamp(value, -90, 90);
323 private bool _specifyZoomLevels =
false;
332 get => this._specifyZoomLevels;
335 this._specifyZoomLevels = value;
341 private int _minimumLevel = 0;
349 get => this._minimumLevel;
352 this._minimumLevel = value;
358 private int _maximumLevel = 25;
366 get => this._maximumLevel;
369 this._maximumLevel = value;
375 private int _tileWidth = 256;
382 get => this._tileWidth;
385 this._tileWidth = value;
391 private int _tileHeight = 256;
398 get => this._tileHeight;
401 this._tileHeight = value;
A tileset in the 3D Tiles format.
A pyramid of 2D images - sometimes terabytes or more in size - that can be draped over a Cesium3DTile...
void Refresh()
Refreshes this overlay by calling RemoveFromTileset followed by AddToTileset.
A raster overlay that directly accesses a Web Map Tile Service (WMTS) server.
double rectangleSouth
The south boundary of the bounding rectangle used for the quadtree tiling scheme.
CesiumWebMapTileServiceRasterOverlayProjection projection
The type of projection used to project the WMTS imagery onto the globe.
int minimumLevel
The minimum level-of-detail supported by the imagery provider.
int tileHeight
The pixel height of the image tiles.
string baseUrl
The base URL of the Web Map Tile Service (WMTS).
double rectangleWest
The west boundary of the bounding rectangle used for the quadtree tiling scheme.
double rectangleNorth
The north boundary of the bounding rectangle used for the quadtree tiling scheme.
string format
The MIME type for images to retrieve from the server.
string layer
The layer name to use for WMTS requests.
int rootTilesX
The number of tiles corresponding to TileCol, also known as TileMatrixWidth.
string tileMatrixSetLabelPrefix
The prefix to use for the tile matrix set labels.
override partial void RemoveFromTileset(Cesium3DTileset tileset)
bool specifyTilingScheme
Set this to true to specify the quadtree tiling scheme according to the specified projection,...
int tileWidth
The pixel width of the image tiles.
double rectangleEast
The east boundary of the bounding rectangle used for the quadtree tiling scheme.
bool specifyZoomLevels
Set this to true to directly specify the minimum and maximum zoom levels available from the server.
List< string > tileMatrixSetLabels
The manually specified tile matrix set labels.
int rootTilesY
The number of tiles corresponding to TileRow, also known as TileMatrixHeight.
int maximumLevel
The maximum level-of-detail supported by the imagery provider.
string style
The style name to use for WMTS requests.
bool specifyTileMatrixSetLabels
Set this to true to manually specify the tile matrix set labels.
string tileMatrixSetID
The identifier of the TileMatrixSet to use for WMTS requests.
override partial void AddToTileset(Cesium3DTileset tileset)
CesiumWebMapTileServiceRasterOverlayProjection
Specifies the type of projection used for projecting a Web Map Tile Service raster overlay.
@ WebMercator
The raster overlay is projected using Web Mercator.
@ Geographic
The raster overlay is projected using a geographic projection.