polyline width behavior

Hello,

Let's say I have a polyline with material set to PolylineArrowMaterial and the width is set to 60. It looks like the meaning of the width here is the width of arrow, not the polyline. Then, we I change the material to the CesiumColor. At that point the width is the width of polyline - so the line becomes thicker. This means that if the user turns the arrow of polyline on/off I also have to reset width.

Is this intentional behavior or a bug?

Thank you,

Greg

Hi Greg,

I think that’s how that material was intended to work, but I agree that it’s not the best. I added a note to the issue I created earlier: https://github.com/AnalyticalGraphicsInc/cesium/issues/3491

The entire material really could use an overhaul.

Thanks!

Hannah