麻辣GIS微信平台

更多 GIS 干货

微信关注不错过

Cesium API - CesiumInspectorViewModel 中文文档

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

CesiumInspectorViewModel API 调用方法

new Cesium.CesiumInspectorViewModel(scene, performanceContainer)
The view model for CesiumInspector.
Name Type Description
scene Scene The scene instance to use.
performanceContainer PerformanceContainer The instance to use for performance container.

成员变量

Gets the command to decrement the depth frustum index to be shown
Gets or sets the index of the depth frustum to display. This property is observable.
Default Value: 1
Gets or sets the index of the depth frustum text. This property is observable.
Default Value: ''
Gets the command to toggle a filter that renders only a selected primitive
Gets the command to toggle a filter that renders only a selected tile
Gets or sets if the cesium inspector drop down is visible. This property is observable.
Default Value: true
Gets or sets the filter primitive state. This property is observable.
Default Value: false
Gets or sets the filter tile state. This property is observable.
Default Value: false
Gets or sets the show frustum planes state. This property is observable.
Default Value: false
Gets or sets the show frustums state. This property is observable.
Default Value: false
Gets or sets the frustum statistic text. This property is observable.
Default Value: ''
Gets or sets if the general section is visible. This property is observable.
Default Value: true
Gets or sets the show globe depth state. This property is observable.
Default Value: false
Gets if a primitive has been selected. This property is observable.
Default Value: false
Gets if a tile has been selected. This property is observable
Default Value: false
Gets the command to increment the depth frustum index to be shown
Gets or sets the show performance display state. This property is observable.
Default Value: false
Gets the container of the PerformanceDisplay
Gets or sets the show pick depth state. This property is observable.
Default Value: false
Gets the command to pick a primitive
Gets if the picking primitive command is active. This property is observable.
Default Value: false
Gets the command to pick a tile
Gets if the picking tile command is active. This property is observable.
Default Value: false
Gets or sets the current selected primitive
Gets or sets the show primitive bounding sphere state. This property is observable.
Default Value: false
Gets or sets the show primitive reference frame state. This property is observable.
Default Value: false
Gets or sets if the primitive section is visible. This property is observable.
Default Value: false
Gets the scene to control.
Gets the command to pick a tile
Gets the command to pick a tile
Gets the command to pick a tile
Gets the command to pick a tile
Gets the command to pick a tile
Gets or sets the shader cache text. This property is observable.
Default Value: ''
Gets the command to toggle the visibility of a BoundingSphere for a primitive
Gets the command to toggle the visibility of a DebugModelMatrixPrimitive for the model matrix of a primitive
Gets the command to toggle the visibility of a BoundingSphere for a selected tile
Gets the command to toggle the visibility of tile coordinates
Gets or sets the suspend updates state. This property is observable.
Default Value: false
Gets or sets if the terrain section is visible. This property is observable.
Default Value: false
Gets or sets the current selected tile
Gets or sets the show tile bounding sphere state. This property is observable.
Default Value: false
Gets or sets the show tile coordinates state. This property is observable.
Default Value: false
Gets or sets the selected tile information text. This property is observable.
Default Value: ''
Gets the command to toggle the visibility of the drop down.
Gets the command to expand and collapse the general section
Gets the command to expand and collapse the primitives section
Gets the command to expand and collapse the terrain section
Gets or sets the show wireframe state. This property is observable.
Default Value: false

内置方法

Destroys the widget. Should be called if permanently removing the widget from layout.
返回值:
true if the object has been destroyed, false otherwise.

其他API

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

相关阅读

麻辣GIS-Sailor

作者:

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

声明

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

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

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

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