Ideally, I would like to do something like:
polygonEntity = cesiumViewer.entities.add({
polygon: {
hierarchy: cesiumCartesian,
perPositionHeight: true,
material: Cesium.Color.GREEN.withAlpha(0.5),
renderState: {
depthTest: {enabled: false}
}
}
});
Can anyone tell me what would be the recommended way of doing this?
Many thanks,
Alexandrina