Skip to content
TREN
Atlıhan Harita

LCC for Web User Manual · API Reference

LCCObject::setAlpha

Chapter 06.22 / 07Manual version v0.6.4English

Adjusts the transparency of the LCC model.

Can be used to adjust model transparency in real time.

Version Requirement

SDK v0.3.0+

Engine Support

Three.js / CesiumJS

API

LCCObject::setAlpha(value: number): void

Parameters

ParameterTypeRequiredDefaultDescription
valuenumberYes-Transparency value, range [0, 1]. 0 = fully transparent, 1 = fully opaque.

Return Value

void

Usage Example

// Set alpha to 0.1
lccObject.setAlpha(0.1);

// Set to fully opaque
lccObject.setAlpha(1);

Notes

  • This method can be called synchronously immediately after LCCRender.load().
  • LCCObject::setVisible()

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