Skip to content
TREN
Atlıhan Harita

LCC for Web User Manual · API Reference

LCCObject::setPointsColor

Chapter 06.33 / 07Manual version v0.6.4English

Sets the point cloud display style.

Version Requirement

SDK v0.5.1+

Engine Support

Three.js / CesiumJS

API

LCCObject::setPointsColor(value: string): void

Parameters

ParameterTypeRequiredDefaultDescription
valuestringYes-Point cloud display style: 'default' (original color) or 'rainbow' (elevation color).

Return Value

void

Usage Example

// Set to default color
lccObject.setPointsColor('default');

// Set to rainbow (elevation) color
lccObject.setPointsColor('rainbow');

Notes

  • This method can be called synchronously immediately after LCCRender.load().
  • Must be used with togglePointsDisplayMode() to switch to point cloud display mode before the effect is visible.
  • LCCObject::togglePointsDisplayMode()

This chapter is from the official XGRIDS user manual. Official source (opens in a new tab) · Updated:

XGRIDS Türkiye

We're With You During Setup and in the Field

Atlıhan Harita provides training and technical support for device setup, firmware updates, software use, and field applications. Send us your question and our specialist will get back to you.

+90 216 546 0804