一套用于检测当前浏览器是否支持的功能 various features.

Methods

static Cesium.FeatureDetection.supportsBasis(scene)boolean

检测当前浏览器是否支持 Basy Universal 纹理以及转换这些纹理所需的网络组装模块.
Name Type Description
scene Scene
Returns:
如果浏览器支持 Web 组装模块, 而场景支持 Basy Universal 纹理, 如果不是, 则为真 .

static Cesium.FeatureDetection.supportsBigInt()boolean

检测当前浏览器是否支持 BigInt .
Returns:
如果浏览器支持 BigInt, 如果不是, 则为真 .
See:

static Cesium.FeatureDetection.supportsBigInt64Array()boolean

检测当前浏览器是否支持 BigInt64Array 键入数组 .
Returns:
如果浏览器支持 BigInt64Array 键入数组, 如果不是, 则为真 .
See:

static Cesium.FeatureDetection.supportsBigUint64Array()boolean

检测当前浏览器是否支持 BigUint64Array 键入数组 .
Returns:
如果浏览器支持 BigUint64Array 键入数组, 若不支持, 则为真 .
See:

static Cesium.FeatureDetection.supportsEsmWebWorkers()boolean

检测当前浏览器是否支持网络工人的ECMAScript模块.
Returns:
如果浏览器支持网络工人的ECMAScript模块,则为真.
See:

static Cesium.FeatureDetection.supportsFullscreen()boolean

检测当前浏览器是否支持全屏标准.
Returns:
如果浏览器支持全屏幕标准,则真实性为真.
See:

static Cesium.FeatureDetection.supportsTypedArrays()boolean

检测当前浏览器是否支持输入的数组 .
Returns:
如果浏览器支持键入数组, 则为真.
See:

static Cesium.FeatureDetection.supportsWebAssembly()boolean

检测当前浏览器是否支持Web大会.
Returns:
如果浏览器支持Web Assembly,则真实性为真.
See:

static Cesium.FeatureDetection.supportsWebgl2(scene)boolean

检测当前浏览器是否支持用于指定场景的 WebGL2 渲染上下文 .
Name Type Description
scene Scene the Cesium scene specifying the rendering context
Returns:
如果浏览器支持WebGL2的渲染上下文,则真实性为真.
See:

static Cesium.FeatureDetection.supportsWebWorkers()boolean

检测当前浏览器是否支持 Web Workers .
Returns:
如果浏览器支持Web Workers, 如果不是, 则为真 .
See:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.