Skip to main content

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

LCCObject::hasShcoef

Queries whether the current LCC model contains spherical harmonics data.

Version Requirement

SDK v0.4.0+

Engine Support

Three.js / CesiumJS

API

LCCObject::hasShcoef(): boolean

Parameters

None

Return Value

boolean — true indicates spherical harmonics data is available; false indicates no spherical harmonics data.

Usage Example

const ret = lccObject.hasShcoef();
if (ret) {
    console.log('Spherical harmonics data available');
} else {
    console.log('Spherical harmonics data not available');
}

Notes

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

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