I am trying to create a rendering of a feature with the PolygonSymbol3D/ExtrudeSymbol3DLayer. I can render the feature with a single color, but i would like to be able to render it in multiple colors. Say, the first 100 meters red, then the next 300 meters green, and the last 200 meters blue.
I cannot see how this is possible in the api. Does anyone have any idea how i could do that?
I don't know of a way to have a multicolor extrude symbol.
However, you can get this effect by stacking several graphics, each with a different color symbol. The downside here is that you have to keep track of the geometries involved and make sure they line up without any gaps.
Here's an example: JS Bin - Collaborative JavaScript Debugging