ArcGIS Pro 2.7 API Reference Guide
SetRenderer Method (SceneServiceLayer)

ArcGIS.Desktop.Mapping Namespace > SceneServiceLayer Class : SetRenderer Method
Your custom renderer that will be used to draw nodes of the scene service layer.
Specifies the scene service layer's renderer object which determines how the layer draws. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void SetRenderer( 
   CIMRenderer updatedRenderer
)
Public Sub SetRenderer( _
   ByVal updatedRenderer As CIMRenderer _
) 

Parameters

updatedRenderer
Your custom renderer that will be used to draw nodes of the scene service layer.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

SceneServiceLayer Class
SceneServiceLayer Members