Skip to main content

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

LCCObject::setMaxSplats

Sets the maximum number of rendered Gaussian splats.

When the actual rendered Gaussian splat count is below this value, rendering proceeds normally. When it exceeds this value, the LOD is automatically adjusted to a lower level to fit the budget. On low-performance platforms, set a smaller value for smoother rendering.

Version Requirement

SDK v0.4.0+

Engine Support

Three.js / CesiumJS

API

LCCObject::setMaxSplats(value: number): void

Parameters

ParameterTypeRequiredDefaultDescription
valuenumberYes3000000Maximum number of rendered Gaussian splats.

Return Value

void

Usage Example

lccObject.setMaxSplats(2000000);

Notes

  • This method can be called synchronously immediately after LCCRender.load().
  • When the set value exceeds the total LOD0 splat count, the SDK performs full-quality rendering without LOD switching, yielding better quality. It is recommended not to exceed 10 million splats.
  • Different hardware platforms support different splat counts; adjust based on actual conditions.
  • LCCObject::setMaxNodeSplats()
  • LCCObject::setMaxDistance()
  • LCCObject::getLodInfos()

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