How to cut a hole in Unity just like "ClippingPlaneCollection" in CesiumJS

Is there anyway to cut a hole or Clip an Irregular polygon at the Terrain or the Oblique photography just like the “ClippingPlaneCollection” in CesiumJS API?

1 Like

In Cesium for Unreal, we have a way to clip away parts of terrain or another tileset:

We expect to bring a similar feature to Cesium for Unity in the future.

Kevin

1 Like

:smiley:Thank you so much!

@Kevin_Ring any updates on this functionality for Unity?

A while ago, we shipped the CesiumTileExcluder interface, which you can implement to specify custom rules for excluding tiles. You can see more details about how to use this interface on Github.

Unfortunately, we still don’t have an equivalent of the “Cesium Cartographic Polygon” in Unreal. We have it on our short-term roadmap, but I don’t have a time estimate for when it will be addressed.

Thanks @janine - we’re looking to implement a clipping plane inside Cesium for Unity (for a VR application).

Any new updates on polygonal clipping in Unity? We’re finding this is a much-needed feature in our current project where box colliders won’t suffice.

Hi @Phil79,

We’re aware of this feature request, and we have a Github issue open for it here. We’ll be sure to update this thread when it is addressed!

1 Like

Thanks, this is a big need for us too, looking forward to getting this feature into Cesium for Unity as well!

This is a really old thread, but I just want to state that CesiumCartographicPolygon is available as of v1.8.0. However, you must use a minimum version of Unity 2022.2+, because it depends on the Splines package.

2 Likes