Appearance
KBE3D / KBCore / Cesium / Cesium3DTilesInspectorViewModel
类: Cesium3DTilesInspectorViewModel
The view model for Cesium3DTilesInspector.
参数
The scene instance to use.
参数
The container for the performance display
属性
performance
performance:
boolean
Gets or sets the flag to enable performance display. This property is observable.
showStatistics
showStatistics:
boolean
Gets or sets the flag to show statistics. This property is observable.
showPickStatistics
showPickStatistics:
boolean
Gets or sets the flag to show pick statistics. This property is observable.
showResourceCacheStatistics
showResourceCacheStatistics:
boolean
Gets or sets the flag to show resource cache statistics. This property is observable.
inspectorVisible
inspectorVisible:
boolean
Gets or sets the flag to show the inspector. This property is observable.
tilesetVisible
tilesetVisible:
boolean
Gets or sets the flag to show the tileset section. This property is observable.
displayVisible
displayVisible:
boolean
Gets or sets the flag to show the display section. This property is observable.
updateVisible
updateVisible:
boolean
Gets or sets the flag to show the update section. This property is observable.
loggingVisible
loggingVisible:
boolean
Gets or sets the flag to show the logging section. This property is observable.
styleVisible
styleVisible:
boolean
Gets or sets the flag to show the style section. This property is observable.
tileDebugLabelsVisible
tileDebugLabelsVisible:
boolean
Gets or sets the flag to show the tile info section. This property is observable.
optimizationVisible
optimizationVisible:
boolean
Gets or sets the flag to show the optimization info section. This property is observable.
styleString
styleString:
string
Gets or sets the JSON for the tileset style. This property is observable.
hasEnabledWireframe
hasEnabledWireframe:
boolean
Gets or sets the JSON for the tileset enableDebugWireframe attribute. This property is observable.
properties
readonlyproperties:string[]
Gets the names of the properties in the tileset. This property is observable.
dynamicScreenSpaceError
dynamicScreenSpaceError:
boolean
Gets or sets the flag to enable dynamic screen space error. This property is observable.
colorBlendMode
colorBlendMode:
Cesium3DTileColorBlendMode
Gets or sets the color blend mode. This property is observable.
picking
picking:
boolean
Gets or sets the flag to enable picking. This property is observable.
colorize
colorize:
boolean
Gets or sets the flag to colorize tiles. This property is observable.
wireframe
wireframe:
boolean
Gets or sets the flag to draw with wireframe. This property is observable.
showBoundingVolumes
showBoundingVolumes:
boolean
Gets or sets the flag to show bounding volumes. This property is observable.
showContentBoundingVolumes
showContentBoundingVolumes:
boolean
Gets or sets the flag to show content volumes. This property is observable.
showRequestVolumes
showRequestVolumes:
boolean
Gets or sets the flag to show request volumes. This property is observable.
freezeFrame
freezeFrame:
boolean
Gets or sets the flag to suspend updates. This property is observable.
showOnlyPickedTileDebugLabel
showOnlyPickedTileDebugLabel:
boolean
Gets or sets the flag to show debug labels only for the currently picked tile. This property is observable.
showGeometricError
showGeometricError:
boolean
Gets or sets the flag to show tile geometric error. This property is observable.
showRenderingStatistics
showRenderingStatistics:
boolean
Displays the number of commands, points, triangles and features used per tile. This property is observable.
showMemoryUsage
showMemoryUsage:
boolean
Displays the memory used per tile. This property is observable.
showUrl
showUrl:
boolean
Gets or sets the flag to show the tile url. This property is observable.
maximumScreenSpaceError
maximumScreenSpaceError:
number
Gets or sets the maximum screen space error. This property is observable.
dynamicScreenSpaceErrorDensity
dynamicScreenSpaceErrorDensity:
number
Gets or sets the dynamic screen space error density. This property is observable.
dynamicScreenSpaceErrorDensitySliderValue
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.
dynamicScreenSpaceErrorFactor
dynamicScreenSpaceErrorFactor:
number
Gets or sets the dynamic screen space error factor. This property is observable.
pointCloudShading
pointCloudShading:
boolean
Gets or sets the flag to enable point cloud shading. This property is observable.
geometricErrorScale
geometricErrorScale:
number
Gets or sets the geometric error scale. This property is observable.
maximumAttenuation
maximumAttenuation:
number
Gets or sets the maximum attenuation. This property is observable.
baseResolution
baseResolution:
number
Gets or sets the base resolution. This property is observable.
eyeDomeLighting
eyeDomeLighting:
boolean
Gets or sets the flag to enable eye dome lighting. This property is observable.
eyeDomeLightingStrength
eyeDomeLightingStrength:
number
Gets or sets the eye dome lighting strength. This property is observable.
eyeDomeLightingRadius
eyeDomeLightingRadius:
number
Gets or sets the eye dome lighting radius. This property is observable.
pickActive
pickActive:
boolean
Gets or sets the pick state
skipLevelOfDetail
skipLevelOfDetail:
boolean
Gets or sets the flag to determine if level of detail skipping should be applied during the traversal. This property is observable.
skipScreenSpaceErrorFactor
skipScreenSpaceErrorFactor:
number
Gets or sets the multiplier defining the minimum screen space error to skip. This property is observable.
baseScreenSpaceError
baseScreenSpaceError:
number
Gets or sets the screen space error that must be reached before skipping levels of detail. This property is observable.
skipLevels
skipLevels:
number
Gets or sets the constant defining the minimum number of levels to skip when loading tiles. This property is observable.
immediatelyLoadDesiredLevelOfDetail
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.
loadSiblings
loadSiblings:
boolean
Gets or sets the flag which determines whether siblings of visible tiles are always downloaded during traversal. This property is observable
scene
readonlyscene:Scene
Gets the scene
performanceContainer
readonlyperformanceContainer:HTMLElement
Gets the performance container
statisticsText
readonlystatisticsText:string
Gets the statistics text. This property is observable.
pickStatisticsText
readonlypickStatisticsText:string
Gets the pick statistics text. This property is observable.
resourceCacheStatisticsText
readonlyresourceCacheStatisticsText:string
Gets the resource cache statistics text. This property is observable.
colorBlendModes
readonlycolorBlendModes:object[]
Gets the available blend modes
editorError
readonlyeditorError:string
Gets the editor error message
tileset
tileset:
Cesium3DTileset
Gets or sets the tileset of the view model.
feature
feature:
Cesium3DTileFeature
Gets the current feature of the view model.
tile
tile:
Cesium3DTile
Gets the current tile of the view model
方法
getStatistics()
staticgetStatistics(tileset:Cesium3DTileset,isPick:boolean):string
Generates an HTML string of the statistics
参数
tileset
The tileset
isPick
boolean
Whether this is getting the statistics for the pick pass
返回
string
The formatted statistics
togglePickTileset()
togglePickTileset():
void
Toggles the pick tileset mode
返回
void
toggleInspector()
toggleInspector():
void
Toggles the inspector visibility
返回
void
toggleTileset()
toggleTileset():
void
Toggles the visibility of the tileset section
返回
void
toggleDisplay()
toggleDisplay():
void
Toggles the visibility of the display section
返回
void
toggleUpdate()
toggleUpdate():
void
Toggles the visibility of the update section
返回
void
toggleLogging()
toggleLogging():
void
Toggles the visibility of the logging section
返回
void
toggleStyle()
toggleStyle():
void
Toggles the visibility of the style section
返回
void
toggleTileDebugLabels()
toggleTileDebugLabels():
void
Toggles the visibility of the tile Debug Info section
返回
void
toggleOptimization()
toggleOptimization():
void
Toggles the visibility of the optimization section
返回
void
trimTilesCache()
trimTilesCache():
void
Trims tile cache
返回
void
compileStyle()
compileStyle():
void
Compiles the style in the style editor.
返回
void
styleEditorKeyPress()
styleEditorKeyPress():
void
Handles key press events on the style editor.
返回
void
isDestroyed()
isDestroyed():
boolean
返回
boolean
true if the object has been destroyed, false otherwise.
destroy()
destroy():
void
Destroys the widget. Should be called if permanently removing the widget from layout.
返回
void
构造函数
构造函数
new Cesium3DTilesInspectorViewModel(
scene:Scene,performanceContainer:HTMLElement):Cesium3DTilesInspectorViewModel
参数
scene
performanceContainer
HTMLElement
返回
Cesium3DTilesInspectorViewModel
