Skip to main content

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

LCCObject::getLodInfos

Gets the LOD information of the LCC model.

Returns an array where the length represents the total number of LOD levels, and each element represents the total number of splats in the corresponding LOD level.

Version Requirement

SDK v0.5.0+

Engine Support

Three.js / CesiumJS

API

LCCObject::getLodInfos(): number[]

Parameters

None

Return Value

number[] — LOD information array. The array index corresponds to the LOD level, and the value is the total splat count for that level. LOD0 has the highest rendering quality and largest data volume.

Usage Example

const lods = lccObject.getLodInfos();
// Example return value: [12385554, 5872608, 2838509, 1377826, 664160]
// 5 LOD levels in total
// LOD0 has 12,385,554 splats
// LOD4 has 664,160 splats

Notes

  • This method must be called after the success callback of LCCRender.load() has been triggered.
  • LCCObject::setStartLod()
  • LCCObject::setEndLod()
  • LCCObject::setMaxSplats()

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