In the attached picture i placed the red object. Is it possible to for example calculate the area of the osm buldings that are shaded by the red object?
No, sorry, it’s not a problem that I’m very familiar with.
If those buildings are rendered by Cesium for Unreal, then they’re expressed in the 3D Tiles format. So by loading and understanding that format, you can gain access to the triangle data for the buildings. From there I suppose you could do your own geometric computations to determine shadowing. cesium-native can help with the loading and parsing side if you’re coding in C++. This all won’t be trivial, but perhaps it helps you get started.