LCCObject::setMipFilter
Enables or disables Mip Filter (2D covariance dilation + alpha energy compensation). Enabled by default.
Version Requirement
SDK v0.6.4+
Engine Support
Three.js / CesiumJS
API
LCCObject::setMipFilter(flag: boolean): void
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
flag | boolean | Yes | - | true to enable Mip Filter, false to disable. |
The default configuration value is true (enabled).
Return Value
void
Usage Example
// Disable Mip Filter when loading third-party data
lccObject.setMipFilter(false);
// Re-enable Mip Filter (default)
lccObject.setMipFilter(true);
Notes
- This method can be called after the model has finished loading. The effect takes place in real time (next frame).
Related APIs
LCCObject::setAlpha()— Set global opacityLCCObject::setPointsColor()— Set coloring mode