Skip to content
TREN
Atlıhan Harita

LCC for Web User Manual · API Reference

LCCObject::setLodAutoLevelUp

Chapter 06.27 / 07Manual version v0.6.4English

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

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