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: 0.00278

dynamicScreenSpaceErrorDensitySliderValue : Number

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: 0.00278
Gets or sets the dynamic screen space error factor. This property is observable.
Default Value: 4.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
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

immediatelyLoadDesiredLevelOfDetail : Boolean

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 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: false
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 statistics. This property is observable.
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.
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

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
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.