ArcGIS Pro 2.9 API Reference Guide
QueryAvailablePointCloudRendererFields Method

ArcGIS.Desktop.Mapping Namespace > PointCloudSceneLayer Class : QueryAvailablePointCloudRendererFields Method
Input renderer type
Queries the available fields for the specified renderer type. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public IReadOnlyList<string> QueryAvailablePointCloudRendererFields( 
   PointCloudRendererType rendererType
)
Public Function QueryAvailablePointCloudRendererFields( _
   ByVal rendererType As PointCloudRendererType _
) As IReadOnlyList(Of String)

Parameters

rendererType
Input renderer type

Return Value

IReadOnlyList{ System.String}
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Each renderer type requires different fields be present on the point cloud layer. If an empty list is returned from QueryAvailablePointCloudRendererFields for a given renderer type then it means that that particular renderer type is not supported for the given PointCloudSceneLayer.
If the renderer type is supported then one of the field names returned in the list must be set as the PointCloudRendererDefinition.Field value when defining the new renderer to be used.
Setting an invalid renderer on the layer will disable rendering of the layer until it is removed
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

PointCloudSceneLayer Class
PointCloudSceneLayer Members