3using System.Collections.Generic;
26 [ReinteropNativeImplementation(
27 "CesiumForUnityNative::CesiumUrlTemplateRasterOverlayImpl",
"CesiumUrlTemplateRasterOverlayImpl.h")]
28 [AddComponentMenu(
"Cesium/Cesium URL Template Raster Overlay")]
29 [IconAttribute(
"Packages/com.cesium.unity/Editor/Resources/Cesium-24x24.png")]
33 private string _templateUrl;
69 get => this._templateUrl;
72 this._templateUrl = value;
87 get => this._projection;
90 this._projection = value;
96 private bool _specifyTilingScheme =
false;
105 get => this._specifyTilingScheme;
108 this._specifyTilingScheme = value;
115 private int _rootTilesX = 1;
124 get => this._rootTilesX;
127 this._rootTilesX = value;
134 private int _rootTilesY = 1;
143 get => this._rootTilesY;
146 this._rootTilesY = value;
152 private double _rectangleWest = -180.0;
162 get => this._rectangleWest;
165 this._rectangleWest = value;
171 private double _rectangleSouth = -90.0;
181 get => this._rectangleSouth;
184 this._rectangleSouth = value;
190 private double _rectangleEast = 180.0;
200 get => this._rectangleEast;
203 this._rectangleEast = value;
209 private double _rectangleNorth = 90.0;
219 get => this._rectangleNorth;
222 this._rectangleNorth = value;
229 private int _minimumLevel = 0;
240 get => this._minimumLevel;
243 this._minimumLevel = value;
250 private int _maximumLevel = 25;
257 get => this._maximumLevel;
260 this._maximumLevel = value;
267 private int _tileWidth = 256;
274 get => this._tileWidth;
277 this._tileWidth = value;
284 private int _tileHeight = 256;
291 get => this._tileHeight;
294 this._tileHeight = value;
300 private List<HeaderEntry> _requestHeaders =
new List<HeaderEntry>();
307 get => this._requestHeaders;
310 this._requestHeaders = 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 loads tiles from a templated URL.
bool specifyTilingScheme
Set this to true to specify the quadtree tiling scheme according to the specified root tile numbers a...
string templateUrl
The URL containing template parameters that will be substituted when loading tiles.
override partial void RemoveFromTileset(Cesium3DTileset tileset)
double rectangleWest
The west boundary of the bounding rectangle used for the quadtree tiling scheme.
int rootTilesX
If specified, this determines the number of tiles at the root of the quadtree tiling scheme in the X ...
double rectangleEast
The east boundary of the bounding rectangle used for the quadtree tiling scheme.
int tileWidth
The pixel width of the image tiles.
CesiumUrlTemplateRasterOverlayProjection projection
The type of projection used to project the imagery onto the globe.
int minimumLevel
Minimum zoom level.
int rootTilesY
If specified, this determines the number of tiles at the root of the quadtree tiling scheme in the Y ...
override partial void AddToTileset(Cesium3DTileset tileset)
double rectangleNorth
The north boundary of the bounding rectangle used for the quadtree tiling scheme.
int maximumLevel
Maximum zoom level.
List< HeaderEntry > requestHeaders
HTTP headers to be attached to each request made for this raster overlay.
double rectangleSouth
The south boundary of the bounding rectangle used for the quadtree tiling scheme.
int tileHeight
The pixel height of the image tiles.
CesiumUrlTemplateRasterOverlayProjection
Specifies the type of projection used for projecting a URL template raster overlay.
@ WebMercator
The raster overlay is projected using Web Mercator.
@ Geographic
The raster overlay is projected using a geographic projection.