# Interface PointCloudUniqueValueRendererJson

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.

See https://developers.arcgis.com/web-scene-specification/objects/pointCloudUniqueValueRenderer/.

interface PointCloudUniqueValueRendererJson {
authoringInfo?: AuthoringInfoJson;
colorModulation?: {
field?: string;
maxValue?: number;
minValue?: number;
};
colorUniqueValueInfos?: ColorUniqueValueInfosJson[];
field?: string;
fieldTransformType?:
| "none"
| "lowFourBit"
| "highFourBit"
| "absoluteValue"
| "moduloTen";
pointSizeAlgorithm?: PointCloudSplatAlgorithmJson | PointCloudFixedSizeAlgorithmJson;
pointsPerInch?: number;
rotationExpression?: string;
rotationType?: RotationJsonType;
type: "pointCloudUniqueValueRenderer";
visualVariables?: VisualVariableJson[];
}

#### Hierarchy (view full)

- PointCloudRendererJsonBase
  - PointCloudUniqueValueRendererJson

#####
Index

### Properties

authoringInfo?
colorModulation?
colorUniqueValueInfos?
field?
fieldTransformType?
pointSizeAlgorithm?
pointsPerInch?
rotationExpression?
rotationType?
type
visualVariables?

##
Properties

### `Optional` authoringInfo

authoringInfo?: AuthoringInfoJson

An object containing metadata about the authoring process for creating a renderer object. This allows the authoring clients to save specific overridable settings so that next time it is accessed via the UI, their selections are remembered. Non-authoring clients should ignore it.

Inherited from PointCloudRendererJsonBase.authoringInfo

### `Optional` colorModulation

colorModulation?: {
field?: string;
maxValue?: number;
minValue?: number;
}

Indicates whether modulation should be used to render the point.

See https://developers.arcgis.com/web-scene-specification/objects/colorModulationInfo/.

#### Type declaration

- ##### `Optional` field?: string

  The attribute to use as a source for the modulation amplitude.

- ##### `Optional` maxValue?: number

  Maximum value to compute modulation linear mapping.

- ##### `Optional` minValue?: number

  Minimum value to compute modulation linear mapping.

Inherited from PointCloudRendererJsonBase.colorModulation

### `Optional` colorUniqueValueInfos

colorUniqueValueInfos?: ColorUniqueValueInfosJson[]

Unique value infos.

### `Optional` field

field?: string

The name of the field that is used for the renderer.

Inherited from PointCloudRendererJsonBase.field

### `Optional` fieldTransformType

fieldTransformType?:
| "none"
| "lowFourBit"
| "highFourBit"
| "absoluteValue"
| "moduloTen"

A transform that is applied to the field value before evaluating the renderer.

Inherited from PointCloudRendererJsonBase.fieldTransformType

### `Optional` pointSizeAlgorithm

pointSizeAlgorithm?: PointCloudSplatAlgorithmJson | PointCloudFixedSizeAlgorithmJson

Size algorithms for point cloud performance.

Inherited from PointCloudRendererJsonBase.pointSizeAlgorithm

### `Optional` pointsPerInch

pointsPerInch?: number

Number of point to draw per display inch.

Inherited from PointCloudRendererJsonBase.pointsPerInch

### `Optional` rotationExpression

rotationExpression?: string

A constant value or an expression that derives the angle of rotation based on a feature attribute value. When an attribute name is specified, it's enclosed in square brackets.

Inherited from PointCloudRendererJsonBase.rotationExpression

### `Optional` rotationType

rotationType?: RotationJsonType

String value (either geographic or arithmetic) which controls the origin and direction of rotation on point features. If the rotationType is defined as 'arithmetic', the symbol is rotated from East in a counter-clockwise direction where East is the 0� axis. If the rotationType is defined as 'geographic', the symbol is rotated from North in a clockwise direction where North is the 0� axis.

Inherited from PointCloudRendererJsonBase.rotationType

### type

type

The type of renderer. See RendererJsonType.

Overrides PointCloudRendererJsonBase.type

### `Optional` visualVariables

visualVariables?: VisualVariableJson[]

An array of visualVariable objects used for continuous color or size, simple, and unique values with feature opacity.

Inherited from PointCloudRendererJsonBase.visualVariables