LCCObject::setSmooth
Sets the LOD smooth transition effect for LCC2 format.
When enabled, LOD transitions become smoother.
Version Requirement
SDK v0.6.1+
Engine Support
Three.js / CesiumJS
API
LCCObject::setSmooth(value: boolean): void
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
value | boolean | Yes | true | true enables smooth effect; false disables it. |
Return Value
void
Usage Example
// Enable smooth effect
lccObject.setSmooth(true);
// Disable smooth effect
lccObject.setSmooth(false);
Notes
- This method is for LCC2 format; the default value is
true. It is ignored when loading LCC format.
Related APIs
LCCObject::setStartLod()LCCObject::setEndLod()