26 internal static void BroadcastCesiumRasterOverlayLoadFailure(
36 private string _materialKey =
"0";
55 get => this._materialKey;
58 this._materialKey = value;
64 private bool _showCreditsOnScreen =
false;
72 get => this._showCreditsOnScreen;
75 this._showCreditsOnScreen = value;
81 private float _maximumScreenSpaceError = 2.0f;
94 get => this._maximumScreenSpaceError;
97 this._maximumScreenSpaceError = value;
103 private int _maximumTextureSize = 2048;
115 get => this._maximumTextureSize;
118 this._maximumTextureSize = value;
124 private int _maximumSimultaneousTileLoads = 20;
132 get => this._maximumSimultaneousTileLoads;
135 this._maximumSimultaneousTileLoads = value;
141 private long _subTileCacheBytes = 16 * 1024 * 1024;
156 get => this._subTileCacheBytes;
159 this._subTileCacheBytes = value;
178 tileset.UpdateOverlayMaterialKeys();
212 private void OnEnable()
217 private void OnDisable()
222 private void OnValidate()
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...
int maximumTextureSize
The maximum texel size of raster overlay textures, in either direction.
string materialKey
The key to use to match this overlay to the corresponding parameters in the tileset's material.
bool showCreditsOnScreen
Whether or not to force this raster overlay's credits to be shown on the main screen.
int maximumSimultaneousTileLoads
The maximum number of overlay tiles that may simultaneously be in the process of loading.
long subTileCacheBytes
The maximum number of bytes to use to cache sub-tiles in memory.
void Refresh()
Refreshes this overlay by calling RemoveFromTileset followed by AddToTileset.
void RemoveFromTileset(Cesium3DTileset tileset)
When implemented in a derived class, removes the raster overlay from the given tileset.
float maximumScreenSpaceError
The maximum number of pixels of error when rendering this overlay.
void RemoveFromTileset()
Removes this raster overlay from the Cesium3DTileset on the same game object.
void AddToTileset(Cesium3DTileset tileset)
When implemented in a derived class, adds the raster overlay to the given tileset.
delegate void RasterOverlayLoadFailureDelegate(CesiumRasterOverlayLoadFailureDetails details)
Encapsulates a method that receives details of a raster overlay load failure.
void AddToTileset()
Adds this raster overlay to the Cesium3DTileset on the same game object.
static RasterOverlayLoadFailureDelegate OnCesiumRasterOverlayLoadFailure
An event that is raised when the raster overlay encounters an error that prevents it from loading.
Holds details of a CesiumRasterOverlay load failure.