麻辣GIS微信平台

更多 GIS 干货

微信关注不错过

Cesium API - PerformanceWatchdogViewModel 中文文档

本文介绍下Cesium中 PerformanceWatchdogViewModel API的详细使用说明。

PerformanceWatchdogViewModel API 调用方法

new Cesium.PerformanceWatchdogViewModel(options)
The view model for PerformanceWatchdog.
Name Type Description
options Object optional Object with the following properties:
Name Type Default Description
scene Scene The Scene instance for which to monitor performance.
lowFrameRateMessage String 'This application appears to be performing poorly on your system. Please try using a different web browser or updating your video drivers.' optional The message to display when a low frame rate is detected. The message is interpeted as HTML, so make sure it comes from a trusted source so that your application is not vulnerable to cross-site scripting attacks.

成员变量

Gets a command that dismisses the low frame rate message. Once it is dismissed, the message will not be redisplayed.
Gets or sets the message to display when a low frame rate is detected. This string will be interpreted as HTML.
Gets or sets a value indicating whether the low frame rate message has previously been dismissed by the user. If it has been dismissed, the message will not be redisplayed, no matter the frame rate.
Gets the Scene instance for which to monitor performance.
Gets or sets a value indicating whether the low frame rate message is currently being displayed.

其他API

Cesium中文API文档手册(v1.63.1版本)参考:《Cesium中文API文档手册(v1.63.1版本)

相关阅读

麻辣GIS-Sailor

作者:

GIS爱好者,学GIS,更爱玩GIS。

声明

1.本文所分享的所有需要用户下载使用的内容(包括但不限于软件、数据、图片)来自于网络或者麻辣GIS粉丝自行分享,版权归该下载资源的合法拥有者所有,如有侵权请第一时间联系本站删除。

2.下载内容仅限个人学习使用,请切勿用作商用等其他用途,否则后果自负。

手机阅读
公众号关注
知识星球
手机阅读
麻辣GIS微信公众号关注
最新GIS干货
关注麻辣GIS知识星球
私享圈子

留言板(小编看到第一时间回复)