LCCObject::setStartLod
Sets the starting LOD level for dynamic loading and rendering.
LOD0 represents the highest rendering quality and largest data volume. LOD1, LOD2, LOD3, etc. have progressively lower quality and smaller data volumes.
Version Requirement
SDK v0.4.0+
Engine Support
Three.js / CesiumJS
API
LCCObject::setStartLod(value: number): void
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
value | number | Yes | - | Starting LOD level. Range: [0, totalLevel - 1]; values outside this range are automatically clamped. |
Return Value
void
Usage Example
lccObject.setStartLod(1);
Notes
- This method can be called synchronously immediately after
LCCRender.load(). - Values less than 0 are clamped to 0; values greater than the maximum available LOD level are clamped to the maximum.
- This method only takes effect for non-full-quality rendering. On PC, when the total LOD0 splat count is less than the maximum rendered splat count, full-quality rendering is used and this method has no effect.
Related APIs
LCCObject::setEndLod()LCCObject::getLodInfos()LCCObject::setMaxSplats()