Cesium3DTilesInspector 的视图模型。
| Name | Type | Description |
|---|---|---|
scene |
Scene | 要使用的 Scene 实例。 |
performanceContainer |
HTMLElement | 性能显示容器 |
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
colorBlendMode : Cesium3DTileColorBlendMode
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
获取或设置显示显示部分的标志。此属性是可观察的。
-
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
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
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
feature : Cesium3DTileFeature
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。此属性是可观察的。
-
Default Value:
false
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
获取或设置显示检查器的标志。此属性是可观察的。
-
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
获取或设置显示日志部分的标志。此属性是可观察的。
-
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
获取或设置显示优化信息部分的标志。此属性是可观察的。
-
Default Value:
false;
获取或设置启用性能显示的标志。此属性是可观察的。
-
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.
readonly scene : Scene
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
获取或设置显示拾取统计信息的标志。此属性是可观察的。
-
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
获取或设置显示资源缓存统计信息的标志。此属性是可观察的。
-
Default Value:
false
获取或设置显示统计信息的标志。此属性是可观察的。
-
Default Value:
true
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.
获取或设置 tileset 样式的 JSON。此属性是可观察的。
-
Default Value:
'{}'
获取或设置显示样式部分的标志。此属性是可观察的。
-
Default Value:
false
Gets the current tile of the view model
获取或设置显示瓦片信息部分的标志。此属性是可观察的。
-
Default Value:
false
tileset : Cesium3DTileset
Gets or sets the tileset of the view model.
获取或设置显示 tileset 部分的标志。此属性是可观察的。
-
Default Value:
false
获取或设置显示更新部分的标志。此属性是可观察的。
-
Default Value:
false
Gets or sets the flag to draw with wireframe. This property is observable.
-
Default Value:
false
Methods
Generates an HTML string of the statistics
| Name | Type | Description |
|---|---|---|
tileset |
Cesium3DTileset | The tileset |
isPick |
boolean | 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 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
