AnsweredAssumed Answered

how to set a render to scene layer?

Question asked by lixiaogiser on Jul 29, 2015
Latest reply on Jul 30, 2015 by lixiaogiser

how to set a color for scene layer?

In JS, it works in this way:

//Create SceneLayer and add to the map

    var sceneLayer = new SceneLayer({

      url: "http://scene.arcgis.com/arcgis/rest/services/Hosted/Buildings_Brest/SceneServer/layers/0/"

    });

    map.add(sceneLayer);

 

 

    //Create MeshSymbol3D for symbolizing SceneLayer

    var symbol = new MeshSymbol3D(

      new FillSymbol3DLayer({

        //If the value of material is not assigned, the default color will be grey

        material: {

          color: [0, 122, 0,0.7]

        }

      })

    );

    //Add the renderer to sceneLayer

    sceneLayer.renderer = new SimpleRenderer(symbol);

 

but in c#,no renderer for scene layer.

Outcomes