Cesium3DTilesInspectorViewModel

open external class Cesium3DTilesInspectorViewModel(val scene: Scene, val performanceContainer: HTMLElement)(source)

The view model for Cesium3DTilesInspector.

See also

Constructors

Link copied to clipboard
constructor(scene: Scene, performanceContainer: HTMLElement)

Types

Link copied to clipboard
external object Companion

Properties

Link copied to clipboard
external var baseResolution: Int

Gets or sets the base resolution. This property is observable.

Link copied to clipboard

Gets or sets the screen space error that must be reached before skipping levels of detail. This property is observable.

Link copied to clipboard

Gets or sets the color blend mode. This property is observable.

Link copied to clipboard

Gets the available blend modes

Link copied to clipboard
external var colorize: Boolean

Gets or sets the flag to colorize tiles. This property is observable.

Link copied to clipboard
external var displayVisible: Boolean

Gets or sets the flag to show the display section. This property is observable.

Link copied to clipboard

Gets or sets the flag to enable dynamic screen space error. This property is observable.

Link copied to clipboard

Gets or sets the dynamic screen space error density. This property is observable.

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.

Link copied to clipboard

Gets or sets the dynamic screen space error factor. This property is observable.

Link copied to clipboard
external val editorError: String

Gets the editor error message

Link copied to clipboard
external var eyeDomeLighting: Boolean

Gets or sets the flag to enable eye dome lighting. This property is observable.

Link copied to clipboard

Gets or sets the eye dome lighting radius. This property is observable.

Link copied to clipboard

Gets or sets the eye dome lighting strength. This property is observable.

Link copied to clipboard

Gets the current feature of the view model.

Link copied to clipboard
external var freezeFrame: Boolean

Gets or sets the flag to suspend updates. This property is observable.

Link copied to clipboard

Gets or sets the geometric error scale. This property is observable.

Link copied to clipboard

Gets or sets the JSON for the tileset enableDebugWireframe attribute. This property is observable.

Link copied to clipboard

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.

Link copied to clipboard

Gets or sets the flag to show the inspector. This property is observable.

Link copied to clipboard
external var loadSiblings: Boolean

Gets or sets the flag which determines whether siblings of visible tiles are always downloaded during traversal. This property is observable

Link copied to clipboard
external var loggingVisible: Boolean

Gets or sets the flag to show the logging section. This property is observable.

Link copied to clipboard
external var maximumAttenuation: Int

Gets or sets the maximum attenuation. This property is observable.

Link copied to clipboard

Gets or sets the maximum screen space error. This property is observable.

Link copied to clipboard

Gets or sets the flag to show the optimization info section. This property is observable.

Link copied to clipboard
external var performance: Boolean

Gets or sets the flag to enable performance display. This property is observable.

Link copied to clipboard

The container for the performance display

Link copied to clipboard
external var pickActive: Boolean

Gets or sets the pick state

Link copied to clipboard
external var picking: Boolean

Gets or sets the flag to enable picking. This property is observable.

Link copied to clipboard

Gets the pick statistics text. This property is observable.

Link copied to clipboard

Gets or sets the flag to enable point cloud shading. This property is observable.

Link copied to clipboard

Gets the names of the properties in the tileset. This property is observable.

Link copied to clipboard

Gets the resource cache statistics text. This property is observable.

Link copied to clipboard
external val scene: Scene

The scene instance to use.

Link copied to clipboard

Gets or sets the flag to show bounding volumes. This property is observable.

Link copied to clipboard

Gets or sets the flag to show content volumes. This property is observable.

Link copied to clipboard

Gets or sets the flag to show tile geometric error. This property is observable.

Link copied to clipboard
external var showMemoryUsage: Boolean

Displays the memory used per tile. This property is observable.

Link copied to clipboard

Gets or sets the flag to show debug labels only for the currently picked tile. This property is observable.

Link copied to clipboard

Gets or sets the flag to show pick statistics. This property is observable.

Link copied to clipboard

Displays the number of commands, points, triangles and features used per tile. This property is observable.

Link copied to clipboard

Gets or sets the flag to show request volumes. This property is observable.

Link copied to clipboard

Gets or sets the flag to show resource cache statistics. This property is observable.

Link copied to clipboard
external var showStatistics: Boolean

Gets or sets the flag to show statistics. This property is observable.

Link copied to clipboard
external var showUrl: Boolean

Gets or sets the flag to show the tile url. This property is observable.

Link copied to clipboard

Gets or sets the flag to determine if level of detail skipping should be applied during the traversal. This property is observable.

Link copied to clipboard
external var skipLevels: Int

Gets or sets the constant defining the minimum number of levels to skip when loading tiles. This property is observable.

Link copied to clipboard

Gets or sets the multiplier defining the minimum screen space error to skip. This property is observable.

Link copied to clipboard
external val statisticsText: String

Gets the statistics text. This property is observable.

Link copied to clipboard
external var styleString: String

Gets or sets the JSON for the tileset style. This property is observable.

Link copied to clipboard
external var styleVisible: Boolean

Gets or sets the flag to show the style section. This property is observable.

Link copied to clipboard
external var tile: Cesium3DTile

Gets the current tile of the view model

Link copied to clipboard

Gets or sets the flag to show the tile info section. This property is observable.

Link copied to clipboard
external var tileset: Cesium3DTileset

Gets or sets the tileset of the view model.

Link copied to clipboard
external var tilesetVisible: Boolean

Gets or sets the flag to show the tileset section. This property is observable.

Link copied to clipboard
external var updateVisible: Boolean

Gets or sets the flag to show the update section. This property is observable.

Link copied to clipboard
external var wireframe: Boolean

Gets or sets the flag to draw with wireframe. This property is observable.

Functions

Link copied to clipboard
external fun compileStyle()

Compiles the style in the style editor.

Link copied to clipboard
external fun destroy()

Destroys the widget. Should be called if permanently removing the widget from layout.

Link copied to clipboard
external fun isDestroyed(): Boolean
Link copied to clipboard
external fun styleEditorKeyPress()

Handles key press events on the style editor.

Link copied to clipboard
external fun toggleDisplay()

Toggles the visibility of the display section

Link copied to clipboard
external fun toggleInspector()

Toggles the inspector visibility

Link copied to clipboard
external fun toggleLogging()

Toggles the visibility of the logging section

Link copied to clipboard
external fun toggleOptimization()

Toggles the visibility of the optimization section

Link copied to clipboard
external fun togglePickTileset()

Toggles the pick tileset mode

Link copied to clipboard
external fun toggleStyle()

Toggles the visibility of the style section

Link copied to clipboard
external fun toggleTileDebugLabels()

Toggles the visibility of the tile Debug Info section

Link copied to clipboard
external fun toggleTileset()

Toggles the visibility of the tileset section

Link copied to clipboard
external fun toggleUpdate()

Toggles the visibility of the update section

Link copied to clipboard
external fun trimTilesCache()

Trims tile cache