2using System.Collections.Generic;
15 [ReinteropNativeImplementation(
16 "CesiumForUnityNative::CesiumPolygonRasterOverlayImpl",
"CesiumPolygonRasterOverlayImpl.h")]
17#if UNITY_2022_2_OR_NEWER
18 [AddComponentMenu(
"Cesium/Cesium Polygon Raster Overlay")]
20 [AddComponentMenu(
"")]
22 [IconAttribute(
"Packages/com.cesium.unity/Editor/Resources/Cesium-24x24.png")]
26 private List<CesiumCartographicPolygon> _polygons;
31 public List<CesiumCartographicPolygon>
polygons
33 get => this._polygons;
36 this._polygons = value;
42 private bool _invertSelection =
false;
60 get => this._invertSelection;
63 this._invertSelection = value;
69 private bool _excludeSelectedTiles =
true;
89 get => this._excludeSelectedTiles;
92 this._excludeSelectedTiles = value;
100 this.materialKey =
"Clipping";
A tileset in the 3D Tiles format.
A raster overlay that rasterizes polygons and drapes them over the tileset.
bool excludeSelectedTiles
Whether tiles that fall entirely within the rasterized selection should be excluded from loading and ...
bool invertSelection
Whether to invert the selection specified by the polygons.
override partial void RemoveFromTileset(Cesium3DTileset tileset)
List< CesiumCartographicPolygon > polygons
The polygons to rasterize for this overlay.
override partial void AddToTileset(Cesium3DTileset tileset)
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.