Article directory
1. Achieve goals
Cartographic Polygon
The Actor based on the CesiumForUnreal plug-in Runtime
realizes the polygon clipping effect of the terrain 3DTileset in the runtime environment. The GIF animation is as follows:
2. Implementation process
For the specific operation process in the Editor, you can refer to the official tutorial of CesiumForUnreal clipping terrain. This article is implemented in the Runtime environment. The data is still using the CesiumForUnreal plug-in to load online terrain and image data.
(1) First look at Cesium World Terrain
the material of this terrain 3DTileset. You can see that there is no specific material instance set by default, but by reading the source code of the plug-in, it is found that it will automatically use the MI_CesiumThreeOverlaysAndClipping
material instance by default. The directory location is "CesiumForUnreal/Materials/Instances/" .