# Interface PointCloudClassBreaksRendererJson

PointCloudClassBreaksRenderer defines the color of each point in a PointCloudLayer based on the value of a numeric attribute. Colors are assigned based on classes or ranges of data. Each point is assigned a symbol based on the class break in which the value of the attribute falls.

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

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

#### Hierarchy (view full)

- PointCloudRendererJsonBase
  - PointCloudClassBreaksRendererJson

#####
Index

### Properties

authoringInfo?
colorClassBreakInfos?
colorModulation?
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` colorClassBreakInfos

colorClassBreakInfos?: ColorClassBreakInfoJson[]

Each element in the array is an object that provides information about a class break associated with the renderer.

### `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` 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