An appearance for PolylineGeometry that supports shading with materials.
alias PolylineMaterialAppearance
{Object} [options] Object with the following properties:
{Boolean} [options.translucent=true] When true, the geometry is expected to appear translucent so PolylineMaterialAppearance#renderState has alpha blending enabled.
{Material} [options.material=Material.ColorType] The material used to determine the fragment color.
{String} [options.vertexShaderSource] Optional GLSL vertex shader source to override the default vertex shader.
{String} [options.fragmentShaderSource] Optional GLSL fragment shader source to override the default fragment shader.
{RenderState} [options.renderState] Optional render state to override the default render state.
An appearance for PolylineGeometry that supports shading with materials.
alias PolylineMaterialAppearance
true
, the geometry is expected to appear translucent so PolylineMaterialAppearance#renderState has alpha blending enabled.var primitive = new Cesium.Primitive({ geometryInstances : new Cesium.GeometryInstance({ geometry : new Cesium.PolylineGeometry({ positions : Cesium.Cartesian3.fromDegreesArray([ 0.0, 0.0, 5.0, 0.0 ]), width : 10.0, vertexFormat : Cesium.PolylineMaterialAppearance.VERTEX_FORMAT }) }), appearance : new Cesium.PolylineMaterialAppearance({ material : Cesium.Material.fromType('Color') }) });
https://github.com/AnalyticalGraphicsInc/cesium/wiki/Fabric|Fabric