3using System.Collections.Generic;
36 [ReinteropNativeImplementation(
37 "CesiumForUnityNative::CesiumGeoJsonDocumentRasterOverlayImpl",
38 "CesiumGeoJsonDocumentRasterOverlayImpl.h")]
39 [AddComponentMenu(
"Cesium/Cesium GeoJSON Document Raster Overlay")]
40 [IconAttribute(
"Packages/com.cesium.unity/Editor/Resources/Cesium-24x24.png")]
61 private string _url =
"";
81 private long _ionAssetID = 0;
92 get => this._ionAssetID;
95 this._ionAssetID = value;
101 private string _ionAccessToken =
"";
113 get => this._ionAccessToken;
116 this._ionAccessToken = value;
135 if (this._ionServer ==
null)
139 return this._ionServer;
144 this._ionServer = value;
150 private int _mipLevels = 0;
162 get => this._mipLevels;
165 this._mipLevels = value;
182 get => this._defaultStyle;
185 this._defaultStyle = value;
203 get => this._document;
206 this._document = value;
A tileset in the 3D Tiles format.
A raster overlay that rasterizes a GeoJSON document and drapes it over the tileset.
long ionAssetID
The ID of the Cesium ion asset to use.
string url
The URL from which to load the GeoJSON document.
CesiumGeoJsonDocument document
Gets or sets the GeoJSON document used by this overlay.
override partial void AddToTileset(Cesium3DTileset tileset)
int mipLevels
The number of mip levels to generate for each tile of this raster overlay.
CesiumGeoJsonDocumentRasterOverlaySource source
The source from which to load the GeoJSON document.
CesiumVectorStyle defaultStyle
The default style to use for this raster overlay.
override partial void RemoveFromTileset(Cesium3DTileset tileset)
CesiumIonServer ionServer
The Cesium ion server from which this raster overlay is loaded.
string ionAccessToken
The access token to use to access the Cesium ion resource.
Represents a parsed GeoJSON document.
Defines a Cesium ion Server.
static CesiumIonServer serverForNewObjects
Gets the current Cesium ion server that should be assigned to newly-created objects.
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.
@ FromCesiumIon
The dataset is from Cesium ion.
@ FromUrl
The dataset is from a regular web URL.
CesiumGeoJsonDocumentRasterOverlaySource
Configures where the CesiumGeoJsonDocumentRasterOverlay should load its GeoJSON data from.
@ FromDocument
The raster overlay will use a GeoJSON document that has been parsed and styled in code using CesiumGe...
Style information to use when drawing vector data.
static CesiumVectorStyle Default
Creates a default vector style.