Hi everyone,
I’m working on a project where I need to clip a harbor area from Cesium tileset data. My goal is to:
-
Clip the exterior - Hide everything outside the harbor region (so only the harbor + a small section of the city loads)
-
Clip the interior - Remove the water areas within the harbor by cutting out multiple polygon sections
My current setup:
-
Using Unreal Engine 5.6.1
-
Created multiple
CesiumCartographicPolygonactors:-
One exterior polygon defining the harbor boundary
-
Several interior polygons defining water areas to remove (imported from GeoJSON)
-
-
Attached a
CesiumPolygonRasterOverlaycomponent to myCesium3DTilesetactor -
Selected all polygons in the overlay’s polygon references
The problem: The CesiumPolygonRasterOverlay has a single “Clip Inside/Outside” setting that applies to ALL selected polygons uniformly. This means:
-
If I set it to clip outside → the exterior polygon works (shows only harbor area), but the interior polygons do not clip the water zones (wrong behavior)
-
If I set it to clip inside → the interior polygons work (cuts out water), but the exterior polygon also clips inside (hides everything, showing only what’s outside the harbor boundary)
-
If I only use the interior water zone polygons, they all clip and overlap correctly. If I only use the exterior it also clips the outside correctly.
What I need:
-
Exterior polygon: Clip outside (exclude everything beyond harbor)
-
Interior polygons: Clip inside (exclude water areas within harbor)
Is there a way to achieve this with the current Cesium for Unreal implementation? Can different polygons have different clipping modes, or is there an alternative approach I should be using?
Thanks in advance for any guidance!



