English中文

Cesium3DTilesInspectorViewModel

new Cesium.Cesium3DTilesInspectorViewModel(scene, performanceContainer)

视图模型为 The view model for Cesium3DTilesInspector.
名称 Name 类型 Type 说明 Description
scene Scene 要使用的场景实例。 The scene instance to use.
performanceContainer HTMLElement 性能展示的容器 The container for the performance display

成员 Members

获取或设置基本分辨率。这个性质是可以观察到的。 Gets or sets the base resolution. This property is observable.
默认值: Default Value: 0
获取或设置跳过详细级别之前必须达到的屏幕空间错误。这个性质是可以观察到的。 Gets or sets the screen space error that must be reached before skipping levels of detail. This property is observable.
默认值: Default Value: 1024
获取或设置颜色混合模式。这个性质是可以观察到的。 Gets or sets the color blend mode. This property is observable.
默认值: Default Value: Cesium3DTileColorBlendMode.HIGHLIGHT
获取可用的混合模式 Gets the available blend modes
获取或设置对图块进行着色的标志。这个性质是可以观察到的。 Gets or sets the flag to colorize tiles. This property is observable.
默认值: Default Value: false
获取或设置显示显示部分的标志。这个性质是可以观察到的。 Gets or sets the flag to show the display section. This property is observable.
默认值: Default Value: false
获取或设置启用动态屏幕空间错误的标志。这个性质是可以观察到的。 Gets or sets the flag to enable dynamic screen space error. This property is observable.
默认值: Default Value: false
获取或设置动态屏幕空间错误密度。这个性质是可以观察到的。 Gets or sets the dynamic screen space error density. This property is observable.
默认值: Default Value: 2.0e-4

dynamicScreenSpaceErrorDensitySliderValue : number

获取或设置动态屏幕空间误差密度滑块值。这允许滑块呈指数分布,因为值往往更接近 0 而不是 1。此属性是可观察到的。 Gets or sets the dynamic screen space error density slider value. This allows the slider to be exponential because values tend to be closer to 0 than 1. This property is observable.
默认值: Default Value: 2.0e-4
获取或设置动态屏幕空间误差系数。这个性质是可以观察到的。 Gets or sets the dynamic screen space error factor. This property is observable.
默认值: Default Value: 24.0
获取编辑器错误消息 Gets the editor error message
获取或设置标志以启用 Eye Dome 照明。这个性质是可以观察到的。 Gets or sets the flag to enable eye dome lighting. This property is observable.
默认值: Default Value: false
获取或设置眼睛圆顶照明半径。这个性质是可以观察到的。 Gets or sets the eye dome lighting radius. This property is observable.
默认值: Default Value: 1.0
获取或设置眼睛圆顶照明强度。这个性质是可以观察到的。 Gets or sets the eye dome lighting strength. This property is observable.
默认值: Default Value: 1.0
获取视图模型的当前功能。 Gets the current feature of the view model.
获取或设置暂停更新的标志。这个性质是可以观察到的。 Gets or sets the flag to suspend updates. This property is observable.
默认值: Default Value: false
获取或设置几何误差比例。这个性质是可以观察到的。 Gets or sets the geometric error scale. This property is observable.
默认值: Default Value: 1.0
获取或设置tileset enableDebugWireframe 属性的 JSON。这个性质是可以观察到的。 Gets or sets the JSON for the tileset enableDebugWireframe attribute. This property is observable.
默认值: Default Value: false
获取或设置标志,如果该标志为 true,则只会下载满足最大屏幕空间错误的图块。这个性质是可以观察到的。 Gets or sets the flag which, when true, only tiles that meet the maximum screen space error will ever be downloaded. This property is observable.
默认值: Default Value: false
获取或设置向检查员显示的标志。这个性质是可以观察到的。 Gets or sets the flag to show the inspector. This property is observable.
默认值: Default Value: true
获取或设置确定在遍历期间是否始终下载可见图块的同级图块的标志。该属性是可观察的 Gets or sets the flag which determines whether siblings of visible tiles are always downloaded during traversal. This property is observable
默认值: Default Value: false
获取或设置显示日志记录部分的标志。这个性质是可以观察到的。 Gets or sets the flag to show the logging section. This property is observable.
默认值: Default Value: false
获取或设置最大衰减。这个性质是可以观察到的。 Gets or sets the maximum attenuation. This property is observable.
默认值: Default Value: 0
获取或设置最大屏幕空间错误。这个性质是可以观察到的。 Gets or sets the maximum screen space error. This property is observable.
默认值: Default Value: 16
获取或设置显示优化信息部分的标志。这个性质是可以观察到的。 Gets or sets the flag to show the optimization info section. This property is observable.
默认值: Default Value: false;
获取或设置启用性能显示的标志。这个性质是可以观察到的。 Gets or sets the flag to enable performance display. This property is observable.
默认值: Default Value: false
获取性能容器 Gets the performance container
获取或设置拾取状态 Gets or sets the pick state
默认值: Default Value: false
获取或设置启用拾取的标志。这个性质是可以观察到的。 Gets or sets the flag to enable picking. This property is observable.
默认值: Default Value: true
获取选择统计文本。这个性质是可以观察到的。 Gets the pick statistics text. This property is observable.
获取或设置启用点云着色的标志。这个性质是可以观察到的。 Gets or sets the flag to enable point cloud shading. This property is observable.
默认值: Default Value: false
获取图块集中的属性名称。这个性质是可以观察到的。 Gets the names of the properties in the tileset. This property is observable.
获取资源缓存统计文本。这个性质是可以观察到的。 Gets the resource cache statistics text. This property is observable.
获取场景 Gets the scene
获取或设置显示边界体积的标志。这个性质是可以观察到的。 Gets or sets the flag to show bounding volumes. This property is observable.
默认值: Default Value: false
获取或设置显示内容量的标志。这个性质是可以观察到的。 Gets or sets the flag to show content volumes. This property is observable.
默认值: Default Value: false
获取或设置显示图块几何错误的标志。这个性质是可以观察到的。 Gets or sets the flag to show tile geometric error. This property is observable.
默认值: Default Value: false
显示每个图块使用的内存。这个性质是可以观察到的。 Displays the memory used per tile. This property is observable.
默认值: Default Value: false
获取或设置标志以仅显示当前选取的图块的调试标签。这个性质是可以观察到的。 Gets or sets the flag to show debug labels only for the currently picked tile. This property is observable.
默认值: Default Value: false
获取或设置显示选择统计信息的标志。这个性质是可以观察到的。 Gets or sets the flag to show pick statistics. This property is observable.
默认值: Default Value: true
显示每个图块使用的命令、点、三角形和特征的数量。这个性质是可以观察到的。 Displays the number of commands, points, triangles and features used per tile. This property is observable.
默认值: Default Value: false
获取或设置显示请求量的标志。这个性质是可以观察到的。 Gets or sets the flag to show request volumes. This property is observable.
默认值: Default Value: false
获取或设置显示资源缓存统计信息的标志。这个性质是可以观察到的。 Gets or sets the flag to show resource cache statistics. This property is observable.
默认值: Default Value: false
获取或设置显示统计信息的标志。这个性质是可以观察到的。 Gets or sets the flag to show statistics. This property is observable.
默认值: Default Value: true
获取或设置显示磁贴 url 的标志。这个性质是可以观察到的。 Gets or sets the flag to show the tile url. This property is observable.
默认值: Default Value: false
获取或设置标志以确定在遍历期间是否应应用细节级别跳过。这个性质是可以观察到的。 Gets or sets the flag to determine if level of detail skipping should be applied during the traversal. This property is observable.
默认值: Default Value: true
获取或设置定义加载图块时要跳过的最小级别数的常量。这个性质是可以观察到的。 Gets or sets the constant defining the minimum number of levels to skip when loading tiles. This property is observable.
默认值: Default Value: 1
获取或设置定义要跳过的最小屏幕空间错误的乘数。这个性质是可以观察到的。 Gets or sets the multiplier defining the minimum screen space error to skip. This property is observable.
默认值: Default Value: 16
获取统计文本。这个性质是可以观察到的。 Gets the statistics text. This property is observable.
获取或设置图块集样式的 JSON。这个性质是可以观察到的。 Gets or sets the JSON for the tileset style. This property is observable.
默认值: Default Value: '{}'
获取或设置显示样式部分的标志。这个性质是可以观察到的。 Gets or sets the flag to show the style section. This property is observable.
默认值: Default Value: false
获取视图模型的当前图块 Gets the current tile of the view model
获取或设置显示图块信息部分的标志。这个性质是可以观察到的。 Gets or sets the flag to show the tile info section. This property is observable.
默认值: Default Value: false
获取或设置视图模型的图块集。 Gets or sets the tileset of the view model.
获取或设置用于显示图块集部分的标志。这个性质是可以观察到的。 Gets or sets the flag to show the tileset section. This property is observable.
默认值: Default Value: false
获取或设置显示更新部分的标志。这个性质是可以观察到的。 Gets or sets the flag to show the update section. This property is observable.
默认值: Default Value: false
获取或设置使用线框绘制的标志。这个性质是可以观察到的。 Gets or sets the flag to draw with wireframe. This property is observable.
默认值: Default Value: false

方法 Methods

static Cesium.Cesium3DTilesInspectorViewModel.getStatistics(tileset, isPick)string

生成统计信息的 HTML 字符串 Generates an HTML string of the statistics
名称 Name 类型 Type 说明 Description
tileset Cesium3DTileset 瓷砖集 The tileset
isPick boolean 这是否正在获取pick pass的统计数据 Whether this is getting the statistics for the pick pass
返回: Returns:
格式化统计数据 The formatted statistics
在样式编辑器中编译样式。 Compiles the style in the style editor.
销毁小部件。如果从布局中永久删除小部件,则应调用。 Destroys the widget. Should be called if permanently removing the widget from layout.
返回: Returns:
如果对象已被销毁,则为 true,否则为 false。 true if the object has been destroyed, false otherwise.
处理样式编辑器上的按键事件。 Handles key press events on the style editor.
切换显示部分的可见性 Toggles the visibility of the display section
切换检查器可见性 Toggles the inspector visibility
切换日志记录部分的可见性 Toggles the visibility of the logging section
切换优化部分的可见性 Toggles the visibility of the optimization section
切换选择图块模式 Toggles the pick tileset mode
切换样式部分的可见性 Toggles the visibility of the style section
切换磁贴“调试信息”部分的可见性 Toggles the visibility of the tile Debug Info section
切换图块集部分的可见性 Toggles the visibility of the tileset section
切换更新部分的可见性 Toggles the visibility of the update section
修剪切片缓存 Trims tile cache
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.