I have defined a new fabric to combine the Polyline arrow and glow. It works, when I define a line with scene.primitives.add. But how can I add this new fabric to entity?
I've tried a way given in
https://groups.google.com/forum/embed/?place=forum/cesium-dev&showsearch=true&showpopout=true&hideforumtitle=true&fragments=true&parenturl=http%3A%2F%2Fcesiumjs.org%2Fforum.html#!searchin/cesium-dev/fabric/cesium-dev/XZLj0hl5C0c/ac8C1w8mDAAJ
"
var entity = viewer.entities.add({
    polygon: {
        hierarchy: area,
        material: new CustomMaterialProperty({
            type: 'Fade',
            uniforms: {
                fadeInColor: new Cesium.Color(1.0, 0.0, 0.0, 0.5),
                fadeOutColor: new Cesium.Color(0.0, 0.0, 0.0, 0.0),
                maximumDistance: 1,
                repeat: false,
                fadeDirection: {
                    x: true,
                    y: false
                },
                time: new Cesium.Cartesian2(0, 0)
            }
        }),
        outline: true,
        outlineWidth: 10
    },
});
"
But it does not work...
Is anything wrong?