extrudedHeightgeometric shapes by vertices with abnormal height information

const viewer = new Cesium.Viewer("cesiumContainer");


const texturedPolygon = viewer.entities.add({
  name:
    "Extruded textured polygon with per-position heights and custom texture coordinates",
  polygon: {
    hierarchy: new window.Cesium.CallbackProperty(function () {
                return new window.Cesium.PolygonHierarchy(Cesium.Cartesian3.fromDegreesArrayHeights([
      -118.4,
      40.4,
      500000,
      -118.4,
      37,
      30000,
      -114.2,
      38.0,
      35000,
      -108.0,
      37,
      30000,
      -108.0,
      40.4,
      50000,
    ]));
            }, false) ,
    perPositionHeight: true,
    extrudedHeight: 10,
    extrudedHeightReference:Cesium.HeightReference.NONE,
    material: "../images/Cesium_Logo_Color.jpg",
  },
});
texturedPolygon.perPositionHeight = true;
texturedPolygon.heightReference = Cesium.HeightReference.RELATIVE_TO_GROUND;
texturedPolygon.extrudedHeightReference = Cesium.HeightReference.NONE;

viewer.zoomTo(viewer.entities); 

I hope he starts from the surface of the graph to calculate the stretching height, rather than starting from the surface of the Earth. The change should be the thickness of the shape

Hi there,

Could you maybe provide a picture of the effect you’re looking to get?