Skip to main content

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

LCCObject::setLodAutoLevelUp

Enables or disables the air-ground integrated LOD strategy.

When enabled, the LOD level is automatically adjusted based on the camera's distance from the LCC scene and the maxSplats value, optimizing the issue of excessively high LOD levels at long distances. Disabled by default.

Version Requirement

SDK v0.5.0+

Engine Support

Three.js / CesiumJS

API

LCCObject::setLodAutoLevelUp(value: boolean): void

Parameters

ParameterTypeRequiredDefaultDescription
valuebooleanYesfalsetrue enables the auto LOD level-up strategy; false disables.

Return Value

void

Usage Example

// Enable auto LOD level-up strategy
lccObject.setLodAutoLevelUp(true);

// Disable auto LOD level-up strategy
lccObject.setLodAutoLevelUp(false);

Notes

  • This method can be called synchronously immediately after LCCRender.load().
  • Suitable for scenarios that frequently use overview perspectives.
  • LCCObject::setMaxSplats()
  • LCCObject::getLodInfos()
  • LCCObject::setStartLod()
  • LCCObject::setEndLod()

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