Skip to main content

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

LCCObject::useEnvironment

Sets whether to display or hide environment data.

Version Requirement

SDK v0.2.0+

Engine Support

Three.js / CesiumJS

API

LCCObject::useEnvironment(value: boolean): void

Parameters

ParameterTypeRequiredDefaultDescription
valuebooleanYes-true shows environment data; false hides it.

Return Value

void

Usage Example

// Disable environment data
lccObject.useEnvironment(false);

// Enable environment data
lccObject.useEnvironment(true);

Notes

  • This method can be called synchronously immediately after LCCRender.load().
  • The initial value can also be set via param.useEnv in the load parameters.
  • LCCObject::hasEnvironment()
  • LCCObject::getEnvInstancedMesh()

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