Skip to main content

LCC for Web Manual · v0.6.3 · Page 32 of 68

LCCObject::setAlpha

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()

XGRIDS documentation, reproduced as published and captured on October 27, 2026. Read this page on docs.xgrids.com

Stuck on a Step?

QRC supports every scanner and software seat it sells. Send us the page you are on and we will walk you through it.

Contact Us
Request a Quote