PointCloudUniqueValueRenderer allows you to colorize points in a PointCloudLayer based on an attribute. This is done by using unique colors to represent points with equal attribute values.
Referenced by: PointCloud Renderers
Properties
| Property | Details | 
|---|---|
| colorModulation | Indicates whether modulation should be used to render the point. | 
| colorUniqueValueInfos[] | Unique value infos. | 
| field | The name of the field that is used for the renderer. | 
| fieldTransformType | A transform that is applied to the field value before evaluating the renderer. Valid values: 
  | 
| legendOptions | A legend containing one title, which is a string describing the renderer in the legend. | 
| pointSizeAlgorithm | Size algorithms for point cloud performance. | 
| pointsPerInch | Number of points to draw per display inch. | 
| type | Specifies the type of renderer used. Valid value of this property pointCloudUniqueValueRenderer | 
pointCloudUniqueValueRenderer Example
{
  "type": "pointCloudUniqueValueRenderer",
  "pointSizeAlgorithm": {
    "type": "pointCloudFixedSizeAlgorithm",
    "useRealWorldSymbolSizes": false,
    "size": 4
  },
  "pointsPerInch": 10,
  "field": "CLASS_CODE",
  "colorUniqueValueInfos": [
    {
      "values": [
        "1"
      ],
      "label": "1",
      "description": "Unassigned",
      "color": [
        79,
        112,
        181
      ]
    },
    {
      "values": [
        "2"
      ],
      "label": "2",
      "description": "Ground",
      "color": [
        170,
        183,
        189
      ]
    },
    {
      "values": [
        "3"
      ],
      "label": "3",
      "description": "Low vegetation",
      "color": [
        247,
        255,
        188
      ]
    },
    {
      "values": [
        "4"
      ],
      "label": "4",
      "description": "Medium vegetation",
      "color": [
        241,
        159,
        106
      ]
    },
    {
      "values": [
        "5"
      ],
      "label": "5",
      "description": "High vegetation",
      "color": [
        211,
        26,
        18
      ]
    }
  ]
}