new Cesium.PerformanceWatchdog(options)

监视应用程序的性能,如果检测到不良性能,则显示消息.
Name Type Description
options object optional 下列属性的对象 :
Name Type Default Description
container Element | string The DOM element or ID that will contain the widget.
scene Scene The Scene for which to monitor performance.
lowFrameRateMessage string '这个应用程序似乎在您的系统中表现不佳. 请尝试使用不同的网页浏览器或更新您的视频驱动程序 。 optional 那个 message to display when a low frame rate is detected. The message is interpeted as HTML, so make sure 它来自一个可信任的来源,这样您的应用程序就不会受到跨网站的脚本攻击.

Members

container : Element

得到母容器.
获得观音模型.

Methods

destroy()

摧毁部件。 如果永久调用, 应该调用 从布局中删除部件 .

isDestroyed()boolean

Returns:
如果物体已被销毁, 则真实无误 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.