ArcGIS Pro 2.6 API Reference Guide
SetRenderer Method (PointCloudSceneLayer)

ArcGIS.Desktop.Mapping Namespace > PointCloudSceneLayer Class : SetRenderer Method
Input ArcGIS.Core.CIM.CIMPointCloudRenderer
Specifies the point cloud scene 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( 
   CIMPointCloudRenderer updatedRenderer
)
Public Sub SetRenderer( _
   ByVal updatedRenderer As CIMPointCloudRenderer _
) 

Parameters

updatedRenderer
Input ArcGIS.Core.CIM.CIMPointCloudRenderer
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Call CreateRenderer to generate the CIMPointCloudRenderer from a PointCloudRendererDefinition needed as input to this method.
QueryAvailablePointCloudRendererFields should be called first to determine if the PointCloudSceneLayer contains the specified fields needed for the input renderer type. Calling SetRenderer with an invalid renderer will break the renderer of the layer until it is reset to a supported type.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

PointCloudSceneLayer Class
PointCloudSceneLayer Members